zhangyuewww 3 年之前
父节点
当前提交
59867a418f

+ 5 - 2
src/views/warehouse/warehouseManagementGross.vue

@@ -373,7 +373,7 @@
           </div>
           <div class="right" style="width: 33.3333%">
             <ws-info-table>
-              <ws-form-item label="成本" span="1" prop="cost">
+              <ws-form-item label="成本(元/吨)" span="1" prop="cost">
                 <ws-input
                   :disabled="disabled1"
                   v-model="deptBudgetList.cost"
@@ -395,7 +395,7 @@
                   alt=""
                 />
               </ws-form-item>
-              <ws-form-item label="运费" span="1" prop="freight">
+              <ws-form-item label="运费(元/吨)" span="1" prop="freight">
                 <ws-input
                   :disabled="disabled2"
                   v-model="deptBudgetList.freight"
@@ -1069,6 +1069,9 @@ export default {
             this.tranCarInfoList[i].tranPrice
           )
           if(this.deptBudgetList.inOutType=='移库入库'){
+            if(!this.deptBudgetList.cost){
+              this.deptBudgetList.cost=this.tranCarInfoList[i].cost
+            }
             this.deptBudgetList.loadNetWeight=this.tranCarInfoList[i].loadNetWeight
           }
         }

+ 8 - 2
src/views/warehouse/warehouseManagementNoWeightIn.vue

@@ -188,12 +188,12 @@
           </div>
           <div class="right" style='width:33.3333%;'>
             <ws-info-table>
-              <ws-form-item label="成本" span="1" prop="cost">
+              <ws-form-item label="成本(元/吨)" span="1" prop="cost">
                 <ws-input :disabled="disabled1" v-model="dataList.cost" placeholder="请输入成本" size="small" />
                 <img width="17" height="18" style="vertical-align: text-top; position: relative; top: -1px"
                   src="../../../public/img/edit.png" @click="editClick(1)" alt="" />
               </ws-form-item>
-              <ws-form-item label="运费" span="1" prop="freight">
+              <ws-form-item label="运费(元/吨)" span="1" prop="freight">
                 <ws-input :disabled="disabled2" v-model="dataList.freight" placeholder="请输入运费" size="small" />
                 <img width="17" height="18" style="vertical-align: text-top; position: relative; top: -1px"
                   src="../../../public/img/edit.png" @click="editClick(2)" alt="" />
@@ -654,6 +654,12 @@
             this.dataList.tranCarNo = this.tranCarInfoList[i].tranCarNo
             this.dataList.freight = this.tranCarInfoList[i].tranPrice
           }
+          if(this.dataList.inOutType=='移库入库'){
+            if(!this.dataList.cost){
+              this.dataList.cost=this.tranCarInfoList[i].cost
+            }
+            this.dataList.loadNetWeight=this.tranCarInfoList[i].loadNetWeight
+          }
         }
       },
       typeChange(e) {},

+ 8 - 3
src/views/warehouse/warehouseManagementPerfectput.vue

@@ -260,7 +260,7 @@
           <div class="right"  style='width:33.3333%;'>
             <ws-info-table>
 
-         <ws-form-item label="成本" span="1" prop="cost">
+         <ws-form-item label="成本(元/吨)" span="1" prop="cost">
                 <ws-input
                   :disabled="disabled1"
                   v-model="dataList.cost"
@@ -278,7 +278,7 @@
                   alt=""
                 />
               </ws-form-item>
-              <ws-form-item label="运费" span="1" prop="freight">
+              <ws-form-item label="运费(元/吨)" span="1" prop="freight">
                 <ws-input
                   :disabled="disabled2"
                   v-model="dataList.freight"
@@ -902,7 +902,12 @@ export default {
             this.dataList.tranCarNo=this.tranCarInfoList[i].tranCarNo
             this.dataList.freight=this.tranCarInfoList[i].tranPrice
           }
-          
+          if(this.dataList.inOutType=='移库入库'){
+            if(!this.dataList.cost){
+              this.dataList.cost=this.tranCarInfoList[i].cost
+            }
+            this.dataList.loadNetWeight=this.tranCarInfoList[i].loadNetWeight
+          }
         }
     },
     typeChange(e){

+ 8 - 2
src/views/warehouse/warehouseManagementPut.vue

@@ -308,7 +308,7 @@
           </div>
           <div class="right"  style='width:33.3333%;'>
             <ws-info-table>
-              <ws-form-item label="成本" span="1" prop="cost">
+              <ws-form-item label="成本(元/吨)" span="1" prop="cost">
                 <ws-input
                   :disabled="disabled1"
                   v-model="deptBudgetList.cost"
@@ -326,7 +326,7 @@
                   alt=""
                 />
               </ws-form-item>
-              <ws-form-item label="运费" span="1" prop="freight">
+              <ws-form-item label="运费(元/吨)" span="1" prop="freight">
                 <ws-input
                   :disabled="disabled2"
                   v-model="deptBudgetList.freight"
@@ -1010,6 +1010,12 @@ export default {
           this.deptBudgetList.tranCarNo=this.tranCarInfoList[i].tranCarNo
           this.deptBudgetList.freight = this.tranCarInfoList[i].tranPrice
         }
+        if(this.deptBudgetList.inOutType=='移库入库'){
+          if(!this.deptBudgetList.cost){
+            this.deptBudgetList.cost=this.tranCarInfoList[i].cost
+          }
+          this.deptBudgetList.loadNetWeight=this.tranCarInfoList[i].loadNetWeight
+        }
       }
     },
     dataFilter(val) {