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