下拉框
This commit is contained in:
@@ -65,12 +65,20 @@ export default {
|
||||
// 设备下拉框
|
||||
async _devicelist () {
|
||||
let res = await devicelist('1535144682756116480')
|
||||
this.options2 = [...res.data]
|
||||
if (res.code === 200) {
|
||||
this.options2 = [...res.content]
|
||||
} else {
|
||||
this.toast(res.msg)
|
||||
}
|
||||
},
|
||||
// 车间下拉框
|
||||
async _dictDetailByCode () {
|
||||
let res = await dictDetailByCode('product_area')
|
||||
this.options1 = [...res.data]
|
||||
if (res.code === 200) {
|
||||
this.options1 = [...res.content]
|
||||
} else {
|
||||
this.toast(res.msg)
|
||||
}
|
||||
},
|
||||
// 余料上料
|
||||
async toSure () {
|
||||
|
||||
@@ -65,12 +65,20 @@ export default {
|
||||
// 设备下拉框
|
||||
async _devicelist () {
|
||||
let res = await devicelist('1535144682756116480')
|
||||
this.options2 = [...res.data]
|
||||
if (res.code === 200) {
|
||||
this.options2 = [...res.content]
|
||||
} else {
|
||||
this.toast(res.msg)
|
||||
}
|
||||
},
|
||||
// 车间下拉框
|
||||
async _dictDetailByCode () {
|
||||
let res = await dictDetailByCode('product_area')
|
||||
this.options1 = [...res.data]
|
||||
if (res.code === 200) {
|
||||
this.options1 = [...res.content]
|
||||
} else {
|
||||
this.toast(res.msg)
|
||||
}
|
||||
},
|
||||
// 空框搬回
|
||||
async toSure () {
|
||||
|
||||
Reference in New Issue
Block a user