loulijun2021
2022-08-27 3cbb9eb9e6f594721239bde5754db6df924472a6
src/views/zlgl/gxjy.vue
@@ -128,7 +128,7 @@
            <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>
        <!--   检验结果   和  检验备注      -->
@@ -380,7 +380,7 @@
      checkStandard: '', // 检验标准
      checkStandardSelect: [], // 检验标准下拉数组
      checkUser: '', // 检验人员
      checkCount: 0, // 检验数量
      checkqty: 0, // 检验数量
      checkUserSelect: [], // 检验人员下拉数组
      checkResult: '', // 检验结果
      checkResultSelect: [
@@ -605,7 +605,7 @@
        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) {
@@ -622,6 +622,7 @@
          type: 'warning'
        }).then(() => {
          const arr = []
          this.JYTableData = this.JYTableData.filter(item => item.code !== '')
          this.JYTableData.forEach((item, index) => {
            arr.push({
              code: item.code,
@@ -637,6 +638,7 @@
            'stepcode': this.form.stepcode, // 工序编码
            'checkstanedcode': this.checkStandard, // 检验标准编码
            'checkusercode': this.checkUser, // 检验人员编码
            'checkqty': this.checkqty, // 检验数量
            'checktypecode': val, // 检验类型编码
            'checkresult': this.checkResult, // 检验结果(OK(合格) NG(不良))
            'checkdescr': this.checkdescr, // 检验描述
@@ -665,7 +667,7 @@
      this.multipleSelection = []
      this.checkdescr = ''
      this.checkUser = ''
      this.checkCount = 0
      this.checkqty = 0
      this.checkResult = ''
      this.checkStandard = ''
      this.form.orderstepqrcode = ''