|
@@ -1410,7 +1410,22 @@
|
|
|
(this.$refs.inventoryTable &&
|
|
(this.$refs.inventoryTable &&
|
|
|
this.$refs.inventoryTable.getTableValue()) ||
|
|
this.$refs.inventoryTable.getTableValue()) ||
|
|
|
[];
|
|
[];
|
|
|
- let productList = [...tabList, ...rawDetailList, ...outputDetailList];
|
|
|
|
|
|
|
+ let productList = [...tabList, ...rawDetailList.map(item=>{
|
|
|
|
|
+ item.singlePrice=item.singlePrice||0
|
|
|
|
|
+ item.discountSinglePrice=item.discountSinglePrice||0
|
|
|
|
|
+ item.totalPrice=item.totalPrice||0
|
|
|
|
|
+ item.discountTotalPrice=item.discountTotalPrice||0
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ return item
|
|
|
|
|
+ }), ...outputDetailList.map(item=>{
|
|
|
|
|
+ item.singlePrice=item.singlePrice||0
|
|
|
|
|
+ item.discountSinglePrice=item.discountSinglePrice||0
|
|
|
|
|
+ item.discountTotalPrice=item.discountTotalPrice||0
|
|
|
|
|
+ item.totalPrice=item.totalPrice||0
|
|
|
|
|
+
|
|
|
|
|
+ return item
|
|
|
|
|
+ })];
|
|
|
productList.forEach((item) => {});
|
|
productList.forEach((item) => {});
|
|
|
let commitData = Object.assign({}, this.form, {
|
|
let commitData = Object.assign({}, this.form, {
|
|
|
productList,
|
|
productList,
|