This commit is contained in:
2025-12-16 10:41:12 +08:00
parent d25115e849
commit a90cfcb9f3

View File

@@ -165,9 +165,16 @@
}))
this.pType = 1
} else {
this.tPallet = res.vehicle_code
this.tPalletData = [...res.materials]
this.pType = 0
if (res.vehicle_code !== this.val1) {
this.tPallet = res.vehicle_code
this.tPalletData = [...res.materials]
this.pType = 0
} else {
uni.showToast({
title: '原始托盘跟目标托盘不能一致',
icon: 'none'
})
}
}
} catch (e) {
if (this.pType === 0) {
@@ -178,6 +185,7 @@
this.tPalletData = []
}
}
this.val1 = ''
},
toggleSelect(index) {
this.$set(this.oPalletData, index, {