zss
2024-09-13 9bce6d06fc72b109ebfe1fa779c57e1d62a43b57
来样方式改成订单类型
已修改2个文件
10 ■■■■ 文件已修改
src/components/do/b1-ins-order/add.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/do/b1-material-ins-order/customs-inspection.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/do/b1-ins-order/add.vue
@@ -254,7 +254,7 @@
            </div>
          </el-col> -->
          <el-col class="search_thing" :span="6">
            <div class="search_label"><span class="required-span">* </span>来样方式:</div>
            <div class="search_label"><span class="required-span">* </span>订单类型:</div>
            <div class="search_input">
              <el-select v-model="addObj.formType" size="small" :disabled="active>1" style="width: 100%;">
                <el-option v-for="(a,ai) in formType" :key="ai" :label="a.label" :value="a.value"></el-option>
@@ -1629,7 +1629,7 @@
        if (!this.addObj.type) {
          this.$message.error('未选择紧急程度')
        } else if (!this.addObj.formType) {
          this.$message.error('请输入来样方式')
          this.$message.error('请输入订单类型')
        } else if (!this.addObj.orderType) {
          this.$message.error('请选择检验类别')
        } else if (!this.addObj.production) {
@@ -2593,7 +2593,7 @@
      },
      selectEnumByCategoryForSampleForm() {
        this.$axios.post(this.$api.enums.selectEnumByCategory, {
          category: "来样方式"
          category: "订单类型"
        }).then(res => {
          this.formType = res.data
          if (this.formType.length > 0) {
src/components/do/b1-material-ins-order/customs-inspection.vue
@@ -1227,7 +1227,7 @@
      if (!this.addObj.type) {
        this.$message.error('未选择紧急程度')
      } else if (!this.addObj.formType) {
        this.$message.error('请输入来样方式')
        this.$message.error('请输入订单类型')
      } else if (!this.addObj.orderType) {
        this.$message.error('请选择检验类别')
      } else if (!this.addObj.production) {
@@ -1973,7 +1973,7 @@
    },
    selectEnumByCategoryForSampleForm() {
      this.$axios.post(this.$api.enums.selectEnumByCategory, {
        category: "来样方式"
        category: "订单类型"
      }).then(res => {
        this.formType = res.data
        if (this.formType.length > 0) {