倒料
This commit is contained in:
@@ -104,8 +104,12 @@ export default {
|
||||
}
|
||||
},
|
||||
created () {
|
||||
this._dictall()
|
||||
this._washdevicelist()
|
||||
if (this.options1 === []) {
|
||||
this._dictall()
|
||||
}
|
||||
if (this.options2 === []) {
|
||||
this._washdevicelist()
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 车间下拉框
|
||||
@@ -119,7 +123,7 @@ export default {
|
||||
},
|
||||
// 设备下拉框
|
||||
async _washdevicelist () {
|
||||
let res = await washdevicelist('1535144682756116480')
|
||||
let res = await washdevicelist('1535144552481034240')
|
||||
if (res.code === 200) {
|
||||
this.options2 = [...res.content]
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user