This commit is contained in:
2026-03-02 14:03:20 +08:00
parent 3503e76631
commit 61c6e3075c
2 changed files with 24 additions and 12 deletions

View File

@@ -155,6 +155,11 @@
try {
let current = await getSD01GroupLog(v1, v2)
if (current && current?.material) {
if (current?.regionCode) {
this.index = '1'
this.index2 = current.regionCode
}
if (current?.material) {
uni.showModal({
title: '提示',
cancelText: '取消',
@@ -162,12 +167,13 @@
content: '已发现近期从SD01出库的组盘信息是否自动填充',
success: (res) => {
if (res.confirm) {
this.dataList.push(...current.material)
this.dataList = [...current.material]
this.flag = true
}
}
})
}
}
} catch (e) {
console.log(e)
}

View File

@@ -17,7 +17,7 @@ export const regionList = () => {
export const getSD01GroupLog = () => {
let res = {
"device_code": "SD01",
"regionCode": null,
"regionCode": '6',
"region_Code": null,
"vehicle_code": "VEH001",
"material": [
@@ -31,6 +31,12 @@ export const getSD01GroupLog = () => {
}
return res
}
export const handheldBlanking = (data) => {
let res = {
message: 'ok'
}
return res
}
export const fabOrders = (data) => {
let res = [