瀏覽代碼

入库和作业费修改

wengyuwen 4 年之前
父節點
當前提交
a5813681fe
共有 2 個文件被更改,包括 7 次插入6 次删除
  1. 6 4
      src/views/agreement/agreementTask/index.vue
  2. 1 2
      src/views/warehouseBusiness/inStock/index.vue

+ 6 - 4
src/views/agreement/agreementTask/index.vue

@@ -289,8 +289,8 @@
         </el-form-item>
         <el-form-item label="作业费类型" prop="fTaskType" label-width="90px">
           <el-select v-model="form.fTaskType" placeholder="请选择作业费类型" :disabled="browseStatus">
-            <el-option label="车队作业费" value="1"></el-option>
-            <el-option label="劳务作业费" value="2"></el-option>
+            <el-option label="车队作业费" value="1"/>
+            <el-option label="劳务作业费" value="2"/>
           </el-select>
         </el-form-item>
         <el-form-item label="费用类型" prop="fDc">
@@ -934,8 +934,10 @@ export default {
       this.reset()
       this.open = true
       this.title = '添加作业费'
-      this.form.fTaskType = '1'
-      this.form.fDc = "D"
+      this.form = {
+        fTaskType :'1',
+        fDc:"D"
+      }
       queryUserVal().then((response) => {
         this.deptName = response.dept.deptName
         this.form.fDeptid = response.dept.deptId

+ 1 - 2
src/views/warehouseBusiness/inStock/index.vue

@@ -4410,7 +4410,6 @@ export default {
         console.log(this.businessTypeOption)
         console.log(this.warehouseDrList)
         for (let dr in this.warehouseDrList) {
-          this.$forceUpdate()
           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));
@@ -4420,7 +4419,7 @@ export default {
           this.$set(this.warehouseCrList[cr], "fFeeUnitid", this.warehouseCrList[cr].fFeeunitid + "");
         }
         this.userOptions = response.data.sysUser;
-        this.warehouseDrList[0].fBusinessType = this.form.fBusinessType
+        // this.warehouseDrList[0].fBusinessType = this.form.fBusinessType
         this.open = true;
         this.title = "修改仓入库";
         this.warehousesssMethod()