cuijian
2025-07-25 312267b56eeca48da632dfa754f18ee88b4f1ad5
src/views/qms/modules/inspectionPlan/InspectionPlanModel.vue
@@ -182,25 +182,7 @@
      },
      isDisabled: false,
      selectedRowKeys: {},
      state: {
        show: false,
        maintenanceValue: 1,
        checkValue: 1,
        maintenanceState: false,
        checkState: false,
      },
      inboundDate: '',
      applicationDate: '',
      supplierShow: false,
      disableSubmit: false,
      numDisable:false,
      quantityDisable:false,
      onlyCodeDisable:true,
      returnShow:false,
      toolingShow:false,
      sharpenShow:false,
      addDisable:false,
      toolinngOptions:[],
      title: '操作',
      visible: false,
      model: {},
@@ -216,12 +198,7 @@
      loading: false,
      form: this.$form.createForm(this),
      dataSource: [],
      toolingTreeData:[],
      warehouseOptions:[],
      locationOptions:[],
      allToolingList:[],
      param: {},
      barcodeCurrentType: false,
      planId:'',
      validatorRules: {
        planCode: {
@@ -366,11 +343,9 @@
      return filterObj(this.param)
    },
    add() {
      this.handle = store.getters.userInfo.username
      this.edit({})
    },
    edit(record) {
      let that = this
      this.form.resetFields()
      this.model = Object.assign({}, record)
      this.visible = true
@@ -390,15 +365,7 @@
      this.$emit('close')
      this.dataSource = []
      this.visible = false
      this.supplierShow = false,
       this.disableSubmit = false,
       this.numDisable = false,
      this.quantityDisable = false,
       this.onlyCodeDisable = true,
       this.returnShow = false,
       this.toolingShow = false,
       this.sharpenShow = false,
       this.addDisable = false
       this.disableSubmit = false
    },
    handleTableChange(pagination, filters, sorter) {
      this.ipagination = pagination
@@ -437,7 +404,7 @@
    handleCancel() {
      this.close()
    },
    //选择工具
    //选择检验项目
    selectInspectionItemList: function () {
      let ids = []
      for (let i = 0; i < this.dataSource.length; i++) {
@@ -449,15 +416,6 @@
    },
    handleDelete(record, index) {
      this.dataSource.splice(index, 1)
    },
    onChange() {},
    //手选人员值
    selectCurrentUserChange(e) {
      console.log('当前手选', e)
      // this.form.setFieldsValue({
      //   // userName: e,
      //   userNameId: e,
      // })
    },
    detailList(planId) {
      this.param.planId = planId
@@ -492,7 +450,6 @@
          qualitativeOrQuantitativeName:data[i].qualitativeOrQuantitativeName
        })
      }
      //this.ipaginationm.total = this.dataSource.length
    })
  },
}