rev:出入库表结构更改

This commit is contained in:
2024-01-15 19:55:39 +08:00
parent 9382c6ffe2
commit 6204f3a465
18 changed files with 119 additions and 121 deletions

View File

@@ -72,7 +72,7 @@
disabled
>
<el-option
v-for="item in dict.IO_BILL_STATUS"
v-for="item in dict.io_bill_status"
:key="item.id"
:label="item.label"
:value="item.value"
@@ -189,7 +189,7 @@ export default {
name: 'AddDialog',
components: { AddDtl },
mixins: [crud(), form(defaultForm)],
dicts: ['IO_BILL_STATUS', 'ST_INV_IN_TYPE'],
dicts: ['io_bill_status', 'ST_INV_IN_TYPE'],
props: {
dialogShow: {
type: Boolean,

View File

@@ -54,7 +54,7 @@
:disabled="true"
>
<el-option
v-for="item in dict.IO_BILL_STATUS"
v-for="item in dict.io_bill_status"
:key="item.value"
:label="item.label"
:value="item.value"
@@ -189,7 +189,7 @@ export default {
name: 'DivDialog',
components: { },
mixins: [crud()],
dicts: ['IO_BILL_STATUS'],
dicts: ['io_bill_status'],
props: {
dialogShow: {
type: Boolean,

View File

@@ -125,7 +125,7 @@ export default {
name: 'TaskDialog',
components: {},
mixins: [crud()],
dicts: ['IO_BILL_STATUS', 'TASK_STATUS'],
dicts: ['io_bill_status', 'task_status'],
props: {
dialogShow: {
type: Boolean,
@@ -226,7 +226,7 @@ export default {
checkedChange(val) {
},
statusFormat(row, column) {
return this.dict.label.TASK_STATUS[row.work_status]
return this.dict.label.task_status[row.work_status]
},
clcikDisRow(row, column, event) {
this.dis_row = row

View File

@@ -58,7 +58,7 @@
disabled
>
<el-option
v-for="item in dict.IO_BILL_STATUS"
v-for="item in dict.io_bill_status"
:key="item.id"
:label="item.label"
:value="item.value"
@@ -159,7 +159,7 @@ export default {
name: 'ViewDialog',
components: { },
mixins: [crud()],
dicts: ['IO_BILL_STATUS', 'WORK_STATUS', 'TASK_STATUS', 'ST_INV_IN_TYPE'],
dicts: ['io_bill_status', 'work_status', 'task_status', 'ST_INV_IN_TYPE'],
props: {
dialogShow: {
type: Boolean,
@@ -214,13 +214,13 @@ export default {
this.$emit('TaskChanged')
},
bill_statusFormat(row) {
return this.dict.label.IO_BILL_STATUS[row.bill_status]
return this.dict.label.io_bill_status[row.bill_status]
},
task_statusFormat(row) {
return this.dict.label.TASK_STATUS[row.TASK_STATUS]
return this.dict.label.task_status[row.task_status]
},
work_statusFormat(row) {
return this.dict.label.WORK_STATUS[row.WORK_STATUS]
return this.dict.label.work_status[row.work_status]
},
handleDtlCurrentChange(current) {
if (current !== null) {

View File

@@ -77,7 +77,7 @@
@change="crud.toQuery"
>
<el-option
v-for="item in dict.IO_BILL_STATUS"
v-for="item in dict.io_bill_status"
:key="item.value"
:label="item.label"
:value="item.value"
@@ -249,7 +249,7 @@ export default {
},
mixins: [presenter(), header(), crud()],
// 数据字典
dicts: ['IO_BILL_STATUS', 'ST_CREATE_MODE', 'ST_INV_IN_TYPE'],
dicts: ['io_bill_status', 'ST_CREATE_MODE', 'ST_INV_IN_TYPE'],
data() {
return {
height: document.documentElement.clientHeight - 180 + 'px;',
@@ -330,7 +330,7 @@ export default {
})
},
stateFormat(row, column) {
return this.dict.label.IO_BILL_STATUS[row.bill_status]
return this.dict.label.io_bill_status[row.bill_status]
},
create_modeFormat(row, column) {
return this.dict.label.ST_CREATE_MODE[row.create_mode]

View File

@@ -73,7 +73,7 @@
disabled
>
<el-option
v-for="item in dict.IO_BILL_STATUS"
v-for="item in dict.io_bill_status"
:key="item.id"
:label="item.label"
:value="item.value"
@@ -208,7 +208,7 @@ export default {
default: false
}
},
dicts: ['IO_BILL_STATUS', 'ST_INV_OUT_TYPE'],
dicts: ['io_bill_status', 'ST_INV_OUT_TYPE'],
data() {
return {
dialogVisible: false,

View File

@@ -226,7 +226,7 @@
:disabled="true"
>
<el-option
v-for="item in dict.WORK_STATUS"
v-for="item in dict.work_status"
:key="item.value"
:label="item.label"
:value="item.value"
@@ -265,7 +265,7 @@ export default {
name: 'DivDialog',
components: { StructIvt },
mixins: [crud()],
dicts: ['IO_BILL_STATUS', 'WORK_STATUS'],
dicts: ['io_bill_status', 'work_status'],
props: {
dialogShow: {
type: Boolean,
@@ -349,7 +349,7 @@ export default {
this.$emit('update:dialogShow', false)
},
bill_statusFormat(row, column) {
return this.dict.label.IO_BILL_STATUS[row.bill_status]
return this.dict.label.io_bill_status[row.bill_status]
},
invtypeFormat(row, column) {
for (const item of this.invtypelist) {

View File

@@ -125,7 +125,7 @@ export default {
name: 'TaskDialog',
components: { },
mixins: [crud()],
dicts: ['TASK_STATUS', 'IO_BILL_STATUS'],
dicts: ['task_status', 'io_bill_status'],
props: {
dialogShow: {
type: Boolean,
@@ -185,10 +185,10 @@ export default {
this.$emit('TaskChanged')
},
bill_statusFormat(row) {
return this.dict.label.IO_BILL_STATUS[row.bill_status]
return this.dict.label.io_bill_status[row.bill_status]
},
task_statusFormat(row) {
return this.dict.label.TASK_STATUS[row.task_status]
return this.dict.label.task_status[row.task_status]
},
tabledisabled(row) {
if (row.task_status === '01' && row.is_issued === '0') {

View File

@@ -59,7 +59,7 @@
disabled
>
<el-option
v-for="item in dict.IO_BILL_STATUS"
v-for="item in dict.io_bill_status"
:key="item.id"
:label="item.label"
:value="item.value"
@@ -180,7 +180,7 @@ export default {
name: 'ViewDialog',
components: { },
mixins: [crud()],
dicts: ['IO_BILL_STATUS', 'WORK_STATUS', 'TASK_STATUS', 'ST_INV_OUT_TYPE'],
dicts: ['io_bill_status', 'work_status', 'task_status', 'ST_INV_OUT_TYPE'],
props: {
dialogShow: {
type: Boolean,
@@ -228,13 +228,13 @@ export default {
this.$emit('AddChanged')
},
bill_statusFormat(row) {
return this.dict.label.IO_BILL_STATUS[row.bill_status]
return this.dict.label.io_bill_status[row.bill_status]
},
task_statusFormat(row) {
return this.dict.label.TASK_STATUS[row.task_status]
return this.dict.label.task_status[row.task_status]
},
work_statusFormat(row) {
return this.dict.label.WORK_STATUS[row.work_status]
return this.dict.label.work_status[row.work_status]
},
handleDtlCurrentChange(current) {
if (current !== null) {

View File

@@ -48,7 +48,7 @@
@change="crud.toQuery"
>
<el-option
v-for="item in dict.IO_BILL_STATUS"
v-for="item in dict.io_bill_status"
:key="item.value"
:label="item.label"
:value="item.value"
@@ -299,7 +299,7 @@ export default {
},
mixins: [presenter(), header(), crud()],
// 数据字典
dicts: ['IO_BILL_STATUS', 'ST_CREATE_MODE', 'ST_INV_OUT_TYPE', 'TrueOrFalse'],
dicts: ['io_bill_status', 'ST_CREATE_MODE', 'ST_INV_OUT_TYPE', 'TrueOrFalse'],
data() {
return {
height: document.documentElement.clientHeight - 180 + 'px;',
@@ -391,7 +391,7 @@ export default {
}
},
stateFormat(row) {
return this.dict.label.IO_BILL_STATUS[row.bill_status]
return this.dict.label.io_bill_status[row.bill_status]
},
bill_typeFormat(row) {
return this.dict.label.ST_INV_OUT_TYPE[row.bill_type]