loulijun2021
2023-05-30 580cb6210db496d1aee9fd4b0871ab0f0e637be2
src/views/qualityManager/processCheck.vue
@@ -362,7 +362,10 @@
      this.form.checkstandcode = res.chekstand[0].checkstandcode
      this.form.checkstandname = res.chekstand[0].checkstandname
      this.form.sampmethod = res.chekstand[0].sampmethod
      this.form.sampscare = res.chekstand[0].sampscare // 下午写这里   *比例
      this.form.sampscare = res.chekstand[0].sampmethod === 'FIXED' ? res.chekstand[0].sampscare
        : res.labcont[0].good_qty * res.chekstand[0].sampscare / 100
      this.form.sampscare = this.form.sampscare <= this.form.good_qty ? this.form.sampscare : this.form.good_qty
      await this.getMesOrderStepCheckItemList()
    },