chris 2 years ago
parent
commit
32794fd2c7
1 changed files with 1 additions and 13 deletions
  1. 1 13
      src/views/modules/warehouse/stock-order-outbound.vue

+ 1 - 13
src/views/modules/warehouse/stock-order-outbound.vue

@@ -158,23 +158,11 @@
             let postData = []
             let postData = []
             this.dataList.forEach((item) => {
             this.dataList.forEach((item) => {
               postData.push({
               postData.push({
-                amount: item.amount,
+                ...item,
                 applicant: this.dataForm.userId,
                 applicant: this.dataForm.userId,
-                approver: item.approver,
-                batchNumber: item.batchNumber,
-                cateId: item.cateId,
-                cnt: item.cnt,
-                materialId: item.materialId,
-                materialName: item.materialName,
-                materialTypeId: item.materialTypeId,
-                notes: item.notes,
                 orgId: this.$store.state.user.orgId,
                 orgId: this.$store.state.user.orgId,
-                price: item.price,
                 recordCode: this.dataForm.recordCode,
                 recordCode: this.dataForm.recordCode,
                 recordType: this.dataForm.recordType,
                 recordType: this.dataForm.recordType,
-                source: item.source,
-                specifications: item.specifications,
-                unitName: item.unitName,
                 creatorId: this.$store.state.user.id
                 creatorId: this.$store.state.user.id
               })
               })
             });
             });