futian.liu
2023-12-20 1b8db0473522c886428767f7eeaaf7f52d47ce42
admin-web/src/views/stock/inventorycount/inventorytask/edit.vue
@@ -11,7 +11,7 @@
        />
      </el-form-item>
      <el-form-item label="盘点仓库" prop="warehouseId">
        <el-select v-model="formData.warehouseId" placeholder="请选择" style="width: 100%">
        <el-select @change="getPdr" v-model="formData.warehouseId" placeholder="请选择" style="width: 100%">
          <el-option v-for="item in warehouseOptions" :key="item.id" :label="item.warehouseName" :value="item.id" />
        </el-select>
      </el-form-item>
@@ -97,7 +97,7 @@
      this.formData.businessFormName = formatDate(new Date(), 'yyyy年MM月份盘点');
    }
    this.handleSelectTenantWarehouse();
    this.getPdr();
    //this.getPdr();
    this.getJpr();
  },
  methods: {
@@ -113,7 +113,7 @@
    },
    // 获取盘点人
    getPdr() {
      warehouseManagerList({ tenantId: this.userInfo.tenantId }).then((res) => {
      warehouseManagerList({ warehouseId: this.formData.warehouseId }).then((res) => {
        this.count++
        this.operatorOptions = res;
        if(this.count>1){