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

View File

@@ -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 = [