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