caojunjie 4 年之前
父節點
當前提交
d89bb5611e
共有 1 個文件被更改,包括 18 次插入8 次删除
  1. 18 8
      src/views/finance/contrast/index.vue

+ 18 - 8
src/views/finance/contrast/index.vue

@@ -504,18 +504,13 @@
           <el-form-item label="仓储业务" prop="fFeeid">
             <el-select
               v-model="TWareHouseFees.fBilltype"
-              filterable
-              :disabled="browseStatus"
-              remote
               size="small"
               style="width:200px"
-              :remote-method="fWRemoteMethod"
+              @change="changefBilltype"
               placeholder="请选择仓储业务"
-              multiple
             >
               <el-option label="入库" value="SJRK"></el-option>
-              <el-option label="实际出库" value="SJCK"></el-option>
-              <el-option label="调拨" value="CKDB"></el-option>
+              <el-option label="出库" value="SJCK"></el-option>
               <el-option label="货权转移" value="HQZY"></el-option>
             </el-select>
           </el-form-item>
@@ -539,7 +534,6 @@
               </el-option>
             </el-select>
           </el-form-item>
-
           <el-form-item label="审核日期" prop="timeExamine">
             <el-date-picker
               style="width: 240px"
@@ -1405,6 +1399,22 @@ export default {
       this.getList();
       // this.searchFee()
     },
+    changefBilltype(){
+      this.businessTypeOption = []
+      if (this.TWareHouseFees.fBilltype == 'SJRK'){
+        this.getDicts("st_in_type").then((response) => {
+          this.businessTypeOption = response.data;
+        });
+      }else if (this.TWareHouseFees.fBilltype == 'SJCK'){
+        this.getDicts("st_out_type").then((response) => {
+          this.businessTypeOption = response.data;
+        });
+      }else if(this.TWareHouseFees.fBilltype == 'HQZY'){
+        this.getDicts("st_trans_type").then((response) => {
+          this.businessTypeOption = response.data;
+        });
+      }
+    },
     /** 重置按钮操作 */
     resetQuery() {
       // this.resetForm("queryParams_s");