chenhaozhe
2026-01-13 cfd0b53967daca92d98cd304e4d4e0577e2efbd3
src/views/scMould/warehouse/Sc_MouldProdBackBillEdit.vue
@@ -213,7 +213,7 @@
            <el-table-column align="center" label="序号" type="index" width="80" />
            <el-table-column align="center" label="容器代码" width="120">
              <template slot-scope="scope">
                <el-input v-model="scope.row.HMaterCode" placeholder="请输入" @keyup.native.f7="openDataDialog(8, scope.row)"
                <el-input v-model="scope.row.HMaterNumber" placeholder="请输入" @keyup.native.f7="openDataDialog(8, scope.row)"
                  @dblclick.native="openDataDialog(8, scope.row)" />
              </template>
            </el-table-column>
@@ -250,7 +250,7 @@
            </el-table-column>
            <el-table-column align="center" label="仓库代码" width="120">
              <template slot-scope="scope">
                <el-input v-model="scope.row.HWHCode" placeholder="请输入" @keyup.native.f7="openDataDialog(2, scope.row ,eHWHType=2)"
                <el-input v-model="scope.row.HWHNumber" placeholder="请输入" @keyup.native.f7="openDataDialog(2, scope.row ,eHWHType=2)"
                  @dblclick.native="openDataDialog(2, scope.row ,eHWHType=2)" />
              </template>
            </el-table-column>
@@ -496,6 +496,8 @@
      }).then(response => {
        if (response.data.count == 1) {
          this.organizationList = response.data.data;//组织列表
        }else{
          this.$modal.msgError(response.data.Message);
        }
      }).catch(error => {
        this.$modal.msgError("接口请求失败!");
@@ -509,6 +511,8 @@
          this.HSourceBillTypes = response.data.data
          this.form.HSourceBillType = this.HSourceBillTypes[0].HSourceBillType
          this.form.HSourceBillTypeName = this.HSourceBillTypes[0].HSourceBillTypeName
        }else{
          this.$modal.msgError(response.data.Message);
        }
      }).catch(error => {
        this.$modal.msgError("接口请求失败!");
@@ -555,8 +559,8 @@
            }).then(response => { 
                if (response.data.count == 1) { 
                    resolve(response.data.data[0]);
                } else {
                    this.$modal.msgError("未查询到数据!");
                }else{
                  this.$modal.msgError(response.data.Message);
                }
            }).catch(error => { 
                this.$modal.msgError("接口请求失败!");
@@ -569,6 +573,8 @@
      this.form.HSupTypeID = data.HSupTypeID
      this.form.HSupID = data.HSupID
      this.form.HSupName = data.HSupName
      this.form.HSecManagerId = data.HSecManagerID
      this.form.HSecManagerName = data.HSecManagerName
      this.form.HDeptID = data.HDeptID
      this.form.HDeptName = data.HDeptName
      this.form.HStockOrgID = data.HStockOrgID == null ? 0 : data.HStockOrgID
@@ -688,7 +694,7 @@
              this.form.HWHNumber = deptRow.仓库代码
            }else{
              this.editData[this.zbIndex].HWHID = deptRow.HItemID
              this.editData[this.zbIndex].HWHCode = deptRow.仓库代码
              this.editData[this.zbIndex].HWHNumber = deptRow.仓库代码
              this.editData[this.zbIndex].HWHName = deptRow.仓库名称
            }
            this.warehouseShow = false
@@ -967,6 +973,8 @@
          }
          this.formShow = true
          this.formLoading = false
        }else{
          this.$modal.msgError(response.data.Message);
        }
      }).catch(error => {
        console.log(error)