Commit 3fe246a9 authored by dragondean@qq.com's avatar dragondean@qq.com

修复拆单修改箱数重量后提示数量对不上的异常

parent f5e424b6
...@@ -426,7 +426,7 @@ export default { ...@@ -426,7 +426,7 @@ export default {
} }
splitItemUpdate(row).then(() => { splitItemUpdate(row).then(() => {
this.$message.success(this.$t('修改成功')) this.$message.success(this.$t('修改成功'))
}).catch(() => { }).finally(() => {
this.getList() this.getList()
}) })
}, },
...@@ -537,6 +537,8 @@ export default { ...@@ -537,6 +537,8 @@ export default {
}) })
// 2. 遍历商品项 对比数据是否符合 // 2. 遍历商品项 对比数据是否符合
let prods = [] // 数据不符合要求的商品 let prods = [] // 数据不符合要求的商品
// 挂在到window测试
window.orderData = this.orderData
this.orderData.orderItemVOList.forEach(item => { this.orderData.orderItemVOList.forEach(item => {
if(!item.splitSum){ if(!item.splitSum){
prods.push(this.$l(item, 'prodTitle')) prods.push(this.$l(item, 'prodTitle'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment