刻字工序

This commit is contained in:
2023-07-05 14:14:53 +08:00
parent 26e166e4a0
commit 4321874811
2 changed files with 20 additions and 4 deletions

View File

@@ -64,12 +64,20 @@ export default {
// 设备下拉框
async _letterDeviceList () {
let res = await letterDeviceList('1535144682756116480')
this.options2 = [...res.data]
if (res.code === 200) {
this.options2 = [...res.content]
} else {
this.toast(res.msg)
}
},
// 车间下拉框
async _pourDictList () {
let res = await pourDictList('product_area')
this.options1 = [...res.data]
if (res.code === 200) {
this.options1 = [...res.content]
} else {
this.toast(res.msg)
}
},
// 确认入库
async toSure () {

View File

@@ -63,12 +63,20 @@ export default {
// 设备下拉框
async _pourDeviceList () {
let res = await pourDeviceList()
this.options2 = [...res.data]
if (res.code === 200) {
this.options2 = [...res.content]
} else {
this.toast(res.msg)
}
},
// 车间下拉框
async _pourDictList () {
let res = await pourDictList('product_area')
this.options1 = [...res.data]
if (res.code === 200) {
this.options1 = [...res.content]
} else {
this.toast(res.msg)
}
},
// 确认入库
async toSure () {