haoxuan
2023-12-22 b4fffb6670099841c59bc22e8703e96badcf5614
src/views/sales/quotation/AddQuotationDialog.vue
@@ -166,7 +166,7 @@
              </el-col>
              <el-col :span="12">
                <el-form-item label="销售机会" prop="sale_chance_name"
                :rules="[{ required: autoCodeHeadersObj.xsjh=='yes'?true:false, validator: this.checkChance, trigger: 'change' }]">
                :rules="[{ required: autoCodeHeadersObj.Xsjh=='yes'?true:false, validator: this.checkChance, trigger: 'change' }]">
                  <div class="custom-name">
                    <el-autocomplete
                      v-model="editConfig.infomation.sale_chance_name"
@@ -433,6 +433,7 @@
        this.objCode.codeStandID = this.editConfig.infomation.codeStandID
      }
      this.getRCodeStandardList()
      this.getUseSystemSet({modeType:'bjd'})
    },
    getCommonData() {
      getAllData()
@@ -712,7 +713,7 @@
      if (this.editConfig.infomation.sale_chance_name && this.editConfig.infomation.sale_chance_name.length > 0) {
        callback()
      } else {
        if(this.autoCodeHeadersObj.xsjh=='yes'){
        if(this.autoCodeHeadersObj.Xsjh=='yes'){
          callback(new Error("请选择销售机会"))
        }else{
          callback()