| | |
| | | <div style="color: red;width:10px">*</div> |
| | | 检验数量: |
| | | </div> |
| | | <el-input v-model="checkCount" oninput="value=value.replace(/[^0-9]/g,'')" style="width: 200px" /> |
| | | <el-input v-model="checkqty" oninput="value=value.replace(/[^0-9]/g,'')" style="width: 200px" /> |
| | | </div> |
| | | |
| | | <!-- 检验结果 和 检验备注 --> |
| | |
| | | checkStandard: '', // 检验标准 |
| | | checkStandardSelect: [], // 检验标准下拉数组 |
| | | checkUser: '', // 检验人员 |
| | | checkCount: 0, // 检验数量 |
| | | checkqty: 0, // 检验数量 |
| | | checkUserSelect: [], // 检验人员下拉数组 |
| | | checkResult: '', // 检验结果 |
| | | checkResultSelect: [ |
| | |
| | | if (this.checkUser.length < 1) { |
| | | return this.$message.info('检验人员不能为空!') |
| | | } |
| | | if (parseFloat(this.checkCount) > 0) { |
| | | if (parseFloat(this.checkqty) <= 0) { |
| | | return this.$message.info('检验数量必须要大于零!') |
| | | } |
| | | if (this.JYTableData.length < 1) { |
| | |
| | | type: 'warning' |
| | | }).then(() => { |
| | | const arr = [] |
| | | this.JYTableData = this.JYTableData.filter(item => item.code !== '') |
| | | this.JYTableData.forEach((item, index) => { |
| | | arr.push({ |
| | | code: item.code, |
| | |
| | | 'stepcode': this.form.stepcode, // 工序编码 |
| | | 'checkstanedcode': this.checkStandard, // 检验标准编码 |
| | | 'checkusercode': this.checkUser, // 检验人员编码 |
| | | 'checkqty': this.checkqty, // 检验数量 |
| | | 'checktypecode': val, // 检验类型编码 |
| | | 'checkresult': this.checkResult, // 检验结果(OK(合格) NG(不良)) |
| | | 'checkdescr': this.checkdescr, // 检验描述 |
| | |
| | | this.multipleSelection = [] |
| | | this.checkdescr = '' |
| | | this.checkUser = '' |
| | | this.checkCount = 0 |
| | | this.checkqty = 0 |
| | | this.checkResult = '' |
| | | this.checkStandard = '' |
| | | this.form.orderstepqrcode = '' |