diff --git a/src/api/inquiry/inquiryApplication.js b/src/api/inquiry/inquiryApplication.js
index 88ac714..0752772 100644
--- a/src/api/inquiry/inquiryApplication.js
+++ b/src/api/inquiry/inquiryApplication.js
@@ -7,3 +7,7 @@ export const addInquiryApplicationInfo = data => createAPI("/inquiry/inquiryAppl
export const updateInquiryApplicationInfo = data => createAPI("/inquiry/inquiryApplication/updateInquiryApplicationInfo", "post", data);
export const deleteInquiryApplicationInfo = data => createAPI("/inquiry/inquiryApplication/deleteInquiryApplicationInfo", "post", data);
+
+export const searchUserAuthInquiryApplicationInfo = data => createAPI("/inquiry/inquiryApplication/searchUserAuthInquiryApplicationInfo", "post", data);
+
+export const searchInquiryUserAuthInfo = data => createAPI("/inquiry/inquiryApplication/searchInquiryUserAuthInfo", "post", data);
diff --git a/src/views/modules/auth/authInquiry.vue b/src/views/modules/auth/authInquiry.vue
new file mode 100644
index 0000000..8f16683
--- /dev/null
+++ b/src/views/modules/auth/authInquiry.vue
@@ -0,0 +1,1213 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 客户编码
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PjM
+
+
+
+ 报价专员
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{{ scope.row[item.columnProp] }}
+
![]()
+
+
+
+ 草稿
+ 已下达
+ 已报价
+
+
![]()
+
+
+
+ 普通
+ 重要
+ 紧急
+
+
![]()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/auth/authRule.vue b/src/views/modules/auth/authRule.vue
index 655aa1e..443d736 100644
--- a/src/views/modules/auth/authRule.vue
+++ b/src/views/modules/auth/authRule.vue
@@ -1104,7 +1104,8 @@ export default {
}
if (val === 218 ) {
strVal = this.ruleStepModalData.authGroupNo
- this.$refs.baseList.init(val, strVal)
+ conSql = " and site = '" + this.$store.state.user.site + "'" + " and record_type = '" + this.ruleCurrentRow.recordType + "'"
+ this.$refs.baseList.init(val, strVal, conSql)
}
})
},
diff --git a/src/views/modules/eam/com_project_proof_record.vue b/src/views/modules/eam/com_project_proof_record.vue
index eb238ee..d176a1c 100644
--- a/src/views/modules/eam/com_project_proof_record.vue
+++ b/src/views/modules/eam/com_project_proof_record.vue
@@ -39,9 +39,16 @@
:min-width="item.columnWidth"
:label="item.columnLabel">
- {{scope.row[item.columnProp]}}
-
+
+
{{scope.row[item.columnProp]}}
+
![]()
+
+
+
{{scope.row[item.columnProp]}}
+
![]()
+
@@ -1121,7 +1128,7 @@
proofingInformationSearch(this.searchData).then(({data}) => {
//区分请求成功和失败的状况
if (data && data.code === 0) {
- this.dataList = data.page.list
+ this.dataList = data.page
if (this.dataList.length > 0) {
this.isUpload = true
// 设置选中行
@@ -1245,6 +1252,7 @@
}
})
},
+
getColumnValue(row, column) {
// 根据列的配置信息决定显示的值
if (column.columnProp === 'documentType') {
diff --git a/src/views/modules/eam/eamProjectInfo.vue b/src/views/modules/eam/eamProjectInfo.vue
index 40b84d8..62fd45b 100644
--- a/src/views/modules/eam/eamProjectInfo.vue
+++ b/src/views/modules/eam/eamProjectInfo.vue
@@ -2730,7 +2730,6 @@ import {searchBusinessInfo7} from "../../../api/factory/site";
// 判断是否全部存在数据
if (this.totalPage > 0) {
- console.log(this.projectPartCurrentRow)
if (this.projectPartCurrentRow === null || this.projectPartCurrentRow === undefined) {
// 设置选中行
this.$refs.mainTable.setCurrentRow(this.dataList[0])
diff --git a/src/views/modules/eam/eamProjectPartInfo.vue b/src/views/modules/eam/eamProjectPartInfo.vue
index 1f52ba2..e69f3d6 100644
--- a/src/views/modules/eam/eamProjectPartInfo.vue
+++ b/src/views/modules/eam/eamProjectPartInfo.vue
@@ -211,7 +211,7 @@
转正式料号
转量产
-
+
下达
新增打样
转正式料号
@@ -4476,19 +4476,27 @@ import {EventBus} from "../../../main";
})
},
getConfirmProgressPusherList() {
- let inData = {
- site: this.proofingCurrentRow.site,
- orderRef1: this.proofingCurrentRow.projectId,
- orderRef2: this.proofingCurrentRow.projectPartId,
- page: 1,
- limit: 1000
- }
- searchConfirmProgressPusherList(inData).then(({data}) => {
- if (data && data.code === 0){
- this.confirmProgressPusherList = data.page.list;
- }
- })
- },
+ return new Promise((resolve, reject) => {
+ let inData = {
+ site: this.proofingCurrentRow.site,
+ orderRef1: this.proofingCurrentRow.projectId,
+ orderRef2: this.proofingCurrentRow.projectPartId,
+ page: 1,
+ limit: 1000
+ };
+
+ searchConfirmProgressPusherList(inData).then(({ data }) => {
+ if (data && data.code === 0) {
+ this.confirmProgressPusherList = data.page.list;
+ resolve(); // 成功时调用 resolve
+ } else {
+ reject(new Error(data.msg)); // 处理错误
+ }
+ }).catch(error => {
+ reject(error); // 处理请求错误
+ });
+ });
+ } ,
confirmDocument(row) {
// 将this.$store.state.user.id转为字符串
let userId = this.$store.state.user.id.toString()
@@ -4598,7 +4606,37 @@ import {EventBus} from "../../../main";
if (data.code === 0) {
this.confirmVisible = false;
this.getConfirmProgressDocumentList();
- this.getConfirmProgressPusherList();
+ this.getConfirmProgressPusherList().then(() => {
+ // 判断 confirmProgressPusherList 中的 confirmFlag 是否全部为 Y
+ let flag = true;
+ for (let i = 0; i < this.confirmProgressPusherList.length; i++) {
+ if (this.confirmProgressPusherList[i].confirmFlag !== 'Y') {
+ flag = false;
+ break;
+ }
+ }
+
+ if (flag) {
+ this.proofingCurrentRow.status = '正式量产';
+ eamProjectPartInfoEdit(this.proofingCurrentRow).then(({ data }) => {
+ this.dataList.forEach((item) => {
+ if (item.projectPartId === this.proofingCurrentRow.projectPartId) {
+ this.dataListIndex = this.dataList.indexOf(item)
+ }
+ })
+ this.getDataList();
+ if (data.code !== 0) {
+ this.$alert(data.msg, '错误', {
+ confirmButtonText: '确定'
+ });
+ }
+ });
+ }
+ }).catch(error => {
+ this.$alert('获取确认进度推送列表失败', '错误', {
+ confirmButtonText: '确定'
+ });
+ });
EventBus.$emit('updateAgencyMatterForConfirm')
}else {
this.$alert(data.msg, '错误', {