修改
This commit is contained in:
@@ -96,10 +96,10 @@
|
||||
@change="crud.toQuery"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in billtypelist"
|
||||
:key="item.code"
|
||||
:label="item.name"
|
||||
:value="item.code"
|
||||
v-for="item in dict.ST_INV_IN_TYPE"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
@@ -241,7 +241,7 @@ export default {
|
||||
return CRUD({
|
||||
title: '',
|
||||
optShow: { add: true, reset: true },
|
||||
query: { buss_type: '0001' },
|
||||
query: { bill_type: '0001' },
|
||||
idField: 'iostorinv_id',
|
||||
url: '/api/in/rawAssist',
|
||||
crudMethod: { ...rawAssist }
|
||||
@@ -249,7 +249,7 @@ export default {
|
||||
},
|
||||
mixins: [presenter(), header(), crud()],
|
||||
// 数据字典
|
||||
dicts: ['io_bill_status', 'ST_CREATE_MODE'],
|
||||
dicts: ['io_bill_status', 'ST_CREATE_MODE','ST_INV_IN_TYPE'],
|
||||
data() {
|
||||
return {
|
||||
height: document.documentElement.clientHeight - 180 + 'px;',
|
||||
@@ -271,7 +271,6 @@ export default {
|
||||
bussConfig: null,
|
||||
currentRow: null,
|
||||
storlist: [],
|
||||
billtypelist: [],
|
||||
createtypelist: [],
|
||||
statuslist: []
|
||||
}
|
||||
@@ -291,9 +290,6 @@ export default {
|
||||
crudStorattr.getStor({ 'is_materialstore': '1' }).then(res => {
|
||||
this.storlist = res.content
|
||||
})
|
||||
crudRawAssist.getType({ 'io_code': '0001', 'io_flag': '00' }).then(res => {
|
||||
this.billtypelist = res
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
fun(val) {
|
||||
@@ -340,11 +336,7 @@ export default {
|
||||
}
|
||||
},
|
||||
bill_typeFormat(row, column) {
|
||||
for (const item of this.billtypelist) {
|
||||
if (item.code == row.bill_type) {
|
||||
return item.name
|
||||
}
|
||||
}
|
||||
return this.dict.label.ST_INV_IN_TYPE[row.bill_type]
|
||||
},
|
||||
toView(index, row) {
|
||||
this.mstrow = row
|
||||
|
||||
Reference in New Issue
Block a user