gaoluyang
2025-04-08 48fc5c4139aec46e7b31551092ab398d18f7972a
src/views/business/materialOrder/index.vue
@@ -1108,6 +1108,19 @@
      let inspectorList = []
      inspectorList.push(this.nickName)
      this.InspectInfoDialog = false
      console.log('this.checkPermi([\'business:inspectionView\'])---', this.checkPermi(['business:inspectionView']))
      if (this.checkPermi(['business:inspectionView'])) {
        this.$router.push({
          name: "InspectionView",
          query: {
            sonLaboratory: '原材料',
            state: 3,
            typeSource: this.insInfo.typeSource,
            orderId: this.insInfo.enterOrderId,
            inspectorList: inspectorList,
          },
        })
      } else {
      this.$router.push({
        name: "Inspection",
        query: {
@@ -1118,11 +1131,24 @@
          inspectorList: inspectorList,
        },
      })
      }
    },
    viewInsInfo1() {
      let inspectorList = []
      inspectorList.push(this.nickName)
      this.InspectInfoDialog = false
      if (this.checkPermi(['business:inspectionView'])) {
        this.$router.push({
          name: "InspectionView",
          query: {
            sonLaboratory: '原材料',
            state: 3,
            typeSource: this.insInfo.typeSource,
            orderId: this.insInfo.quarterOrderId,
            inspectorList: inspectorList,
          },
        })
      } else {
      this.$router.push({
        name: "Inspection",
        query: {
@@ -1133,6 +1159,7 @@
          inspectorList: inspectorList,
        },
      })
      }
    },
    goback() {
      this.state = 0