空管出入库
This commit is contained in:
@@ -60,6 +60,7 @@
|
||||
created () {
|
||||
this._queryProductArea()
|
||||
this._queryDeviceList()
|
||||
this._queryPaperMaterial('')
|
||||
},
|
||||
methods: {
|
||||
/** 选择器1 */
|
||||
@@ -86,8 +87,13 @@
|
||||
},
|
||||
/**查询物料下拉框*/
|
||||
async _queryPaperMaterial (code) {
|
||||
let res = await queryDeviceList(code)
|
||||
let res = await queryPaperMaterial(code)
|
||||
this.options3 = [...res.rows]
|
||||
res.rows.map(el => {
|
||||
if (el.value === code) {
|
||||
this.index3 = res.material_code
|
||||
}
|
||||
})
|
||||
},
|
||||
/** 查询物料、数量 */
|
||||
async _taskQuerydevice () {
|
||||
@@ -99,7 +105,6 @@
|
||||
return
|
||||
}
|
||||
let res = await taskQuerydevice([{device_code: this.index2}])
|
||||
// this.index3 = res.material_code
|
||||
this.qty = res.qty
|
||||
this._queryPaperMaterial(res.material_code)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user