spring
2025-04-08 fcbba75febaa36d23c6c49473ab5bcee0e1a2c04
src/views/structural/capabilityAndLaboratory/capabilityComponents/bindPartDialog.vue
@@ -23,7 +23,7 @@
            <el-input v-model="bindPartData.colorCode" size="small"></el-input>
          </el-form-item>
          <el-form-item label="进厂检验项:" prop="inspectionItem"
            v-if="currentObj.objectType == '原辅料' || currentObj.objectType == '包材'" label-width="100px">
            v-if="currentObj.objectType == '原辅材' || currentObj.objectType == '包材'" label-width="100px">
            <!-- <el-input v-model="bindPartData.inspectionItem" disabled placeholder="选择检验项" size="small">
              <template slot="append">
                <el-button slot="append" icon="el-icon-search" @click="openItems"></el-button>
@@ -142,7 +142,7 @@
                  type: "warning",
                })
                  .then(() => {
                    productPartReview({ id: row.id }).then((res) => {
                    productPartReview({ id: row.id, type: this.type == 0 ? '对象' : '产品' }).then((res) => {
                      if (res.code == 200) {
                        this.$message.success("复核通过");
                        this.getList();
@@ -201,7 +201,7 @@
        partNo: '', // 零件号
        color: '', // 颜色
        colorCode: '', // 色标
        inspectionItem: [],//原辅料进厂检验对象列表
        inspectionItem: [],//原辅材进厂检验对象列表
      },
      bindPartDataRules: {
        partNo: [
@@ -212,7 +212,7 @@
      upIndex: 0,
      addBindLoad: false,
      itemList: [],//原辅料进厂检验对象列表
      itemList: [],//原辅材进厂检验对象列表
      editItem: false,
      editList: [],
      editColumn: [
@@ -268,7 +268,7 @@
    },
    getEditList() {
      this.tableLoading0 = true
      productPartLogList({ id: this.currentPart.id, ...this.editPage }).then(res => {
      productPartLogList({ id: this.currentPart.id, type: this.type == 0 ? '对象' : '产品', ...this.editPage }).then(res => {
        this.tableLoading0 = false
        if (res.code == 200) {
          this.editList = res.data.records