spring
2025-04-07 9f571972ce45d45facd8ca667376e2d4c99da3af
原辅料下单修改
已修改4个文件
31 ■■■■ 文件已修改
src/views/business/materialOrder/customsInspection.vue 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/business/materialOrder/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/business/productOrder/components/add.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/structural/capabilityAndLaboratory/capability/index.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/business/materialOrder/customsInspection.vue
@@ -971,19 +971,19 @@
      })
      this.getTotal(sampleList)
      let trees = this.selectTree.split(" - ")
      if (trees.length < 3) {
      if (trees.length < 5) {
        this.$message.error('未选择对象')
        return
      }
      this.addObj.factory = trees[0]
      this.addObj.laboratory = trees[1]
      this.addObj.sampleType = trees[2]
      if ((trees[3] === undefined || trees[3] === '') || trees.length === 4) {
        this.addObj.sample = trees[2]
      this.addObj.sampleType = trees[3]
      if ((trees[5] === undefined || trees[5] === '') || trees.length === 6) {
        this.addObj.sample = trees[4]
      } else {
        this.addObj.sample = trees[3]
        this.addObj.sample = trees[5]
      }
      this.addObj.model = (trees[4] == undefined ? null : trees[4])
      this.addObj.model = (trees[6] == undefined ? null : trees[6])
      this.addObj.ifsInventoryId = this.customsInspection.id
      this.noNeedCheckLoad = true
      addExemptionOrder({
@@ -1017,19 +1017,19 @@
    },
    saveMethod(sampleList) {
      let trees = this.selectTree.split(" - ")
      if (trees.length < 3) {
      if (trees.length < 5) {
        this.$message.error('未选择对象')
        return
      }
      this.addObj.factory = trees[0]
      this.addObj.laboratory = trees[1]
      this.addObj.sampleType = trees[2]
      if ((trees[3] === undefined || trees[3] === '') || trees.length === 4) {
        this.addObj.sample = trees[2]
      this.addObj.sampleType = trees[4]
      if ((trees[5] === undefined || trees[5] === '') || trees.length === 6) {
        this.addObj.sample = trees[4]
      } else {
        this.addObj.sample = trees[3]
        this.addObj.sample = trees[5]
      }
      this.addObj.model = (trees[4] == undefined ? null : trees[4])
      this.addObj.model = (trees[6] == undefined ? null : trees[6])
      this.addObj.ifsInventoryId = this.customsInspection.id
      this.saveLoad = true
      if (this.addObj.createTime) {
src/views/business/materialOrder/index.vue
@@ -74,7 +74,7 @@
          <div>
            <el-button v-show="tabIndex === 3 || tabIndex === 2" :loading="outLoading" size="small" type="primary"
              @click="handleOut">导出</el-button>
            <el-button v-if="tabIndex === 0" size="small" type="primary" @click="copper">铜材料下单</el-button>
            <!-- <el-button v-if="tabIndex === 0" size="small" type="primary" @click="copper">铜材料下单</el-button> -->
            <el-button v-if="tabIndex !== 0" size="small" type="primary" @click="openPrint">标签打印</el-button>
          </div>
        </div>
src/views/business/productOrder/components/add.vue
@@ -1418,7 +1418,7 @@
    },
    activeStandardTree() {
      let trees = this.selectTree.split(" - ")
      if (trees.length < 3) {
      if (trees.length < 4) {
        this.$message.error('未选择对象')
        return
      }
src/views/structural/capabilityAndLaboratory/capability/index.vue
@@ -282,6 +282,9 @@
              clickFun: (row) => {
                this.bindPartFirst(row);
              },
              disabled: (row) => {
                return row.product
              }
            },
            {
              name: '车间绑定',