licp
2024-06-04 adfe1ca87e734e564b56a42c6fc5d015b4858eb3
src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -514,7 +514,7 @@
        this.$axios.post(this.$api.insOrderPlan.doInsOrder, {
          id: val,
          laboratory: this.sonLaboratory
        }).then(res => {
        }).then(async res => {
          this.insOrder = res.data.insOrder;
          this.urgentList.forEach(m => {
            if (m.value == this.insOrder.type) {
@@ -523,6 +523,8 @@
          })
          this.sampleProduct = res.data.sampleProduct
          this.currentSample = this.HaveJson(this.sampleProduct[0])
          let list = await this.getCurrentProduct(this.currentSample.id,0)
          this.currentSample.insProduct = this.HaveJson(list)
          this.currentSample.insProduct.forEach(a => {
            this.param[a.id] = {
              insValue: [],
@@ -638,6 +640,7 @@
        this.bushing = []
        this.currentBushing = null;
        this.sampleVisible = false;
        this.currentSample = this.HaveJson(row)
        let list = await this.getCurrentProduct(row.id,0)
        this.currentSample.insProduct = this.HaveJson(list)
        this.currentSample.insProduct.forEach(a => {
@@ -1483,7 +1486,7 @@
          flag = false;
        });
      },
      caretSample(num){
      async caretSample(num){
        let index = this.currentKey + num
        if(index < 1){
          this.$message.error('当前是第一个样品')
@@ -1494,6 +1497,8 @@
        }
        this.currentKey = index
        this.currentSample = this.HaveJson(this.sampleProduct[index - 1])
        let list = await this.getCurrentProduct(this.currentSample.id,0)
        this.currentSample.insProduct = this.HaveJson(list)
        this.currentSample.insProduct.forEach(a => {
          this.param[a.id] = {
            insValue: [],