From bc0a6b6402a4eae0a4fb02ebbbc7f09b65481103 Mon Sep 17 00:00:00 2001
From: fengyuan_yang <1976974459@qq.com>
Date: Fri, 29 Aug 2025 16:47:52 +0800
Subject: [PATCH] =?UTF-8?q?2025-08-29=201=E3=80=81=E8=A1=A8=E5=A4=B4?=
=?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=B4=B9=E7=94=A8=E6=8A=B5=E6=B6=88=E5=AD=97?=
=?UTF-8?q?=E6=AE=B5=EF=BC=8C=E4=B8=8B=E6=8B=89=E9=80=89=E9=A1=B9=EF=BC=88?=
=?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=AD=97=E5=85=B8=EF=BC=89=20=20=202?=
=?UTF-8?q?=E3=80=81=E9=87=87=E8=B4=AD=E5=A4=84=E7=90=86=E7=BB=93=E6=9E=9C?=
=?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=A4=E4=B8=AA=E5=AD=97=E6=AE=B5=EF=BC=8C?=
=?UTF-8?q?CS=E5=92=8CCO=EF=BC=8CCS=E4=BB=8ECS=E7=BB=84=E4=B8=AD=E9=80=89?=
=?UTF-8?q?=E6=8B=A9=EF=BC=8CCO=E6=89=8B=E5=B7=A5=E5=BD=95=E5=85=A5?=
=?UTF-8?q?=E5=AD=97=E7=AC=A6=E4=B8=B2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/modules/tooling/searchToolApply.vue | 127 ++++++++++++++++--
1 file changed, 113 insertions(+), 14 deletions(-)
diff --git a/src/views/modules/tooling/searchToolApply.vue b/src/views/modules/tooling/searchToolApply.vue
index 864c9e9..43e9014 100644
--- a/src/views/modules/tooling/searchToolApply.vue
+++ b/src/views/modules/tooling/searchToolApply.vue
@@ -282,6 +282,13 @@
采购员
+
+ CS
+
+
+
+
+
@@ -385,11 +392,24 @@
-
+
+
+
+
+ CS
+
+
+
+
+
+
+
+
+
@@ -442,6 +462,13 @@
采购员
+
+ CS
+
+
+
+
+
@@ -544,11 +571,24 @@
-
+
+
+
+
+ CS
+
+
+
+
+
+
+
+
+
@@ -755,6 +795,13 @@
采购员
+
+ CS
+
+
+
+
+
@@ -858,11 +905,24 @@
-
+
+
+
+
+ CS
+
+
+
+
+
+
+
+
+
@@ -1019,7 +1079,10 @@ export default {
userName: this.$store.state.user.name,
nodeId: '',
sp: '',
- isReject: ''
+ isReject: '',
+ offsetOfExpenses: '',
+ cs: '',
+ csName: '',
},
valueNull: '******',
modelData: {
@@ -1031,6 +1094,7 @@ export default {
supplierName: '',
allCost: '',
remark2: '',
+ co: '',
},
toolDetailSearchData:{
projectId: '',
@@ -1388,6 +1452,24 @@ export default {
fixed: '',
columnWidth: 60
},
+ {
+ userId: this.$store.state.user.name,
+ functionId: 106002,
+ serialNumber: '106002Table1CsName',
+ tableId: "106002Table1",
+ tableName: "刀具申请主表",
+ columnProp: "csName",
+ headerAlign: "center",
+ align: "left",
+ columnLabel: "CS",
+ columnHidden: false,
+ columnImage: false,
+ columnSortable: false,
+ sortLv: 0,
+ status: true,
+ fixed: '',
+ columnWidth: 60
+ },
{
userId: this.$store.state.user.name,
functionId: 106002,
@@ -2139,6 +2221,12 @@ export default {
this.$nextTick(() => {
this.$triggerInputEvent(this.$refs.purchaserName);
});
+ } else if (this.tagNo === 2051) {
+ this.dataForm.cs = val.username
+ this.dataForm.csName = val.user_display
+ this.$nextTick(() => {
+ this.$triggerInputEvent(this.$refs.csName);
+ });
}
},
@@ -2336,7 +2424,10 @@ export default {
userName: this.$store.state.user.name,
nodeId: row.nodeId,
sp: row.sp,
- isReject: row.isReject
+ isReject: row.isReject,
+ cs: row.cs,
+ csName: row.csName,
+ offsetOfExpenses: row.offsetOfExpenses,
}
searchProjectToolApplyDetail({
site: row.site,
@@ -2377,7 +2468,10 @@ export default {
userName: this.$store.state.user.name,
nodeId: row.nodeId,
sp: row.sp,
- isReject: row.isReject
+ isReject: row.isReject,
+ cs: row.cs,
+ csName: row.csName,
+ offsetOfExpenses: row.offsetOfExpenses,
}
searchProjectToolApplyDetail({
site: row.site,
@@ -2415,7 +2509,10 @@ export default {
totalCost: row.totalCost,
menuId: this.$route.meta.menuId,
userName: this.$store.state.user.name,
- nodeId: row.nodeId
+ nodeId: row.nodeId,
+ offsetOfExpenses: row.offsetOfExpenses,
+ cs: row.cs,
+ csName: row.csName
}
searchProjectToolApplyDetail({
site: row.site,
@@ -2562,6 +2659,7 @@ export default {
this.pageIndex1 = val
this.addChangeDetail()
},
+
openModelMessage() {
this.modelData = {
site: this.currentRow.site,
@@ -2572,6 +2670,7 @@ export default {
supplierName: this.currentRow.supplierName,
allCost: this.currentRow.allCost,
remark2: this.currentRow.remark2,
+ co: this.currentRow.co
}
},
@@ -2591,6 +2690,7 @@ export default {
supplierName: this.currentRow.supplierName,
allCost: this.currentRow.allCost,
remark2: this.currentRow.remark2,
+ co: this.currentRow.co
}
this.modelFlag = true
},
@@ -2625,7 +2725,7 @@ export default {
this.currentRow.allCost = this.modelData.allCost
this.currentRow.totalCost = this.modelData.totalCost
this.currentRow.remark2 = this.modelData.remark2
-
+ this.currentRow.co = this.modelData.co
this.$message({
message: '操作成功',
type: 'success',
@@ -2641,8 +2741,8 @@ export default {
})
})
},
- saveHeaderMessage2() {
+ saveHeaderMessage2() {
saveProjectHeaderMessage(this.modelData).then(({data}) => {
if (data && data.code === 0) {
this.modelFlag = false;
@@ -2653,13 +2753,12 @@ export default {
this.currentRow.allCost = this.modelData.allCost
this.currentRow.totalCost = this.modelData.totalCost
this.currentRow.remark2 = this.modelData.remark2
-
+ this.currentRow.co = this.modelData.co
this.$message({
message: '操作成功',
type: 'success',
duration: 1500,
- onClose: () => {
- }
+ onClose: () => {}
})
} else {
this.$alert(data.msg, '错误', {
@@ -2667,8 +2766,8 @@ export default {
})
}
})
-
},
+
// 同意提交
agreeSubmit() {
this.$confirm(`是否确认提交?`, '提示', {
@@ -2755,6 +2854,7 @@ export default {
}
this.visible = false
this.visibleU = false
+ this.search()
this.refreshCurrentTabTable()
// this.$message({
// message: '操作成功',
@@ -2989,7 +3089,6 @@ export default {
activated() {
this.checkSuperAdmin()
if (this.$route.params.type === 'tokenLogin') {
- console.log("进来啦")
if (this.$route.params.docNo) {
this.searchData.applyNo = this.$route.params.docNo
}