ccjgmwz 3 jaren geleden
bovenliggende
commit
f39962f54f
1 gewijzigde bestanden met toevoegingen van 6 en 1 verwijderingen
  1. 6 1
      src/views/warehouse/warehouseManagementGross.vue

+ 6 - 1
src/views/warehouse/warehouseManagementGross.vue

@@ -232,7 +232,7 @@
                   " src="../../../public/img/edit.png" @click="editClick(1)" alt="" />
               </ws-form-item>
               <ws-form-item label="运费(元/吨)" span="1" prop="freight">
-                <ws-input :disabled="disabled2" v-model="deptBudgetList.freight" placeholder="请输入运费" size="small"
+                <ws-input  v-model="deptBudgetList.freight" placeholder="请输入运费" size="small"
                   type="number" @mousewheel.native.prevent />
                 <img width="17" height="18" style="
                     vertical-align: text-top;
@@ -528,6 +528,7 @@
           grossWeight: '',
           tare: '',
           inOutDate: '',
+          outType:'汽运'
         },
         historyList: [],
         cost: '',
@@ -2416,6 +2417,10 @@
           .toPromise()
           .then((response) => {
             this.options = response
+            if(this.options.length>0){
+              this.deptBudgetList.personChargeKey = this.options[0].staffId
+              this.deptBudgetList.agent = this.options[0].staffName
+            }
             this.qualityInspectorList = response
             this.staffList = response
             //  this.agent = response