小小儁爺
2024-11-08 cb1d513a43683c59850ca40d9adbe8dbf0f1c4ce
1.递交
已修改1个文件
15 ■■■■■ 文件已修改
src/views/produce/productWarehouse2.vue 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/produce/productWarehouse2.vue
@@ -355,7 +355,7 @@
                    show-tooltip-when-overflow
                  >
                    <template slot-scope="{row}">
                      <div v-if="row.initname">{{ row.initname }}</div>
                      <div v-if="row.unitname">{{ row.unitname }}</div>
                      <div v-else>/</div>
                    </template>
                  </el-table-column>
@@ -672,8 +672,11 @@
    },
    // 入库仓库值改变时
    stockCodeChange() {
    stockCodeChange(val) {
      this.multipleSelection.forEach(i => {
        i.stockcode = val
        i.stockid = this.stockcodeArr.find(j => j.code === val).noid
      })
    },
    stockCodeRowChange(val, row) {
@@ -699,9 +702,9 @@
      if (this.form.stockcode === '') {
        return this.$message.info('入库仓库不能为空!')
      }
      // if (this.form.deptno === '') {
      //   return this.$message.info('入库部门不能为空!')
      // }
      if (this.multipleSelection.find(i => i.stockid === '' || i.stockid === null)) {
        return this.$message.info('表格内入库仓库不能为空!')
      }
      const TableDetailData = []
      this.multipleSelection.forEach((i, index) => {