diff --git a/src/views/modules/qc/IQCResultEntry.vue b/src/views/modules/qc/IQCResultEntry.vue
index 61f9e56..3a3ea72 100644
--- a/src/views/modules/qc/IQCResultEntry.vue
+++ b/src/views/modules/qc/IQCResultEntry.vue
@@ -73,6 +73,16 @@
+
+
+
+
+
+
@@ -486,7 +496,8 @@
iqcRecordDelete, // 删除检验记录
disposalMeasuresSearch, // 获取处置措施列表
iqcRecordOverLoad, // 重载检验单
- getSiteAndBuByUserName
+ getSiteAndBuByUserName,
+ orderTypeSearch, // 获取采购类型
} from "@/api/qc/qc.js"
import {getTableDefaultListLanguage, getTableUserListLanguage} from "@/api/table.js"
import Chooselist from '@/views/modules/common/Chooselist_eam'
@@ -561,6 +572,7 @@
limit: 10,
poOrderNo: '',
poItemNo: '',
+ orderType: ''
},
pageIndex: 1,
pageSize: 20,
@@ -864,6 +876,24 @@
fixed: '',
columnWidth: 130,
},
+ {
+ userId: this.$store.state.user.name,
+ functionId: 301006,
+ serialNumber: '301006Table1OrderType',
+ tableId: "301006Table1",
+ tableName: "IQC检验记录表",
+ columnProp: 'orderType',
+ headerAlign: "center",
+ align: "center",
+ columnLabel: '采购类型',
+ columnHidden: false,
+ columnImage: false,
+ columnSortable: false,
+ sortLv: 0,
+ status: true,
+ fixed: '',
+ columnWidth: 100,
+ },
{
userId: this.$store.state.user.name,
functionId: 301006,
@@ -1367,6 +1397,7 @@
samplingNumber: ''
},
disposalMeasuresOptions: [],
+ orderTypeList: [],
userBuList: [],
authSearch: false,
authCheck: false,
@@ -1391,6 +1422,7 @@
this.getSiteAndBuByUserName()
this.favoriteIsOk()
this.disposalMeasuresSearch()
+ this.orderTypeSearch()
// 动态列
this.getTableUserColumn(this.$route.meta.menuId+'table1',1)
this.getTableUserColumn(this.$route.meta.menuId+'table2',2)
@@ -1475,6 +1507,15 @@
})
},
+ // 获取采购类型列表
+ orderTypeSearch () {
+ orderTypeSearch().then(({data}) => {
+ if (data.code === 0) {
+ this.orderTypeList = data.rows
+ }
+ })
+ },
+
selectFlag () {
return true
},
diff --git a/src/views/modules/qc/qcItem.vue b/src/views/modules/qc/qcItem.vue
index 15bbb78..d97db41 100644
--- a/src/views/modules/qc/qcItem.vue
+++ b/src/views/modules/qc/qcItem.vue
@@ -1001,10 +1001,10 @@
this.$message.warning('请选择检验方法!')
return
}
- if ((this.modalData.samplingProgrammeNo === '' || this.modalData.samplingProgrammeNo == null) && (this.modalData.itemSamplingQuantity === '' || this.modalData.itemSamplingQuantity == null) && (this.modalData.defaultSamplingProportion === '' || this.modalData.defaultSamplingProportion == null)) {
- this.$message.warning('抽样方案、抽样数量、抽样比例至少选择一项!')
- return
- }
+ // if ((this.modalData.samplingProgrammeNo === '' || this.modalData.samplingProgrammeNo == null) && (this.modalData.itemSamplingQuantity === '' || this.modalData.itemSamplingQuantity == null) && (this.modalData.defaultSamplingProportion === '' || this.modalData.defaultSamplingProportion == null)) {
+ // this.$message.warning('抽样方案、抽样数量、抽样比例至少选择一项!')
+ // return
+ // }
if ((this.modalData.samplingProgrammeNo !== '' && this.modalData.samplingProgrammeNo != null) && (this.modalData.samplingLevelNo === '' || this.modalData.samplingLevelNo == null)) {
this.$message.warning('请选择检验水平!')
return
diff --git a/src/views/modules/qc/qcTemplate.vue b/src/views/modules/qc/qcTemplate.vue
index a22ff94..e1c2f94 100644
--- a/src/views/modules/qc/qcTemplate.vue
+++ b/src/views/modules/qc/qcTemplate.vue
@@ -282,8 +282,8 @@
@clear="blurForBug()"
@select="handleSelect"
:popper-append-to-body="false"
- style="width: 210px"
- >
+ style="width: 210px">
+