| | |
| | | </div> |
| | | </el-col> |
| | | <el-col class="search_thing" :span="6"> |
| | | <div class="search_label">工程名称:</div> |
| | | <div class="search_label"><span class="required-span">* </span>工程名称:</div> |
| | | <div class="search_input"> |
| | | <el-input size="small" placeholder="请输入" clearable v-model="addObj.value1" :readonly="active>1"></el-input> |
| | | <el-input size="small" placeholder="请输入" clearable v-model="addObj.engineering" :readonly="active>1"></el-input> |
| | | </div> |
| | | </el-col> |
| | | <el-col class="search_thing" :span="6"> |
| | | <div class="search_label">工程名称EN:</div> |
| | | <div class="search_label"><span class="required-span">* </span>工程名称EN:</div> |
| | | <div class="search_input"> |
| | | <el-input size="small" placeholder="请输入" clearable v-model="addObj.value2" :readonly="active>1"></el-input> |
| | | <el-input size="small" placeholder="请输入" clearable v-model="addObj.engineeringEn" :readonly="active>1"></el-input> |
| | | </div> |
| | | </el-col> |
| | | <el-col class="search_thing" :span="6"> |
| | | <div class="search_label">生产单位:</div> |
| | | <div class="search_label"><span class="required-span">* </span>生产单位:</div> |
| | | <div class="search_input"> |
| | | <el-input size="small" placeholder="请输入" clearable v-model="addObj.value3" :readonly="active>1"></el-input> |
| | | <el-input size="small" placeholder="请输入" clearable v-model="addObj.production" :readonly="active>1"></el-input> |
| | | </div> |
| | | </el-col> |
| | | <el-col class="search_thing" :span="6"> |
| | | <div class="search_label">生产单位EN:</div> |
| | | <div class="search_label"><span class="required-span">* </span>生产单位EN:</div> |
| | | <div class="search_input"> |
| | | <el-input size="small" placeholder="请输入" clearable v-model="addObj.value4" :readonly="active>1"></el-input> |
| | | <el-input size="small" placeholder="请输入" clearable v-model="addObj.productionEn" :readonly="active>1"></el-input> |
| | | </div> |
| | | </el-col> |
| | | <el-col class="search_thing" :span="6" style="align-items: flex-start;margin: 8px 0;"> |
| | |
| | | orderType: null, |
| | | send: 1, |
| | | formType: '送检', |
| | | value1: null, |
| | | value2: null, |
| | | value3: null, |
| | | value4: null, |
| | | engineering: null, |
| | | engineeringEn: null, |
| | | production: null, |
| | | productionEn: null, |
| | | }, |
| | | sample: { |
| | | sampleCode: null, |
| | |
| | | this.$message.error('请输入来样方式') |
| | | } else if (!this.addObj.orderType) { |
| | | this.$message.error('请选择检验类别') |
| | | }else if (!this.addObj.engineering) { |
| | | this.$message.error('请输入工程名称') |
| | | } else if (!this.addObj.engineeringEn) { |
| | | this.$message.error('请输入工程名称EN') |
| | | }else if (!this.addObj.production) { |
| | | this.$message.error('请输入生产单位') |
| | | }else if (!this.addObj.productionEn) { |
| | | this.$message.error('请输入生产单位EN') |
| | | } else if (this.sampleList.length < 1) { |
| | | this.$message.error('请添加一个样品') |
| | | } else if (!this.sampleList.every(m => m.sample)) { |