wengyuwen 4 år sedan
förälder
incheckning
258de3d8c6
1 ändrade filer med 5 tillägg och 4 borttagningar
  1. 5 4
      src/views/warehouseBusiness/inStock/index.vue

+ 5 - 4
src/views/warehouseBusiness/inStock/index.vue

@@ -3826,7 +3826,7 @@ export default {
       this.warehouseDrList.push({
         fCorpid: null,
         fFeeid: null,
-        fFeeUnitid: null,
+        fFeeUnitid:'',
         fQty: null,
         fUnitprice: null,
         fAmount: null,
@@ -3839,14 +3839,14 @@ export default {
         fMblno:this.form.fMblno,
         fProductName:this.form.fProductName,
         fMarks:this.form.fMarks,
-        fBusinessType:this.$set(this.warehouseDrList,'fBusinessType',this.form.fBusinessType)
+        fBusinessType:this.form.fBusinessType
       });
     },
     addpayment() {
       this.warehouseCrList.push({
         fCorpid: null,
         fFeeid: null,
-        fFeeUnitid: null,
+        fFeeUnitid:'',
         fQty: null,
         fUnitprice: null,
         fAmount: null,
@@ -4392,10 +4392,11 @@ export default {
         this.kqhouseOptions = response.data.warehouseAreas;
         this.warehouseDrList = response.data.warehousebillsfeesDr;
         for (let dr in this.warehouseDrList) {
-          this.$set(this.warehouseDrList[dr], "fFeeUnitid", this.warehouseDrList[dr].fFeeunitid + "");
+          this.$set(this.warehouseDrList[dr], "fFeeUnitid", this.warehouseDrList[dr].fFeeunitid + '');
           this.$set(this.warehouseDrList[dr], "fQty", this.warehouseDrList[dr].fQty.toFixed(2));
           this.$set(this.warehouseDrList[dr], "fAmount", this.warehouseDrList[dr].fAmount.toFixed(2));
         }
+        console.log(JSON.stringify(this.warehouseDrList))
         this.warehouseCrList = response.data.warehousebillsfeesCr;
         for (let cr in this.warehouseCrList) {
           this.$set(this.warehouseCrList[cr], "fFeeUnitid", this.warehouseCrList[cr].fFeeunitid + "");