Browse Source

完货传weight

zxz 3 năm trước cách đây
mục cha
commit
a315736def

+ 4 - 3
src/views/tranManagement/tranManagementFireReceivingFeedback.vue

@@ -603,6 +603,7 @@ export default {
             if (valid) {
             if (valid) {
               var tranProcessInfo = {}
               var tranProcessInfo = {}
               tranProcessInfo.id = this.deptBudgetList.id
               tranProcessInfo.id = this.deptBudgetList.id
+              tranProcessInfo.weight = this.total
               stateRec(tranProcessInfo)
               stateRec(tranProcessInfo)
                 .toPromise()
                 .toPromise()
                 .then((response) => {
                 .then((response) => {
@@ -741,9 +742,9 @@ export default {
               this.freightspace[i].loadNetWeight = 0
               this.freightspace[i].loadNetWeight = 0
             }
             }
             if (this.freightspace[i].unloadPoundImg) {
             if (this.freightspace[i].unloadPoundImg) {
-                this.freightspace[i].imgCount = this.freightspace[i].unloadPoundImg.split(",").length
+                this.freightspace[i].imgCount = this.freightspace[i].unloadPoundImg.split(',').length
               } else {
               } else {
-                this.freightspace[i].unloadPoundImg = ""
+                this.freightspace[i].unloadPoundImg = ''
                 this.freightspace[i].imgCount = 0
                 this.freightspace[i].imgCount = 0
               }
               }
           }
           }
@@ -755,7 +756,7 @@ export default {
         that.$forceUpdate();
         that.$forceUpdate();
         that.freightspace[that.index].imgCount++
         that.freightspace[that.index].imgCount++
         console.log(that.freightspace[that.index].imgCount)
         console.log(that.freightspace[that.index].imgCount)
-        that.freightspace[that.index].unloadPoundImg += e.url + ","
+        that.freightspace[that.index].unloadPoundImg += e.url + ','
     },
     },
   },
   },
 }
 }

+ 1 - 0
src/views/tranManagement/tranManagementReceivingloading.vue

@@ -665,6 +665,7 @@ export default {
             if (valid) {
             if (valid) {
               var tranProcessInfo = {}
               var tranProcessInfo = {}
               tranProcessInfo.id = this.deptBudgetList.id
               tranProcessInfo.id = this.deptBudgetList.id
+              tranProcessInfo.weight = this.total
               stateRec(tranProcessInfo)
               stateRec(tranProcessInfo)
                 .toPromise()
                 .toPromise()
                 .then((response) => {
                 .then((response) => {

+ 1 - 0
src/views/tranManagement/tranManagementUnShippingFeedback.vue

@@ -669,6 +669,7 @@ export default {
             if (valid) {
             if (valid) {
               var tranProcessInfo = {}
               var tranProcessInfo = {}
               tranProcessInfo.id = this.deptBudgetList.id
               tranProcessInfo.id = this.deptBudgetList.id
+              tranProcessInfo.weight = this.total
               stateRec(tranProcessInfo)
               stateRec(tranProcessInfo)
                 .toPromise()
                 .toPromise()
                 .then((response) => {
                 .then((response) => {