zhangyuewww 2 years ago
parent
commit
fcf66418c3
1 changed files with 23 additions and 0 deletions
  1. 23 0
      src/views/tranManagement/tranManagementReceivingloading.vue

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

@@ -235,6 +235,28 @@
                   maxlength="20"
                   maxlength="20"
                   size="small"
                   size="small"
                 />
                 />
+              </ws-form-item>
+              <!--扣重(吨)-->
+              <ws-form-item
+                label="扣重(吨):"
+                span="1"
+                prop="deductionWeight"
+              >
+                <ws-input
+                  v-if="item.status == '已送达' || item.status == '未装车'"
+                  v-model="item.deductionWeight"
+                  placeholder="请输入扣重"
+                  maxlength="20"
+                  :disabled="readonly"
+                  size="small"
+                />
+                <ws-input
+                  v-else
+                  v-model="item.deductionWeight"
+                  placeholder="请输入扣重"
+                  maxlength="20"
+                  size="small"
+                />
               </ws-form-item>
               </ws-form-item>
                <!--装车日期-->
                <!--装车日期-->
               <ws-form-item
               <ws-form-item
@@ -650,6 +672,7 @@ export default {
               )
               )
               this.tranCarInfoList.unloadNetWeight =
               this.tranCarInfoList.unloadNetWeight =
                 this.deptBudgetList.unloadNetWeight
                 this.deptBudgetList.unloadNetWeight
+              this.tranCarInfoList.deductionWeight =this.deptBudgetList.deductionWeight
               for (var i = 0; i < this.tranCarInfoList.length; i++) {
               for (var i = 0; i < this.tranCarInfoList.length; i++) {
                 this.tranCarInfoList[i].id = this.freightspace[i].id
                 this.tranCarInfoList[i].id = this.freightspace[i].id
                 if (this.tranCarInfoList[i].temporaryDriverFlag != 0) {
                 if (this.tranCarInfoList[i].temporaryDriverFlag != 0) {