修改
This commit is contained in:
@@ -155,18 +155,24 @@
|
|||||||
try {
|
try {
|
||||||
let current = await getSD01GroupLog(v1, v2)
|
let current = await getSD01GroupLog(v1, v2)
|
||||||
if (current && current?.material) {
|
if (current && current?.material) {
|
||||||
uni.showModal({
|
if (current?.regionCode) {
|
||||||
title: '提示',
|
this.index = '1'
|
||||||
cancelText: '取消',
|
this.index2 = current.regionCode
|
||||||
confirmText: '确定',
|
}
|
||||||
content: '已发现近期从SD01出库的组盘信息,是否自动填充?',
|
if (current?.material) {
|
||||||
success: (res) => {
|
uni.showModal({
|
||||||
if (res.confirm) {
|
title: '提示',
|
||||||
this.dataList.push(...current.material)
|
cancelText: '取消',
|
||||||
this.flag = true
|
confirmText: '确定',
|
||||||
|
content: '已发现近期从SD01出库的组盘信息,是否自动填充?',
|
||||||
|
success: (res) => {
|
||||||
|
if (res.confirm) {
|
||||||
|
this.dataList = [...current.material]
|
||||||
|
this.flag = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
})
|
||||||
})
|
}
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ export const regionList = () => {
|
|||||||
export const getSD01GroupLog = () => {
|
export const getSD01GroupLog = () => {
|
||||||
let res = {
|
let res = {
|
||||||
"device_code": "SD01",
|
"device_code": "SD01",
|
||||||
"regionCode": null,
|
"regionCode": '6',
|
||||||
"region_Code": null,
|
"region_Code": null,
|
||||||
"vehicle_code": "VEH001",
|
"vehicle_code": "VEH001",
|
||||||
"material": [
|
"material": [
|
||||||
@@ -31,6 +31,12 @@ export const getSD01GroupLog = () => {
|
|||||||
}
|
}
|
||||||
return res
|
return res
|
||||||
}
|
}
|
||||||
|
export const handheldBlanking = (data) => {
|
||||||
|
let res = {
|
||||||
|
message: 'ok'
|
||||||
|
}
|
||||||
|
return res
|
||||||
|
}
|
||||||
|
|
||||||
export const fabOrders = (data) => {
|
export const fabOrders = (data) => {
|
||||||
let res = [
|
let res = [
|
||||||
|
|||||||
Reference in New Issue
Block a user