Commit 2c8d2b61 authored by 何远江's avatar 何远江

bug 修改

parent 688ea8af
...@@ -123,7 +123,7 @@ export default { ...@@ -123,7 +123,7 @@ export default {
); );
} else { } else {
ele.ZSIZE = ""; ele.ZSIZE = "";
ele.ZINSNUM = ele.LFIMG; // ele.ZINSNUM = ele.LFIMG;
this.goodsList.push(ele); this.goodsList.push(ele);
this.$u.toast(`物料编号:${ele.MATNR}--没有尺码信息`); this.$u.toast(`物料编号:${ele.MATNR}--没有尺码信息`);
} }
...@@ -147,7 +147,7 @@ export default { ...@@ -147,7 +147,7 @@ export default {
} }
const flag = this.goodsList.every((ele) => { const flag = this.goodsList.every((ele) => {
return ( return (
ele.ZINSNUM == ele?.ZPLDT?.reduce((acc, cur) => acc + cur.PACMG, 0) ele.LFIMG == ele?.ZPLDT?.reduce((acc, cur) => acc + cur.PACMG, 0)
); );
}); });
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<view class="item">物料编号:{{ item.MATNR }}</view> <view class="item">物料编号:{{ item.MATNR }}</view>
<view class="item">物料描述:{{ item.MAKTX }}</view> <view class="item">物料描述:{{ item.MAKTX }}</view>
<view class="item">尺码:{{ item.ZSIZE }}</view> <view class="item">尺码:{{ item.ZSIZE }}</view>
<view class="item">数量:{{ handleNum() }}/{{ item.ZINSNUM }}</view> <view class="item">数量:{{ handleNum() }}/{{ item.LFIMG }}</view>
</view> </view>
<view class="right"> <view class="right">
<!-- <checkbox-group class="checkedBox"> <!-- <checkbox-group class="checkedBox">
......
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