| | |
| | | </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" |
| | |
| | | this.objCode.codeStandID = this.editConfig.infomation.codeStandID |
| | | } |
| | | this.getRCodeStandardList() |
| | | this.getUseSystemSet({modeType:'bjd'}) |
| | | }, |
| | | getCommonData() { |
| | | getAllData() |
| | |
| | | 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() |