gaoluyang
2025-02-21 86e60a01fdac6af35759d4c05d3271cf3d9807b2
src/views/business/productOrder/components/add.vue
@@ -547,7 +547,7 @@
  selectStandardTreeList2
} from "@/api/business/rawMaterialOrder";
import {
  addInsOrder, delInsOrderTemplate,
  addInsOrder, addInsOrderTemplate, delInsOrderTemplate,
  getQuarterOnOrder,
  selectOrderManDay,
  updateInsOrder,
@@ -1634,17 +1634,14 @@
              sampleList: this.sampleList,
              selectTree:this.selectTree
            })
          }, {
            headers: {
              'Content-Type': 'application/json'
            }
          }).then(res => {
            if (res.code == 201) return
            this.templateLoading = false;
            this.templateDia = false;
            this.$message.success('保存成功')
            this.selectInsOrderTemplate()
            this.templateName = ''
          }).catch(e => {
            this.templateLoading = false;
          })
        } else {
          this.$message.error('请填写模板名称')
@@ -1947,7 +1944,7 @@
      },
      // 辅助线芯配置
      openAuxiliaryCore () {
        if (this.active === 1) {
        if (this.active == 1) {
          if (this.sampleIds.length === 0) {
            this.$message.error("未选择样品")
          } else if (this.sampleIds.length === 1) {
@@ -1975,7 +1972,7 @@
        }
      },
      openCableConfig() {
        if (this.active === 1) {
        if (this.active == 1) {
          if (this.sampleIds.length === 0) {
            this.$message.error("未选择样品")
          } else if (this.sampleIds.length === 1) {