空管入库
This commit is contained in:
@@ -61,13 +61,17 @@
|
||||
},
|
||||
created () {
|
||||
this._queryProductArea()
|
||||
this._queryDeviceList()
|
||||
this._queryDeviceList('')
|
||||
this._queryPaperMaterial('')
|
||||
},
|
||||
methods: {
|
||||
/** 选择器1 */
|
||||
selectChange1(e) {
|
||||
this.index1 = e
|
||||
if (e) {
|
||||
this._queryDeviceList(e)
|
||||
this.index2 = ''
|
||||
}
|
||||
},
|
||||
/** 选择器2 */
|
||||
selectChange2(e) {
|
||||
@@ -104,8 +108,8 @@
|
||||
this.options1 = [...res.data]
|
||||
},
|
||||
/** 查询设备下拉框 */
|
||||
async _queryDeviceList () {
|
||||
let res = await queryDeviceList()
|
||||
async _queryDeviceList (area) {
|
||||
let res = await queryDeviceList(area)
|
||||
this.options2 = [...res.rows]
|
||||
},
|
||||
/**查询物料下拉框*/
|
||||
@@ -162,6 +166,9 @@
|
||||
this.index2 = ''
|
||||
this.index3 = ''
|
||||
this.qty = ''
|
||||
this._queryDeviceList('')
|
||||
this._queryPaperMaterial('')
|
||||
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user