|  | @@ -25,12 +25,8 @@
 | 
											
												
													
														|  |                <el-select
 |  |                <el-select
 | 
											
												
													
														|  |                  v-model="queryParams.createBy"
 |  |                  v-model="queryParams.createBy"
 | 
											
												
													
														|  |                  filterable
 |  |                  filterable
 | 
											
												
													
														|  | -                remote
 |  | 
 | 
											
												
													
														|  |                  clearable
 |  |                  clearable
 | 
											
												
													
														|  | -                reserve-keyword
 |  | 
 | 
											
												
													
														|  |                  placeholder="请输入关键词"
 |  |                  placeholder="请输入关键词"
 | 
											
												
													
														|  | -                :remote-method="userremoteMethod"
 |  | 
 | 
											
												
													
														|  | -                :loading="selectloading"
 |  | 
 | 
											
												
													
														|  |                  style="width: 200px"
 |  |                  style="width: 200px"
 | 
											
												
													
														|  |                >
 |  |                >
 | 
											
												
													
														|  |                  <el-option
 |  |                  <el-option
 | 
											
										
											
												
													
														|  | @@ -67,11 +63,7 @@
 | 
											
												
													
														|  |                  v-model="queryParams.fCorpid"
 |  |                  v-model="queryParams.fCorpid"
 | 
											
												
													
														|  |                  clearable
 |  |                  clearable
 | 
											
												
													
														|  |                  filterable
 |  |                  filterable
 | 
											
												
													
														|  | -                remote
 |  | 
 | 
											
												
													
														|  | -                reserve-keyword
 |  | 
 | 
											
												
													
														|  |                  placeholder="请输入关键词"
 |  |                  placeholder="请输入关键词"
 | 
											
												
													
														|  | -                :remote-method="corpremoteMethod"
 |  | 
 | 
											
												
													
														|  | -                :loading="selectloading"
 |  | 
 | 
											
												
													
														|  |                  style="width: 200px"
 |  |                  style="width: 200px"
 | 
											
												
													
														|  |                >
 |  |                >
 | 
											
												
													
														|  |                  <el-option
 |  |                  <el-option
 | 
											
										
											
												
													
														|  | @@ -104,11 +96,7 @@
 | 
											
												
													
														|  |                      v-model="queryParams.fSbu"
 |  |                      v-model="queryParams.fSbu"
 | 
											
												
													
														|  |                      clearable
 |  |                      clearable
 | 
											
												
													
														|  |                      filterable
 |  |                      filterable
 | 
											
												
													
														|  | -                    remote
 |  | 
 | 
											
												
													
														|  | -                    reserve-keyword
 |  | 
 | 
											
												
													
														|  |                      placeholder="请输入关键词"
 |  |                      placeholder="请输入关键词"
 | 
											
												
													
														|  | -                    :remote-method="corpremoteMethod"
 |  | 
 | 
											
												
													
														|  | -                    :loading="selectloading"
 |  | 
 | 
											
												
													
														|  |                      style="width: 200px"
 |  |                      style="width: 200px"
 | 
											
												
													
														|  |                    >
 |  |                    >
 | 
											
												
													
														|  |                      <el-option
 |  |                      <el-option
 | 
											
										
											
												
													
														|  | @@ -227,9 +215,7 @@
 | 
											
												
													
														|  |              type="primary"
 |  |              type="primary"
 | 
											
												
													
														|  |              icon="el-icon-plus"
 |  |              icon="el-icon-plus"
 | 
											
												
													
														|  |              size="mini"
 |  |              size="mini"
 | 
											
												
													
														|  | -            @click="
 |  | 
 | 
											
												
													
														|  | -            handleAdd
 |  | 
 | 
											
												
													
														|  | -            "
 |  | 
 | 
											
												
													
														|  | 
 |  | +            @click="handleAdd"
 | 
											
												
													
														|  |              v-hasPermi="['warehouseBusiness:inStock:add']"
 |  |              v-hasPermi="['warehouseBusiness:inStock:add']"
 | 
											
												
													
														|  |              >新增
 |  |              >新增
 | 
											
												
													
														|  |            </el-button>
 |  |            </el-button>
 | 
											
										
											
												
													
														|  | @@ -318,7 +304,12 @@
 | 
											
												
													
														|  |            </div>
 |  |            </div>
 | 
											
												
													
														|  |          </div>
 |  |          </div>
 | 
											
												
													
														|  |        </el-row>
 |  |        </el-row>
 | 
											
												
													
														|  | -      <el-dialog title="自定义列显示" :visible.sync="showSetting" width="700px" v-dialogDrag>
 |  | 
 | 
											
												
													
														|  | 
 |  | +      <el-dialog
 | 
											
												
													
														|  | 
 |  | +        title="自定义列显示"
 | 
											
												
													
														|  | 
 |  | +        :visible.sync="showSetting"
 | 
											
												
													
														|  | 
 |  | +        width="700px"
 | 
											
												
													
														|  | 
 |  | +        v-dialogDrag
 | 
											
												
													
														|  | 
 |  | +      >
 | 
											
												
													
														|  |          <template slot="title">
 |  |          <template slot="title">
 | 
											
												
													
														|  |            <div class="avue-crud__dialog__header">
 |  |            <div class="avue-crud__dialog__header">
 | 
											
												
													
														|  |              <span class="el-dialog__title">
 |  |              <span class="el-dialog__title">
 | 
											
										
											
												
													
														|  | @@ -508,7 +499,7 @@ export default {
 | 
											
												
													
														|  |    name: "plans",
 |  |    name: "plans",
 | 
											
												
													
														|  |    data() {
 |  |    data() {
 | 
											
												
													
														|  |      return {
 |  |      return {
 | 
											
												
													
														|  | -      timer: '',
 |  | 
 | 
											
												
													
														|  | 
 |  | +      timer: "",
 | 
											
												
													
														|  |        pageShow: true,
 |  |        pageShow: true,
 | 
											
												
													
														|  |        pageShow2: false,
 |  |        pageShow2: false,
 | 
											
												
													
														|  |        queryParams: {
 |  |        queryParams: {
 | 
											
										
											
												
													
														|  | @@ -527,7 +518,6 @@ export default {
 | 
											
												
													
														|  |          fItemsStatus: null,
 |  |          fItemsStatus: null,
 | 
											
												
													
														|  |          timeInterval: null,
 |  |          timeInterval: null,
 | 
											
												
													
														|  |        },
 |  |        },
 | 
											
												
													
														|  | -      selectloading: false,
 |  | 
 | 
											
												
													
														|  |        // 显示搜索条件
 |  |        // 显示搜索条件
 | 
											
												
													
														|  |        showSearch: true,
 |  |        showSearch: true,
 | 
											
												
													
														|  |        userOptions: [],
 |  |        userOptions: [],
 | 
											
										
											
												
													
														|  | @@ -674,6 +664,7 @@ export default {
 | 
											
												
													
														|  |        single: true,
 |  |        single: true,
 | 
											
												
													
														|  |        multiple: true,
 |  |        multiple: true,
 | 
											
												
													
														|  |        formId: null,
 |  |        formId: null,
 | 
											
												
													
														|  | 
 |  | +      ids: [],
 | 
											
												
													
														|  |      };
 |  |      };
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  |    // 使用子组件
 |  |    // 使用子组件
 | 
											
										
											
												
													
														|  | @@ -690,6 +681,12 @@ export default {
 | 
											
												
													
														|  |      listWarehousesss({ fStatus: 0, delFlag: 0 }).then((response) => {
 |  |      listWarehousesss({ fStatus: 0, delFlag: 0 }).then((response) => {
 | 
											
												
													
														|  |        this.warehouseOptions = response.rows;
 |  |        this.warehouseOptions = response.rows;
 | 
											
												
													
														|  |      });
 |  |      });
 | 
											
												
													
														|  | 
 |  | +    listUser().then((response) => {
 | 
											
												
													
														|  | 
 |  | +      this.userOptions = response.rows;
 | 
											
												
													
														|  | 
 |  | +    });
 | 
											
												
													
														|  | 
 |  | +    listCorps({ type: 1 }).then((response) => {
 | 
											
												
													
														|  | 
 |  | +      this.fMblnoOptions = response.rows;
 | 
											
												
													
														|  | 
 |  | +    });
 | 
											
												
													
														|  |      this.getRow();
 |  |      this.getRow();
 | 
											
												
													
														|  |      this.getList();
 |  |      this.getList();
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
										
											
												
													
														|  | @@ -757,7 +754,7 @@ export default {
 | 
											
												
													
														|  |          if (res.code == 200) {
 |  |          if (res.code == 200) {
 | 
											
												
													
														|  |            this.showSetting = false;
 |  |            this.showSetting = false;
 | 
											
												
													
														|  |            this.getRowList = this.setRowList.filter((e) => e.checked == 0);
 |  |            this.getRowList = this.setRowList.filter((e) => e.checked == 0);
 | 
											
												
													
														|  | -          console.log(this.tableDate)
 |  | 
 | 
											
												
													
														|  | 
 |  | +          console.log(this.tableDate);
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  |        });
 |  |        });
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
										
											
												
													
														|  | @@ -812,14 +809,13 @@ export default {
 | 
											
												
													
														|  |        return sums;
 |  |        return sums;
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      handleAdd() {
 |  |      handleAdd() {
 | 
											
												
													
														|  | -      this.timer = new Date().getTime()
 |  | 
 | 
											
												
													
														|  | -      this.pageShow=false
 |  | 
 | 
											
												
													
														|  | -      this.pageShow2=true
 |  | 
 | 
											
												
													
														|  | 
 |  | +      this.timer = new Date().getTime();
 | 
											
												
													
														|  | 
 |  | +      this.pageShow = false;
 | 
											
												
													
														|  | 
 |  | +      this.pageShow2 = true;
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      // 多选框选中数据
 |  |      // 多选框选中数据
 | 
											
												
													
														|  |      handleSelectionChange(selection) {
 |  |      handleSelectionChange(selection) {
 | 
											
												
													
														|  |        this.ids = selection.map((item) => item.fId);
 |  |        this.ids = selection.map((item) => item.fId);
 | 
											
												
													
														|  | -      this.idCopy = this.ids[0];
 |  | 
 | 
											
												
													
														|  |        this.single =
 |  |        this.single =
 | 
											
												
													
														|  |          selection.length !== 1 ||
 |  |          selection.length !== 1 ||
 | 
											
												
													
														|  |          selection.map((item) => item.fBillstatus) == 6 ||
 |  |          selection.map((item) => item.fBillstatus) == 6 ||
 | 
											
										
											
												
													
														|  | @@ -828,7 +824,8 @@ export default {
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      /** 修改按钮操作 */
 |  |      /** 修改按钮操作 */
 | 
											
												
													
														|  |      handleUpdate(row) {
 |  |      handleUpdate(row) {
 | 
											
												
													
														|  | -      this.formId = row.fId;
 |  | 
 | 
											
												
													
														|  | 
 |  | +      const fId = row.fId || this.ids[0];
 | 
											
												
													
														|  | 
 |  | +      this.formId = fId;
 | 
											
												
													
														|  |        this.$nextTick(() => {
 |  |        this.$nextTick(() => {
 | 
											
												
													
														|  |          this.$refs.addOrUpdateRef.init();
 |  |          this.$refs.addOrUpdateRef.init();
 | 
											
												
													
														|  |        });
 |  |        });
 | 
											
										
											
												
													
														|  | @@ -901,34 +898,6 @@ export default {
 | 
											
												
													
														|  |        this.fMblnoOptions = [];
 |  |        this.fMblnoOptions = [];
 | 
											
												
													
														|  |        this.handleQuery();
 |  |        this.handleQuery();
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  | -    //制单人模糊搜索
 |  | 
 | 
											
												
													
														|  | -    userremoteMethod(query) {
 |  | 
 | 
											
												
													
														|  | -      if (query !== "") {
 |  | 
 | 
											
												
													
														|  | -        this.selectloading = true;
 |  | 
 | 
											
												
													
														|  | -        setTimeout(() => {
 |  | 
 | 
											
												
													
														|  | -          listUser({ userName: query }).then((response) => {
 |  | 
 | 
											
												
													
														|  | -            this.selectloading = false;
 |  | 
 | 
											
												
													
														|  | -            this.userOptions = response.rows;
 |  | 
 | 
											
												
													
														|  | -          });
 |  | 
 | 
											
												
													
														|  | -        }, 200);
 |  | 
 | 
											
												
													
														|  | -      } else {
 |  | 
 | 
											
												
													
														|  | -        this.userOptions = [];
 |  | 
 | 
											
												
													
														|  | -      }
 |  | 
 | 
											
												
													
														|  | -    },
 |  | 
 | 
											
												
													
														|  | -    //货权方模糊搜索
 |  | 
 | 
											
												
													
														|  | -    corpremoteMethod(query) {
 |  | 
 | 
											
												
													
														|  | -      if (query !== "") {
 |  | 
 | 
											
												
													
														|  | -        this.selectloading = true;
 |  | 
 | 
											
												
													
														|  | -        setTimeout(() => {
 |  | 
 | 
											
												
													
														|  | -          listCorps({ fName: query, type: 1 }).then((response) => {
 |  | 
 | 
											
												
													
														|  | -            this.selectloading = false;
 |  | 
 | 
											
												
													
														|  | -            this.fMblnoOptions = response.rows;
 |  | 
 | 
											
												
													
														|  | -          });
 |  | 
 | 
											
												
													
														|  | -        }, 200);
 |  | 
 | 
											
												
													
														|  | -      } else {
 |  | 
 | 
											
												
													
														|  | -        this.fMblnoOptions = [];
 |  | 
 | 
											
												
													
														|  | -      }
 |  | 
 | 
											
												
													
														|  | -    },
 |  | 
 | 
											
												
													
														|  |      showAddOrUpdate(data) {
 |  |      showAddOrUpdate(data) {
 | 
											
												
													
														|  |        if (data) {
 |  |        if (data) {
 | 
											
												
													
														|  |          this.getList();
 |  |          this.getList();
 |