Przeglądaj źródła

报销提示调整

sangwenwei 5 miesięcy temu
rodzic
commit
16b6bee9f9

+ 2 - 1
src/views/ccpm/reimbursement/info/ReimbursementForm.vue

@@ -1623,7 +1623,8 @@
 								this.inputForm.fileStatus = '2'
 								this.reimbursementService.saveFile(this.inputForm).then((da) => {
 									let newTitle = `${this.$store.state.user.name} 发起了 ${da.name} 的 [${da.no}] - ` + describe
-									callback(da.businessTable, da.businessId, this.inputForm,'',this.inputForm.createById,newTitle,title,processDefinitionIdFile,procDefKeyFile)
+									let fileMessage = `${da.name} 的 [${da.no}] 报销文件补充已经发起,请继续审核或关闭`
+									callback(da.businessTable, da.businessId, this.inputForm,'',this.inputForm.createById,newTitle,title,processDefinitionIdFile,procDefKeyFile,fileMessage)
 									this.loading = false
 								}).catch(() => {
 									this.loading = false

+ 2 - 1
src/views/consultancy/reimbursement/info/ReimbursementForm.vue

@@ -1563,7 +1563,8 @@
 								this.inputForm.fileStatus = '2'
 								this.reimbursementService.saveFile(this.inputForm).then((da) => {
 									let newTitle = `${this.$store.state.user.name} 发起了 ${da.name} 的 [${da.no}] - ` + describe
-									callback(da.businessTable, da.businessId, this.inputForm,'',this.inputForm.createById,newTitle,title,processDefinitionIdFile,procDefKeyFile)
+									let fileMessage = `${da.name} 的 [${da.no}] 报销文件补充已经发起,请继续审核或关闭`
+									callback(da.businessTable, da.businessId, this.inputForm,'',this.inputForm.createById,newTitle,title,processDefinitionIdFile,procDefKeyFile,fileMessage)
 									this.loading = false
 								}).catch(() => {
 									this.loading = false

+ 2 - 1
src/views/cw/reimbursementApproval/info/ReimbursementForm.vue

@@ -1816,7 +1816,8 @@
 									this.inputForm.fileStatus = '2'
 									this.reimbursementApprovalService.saveFile(this.inputForm).then((da) => {
 										let newTitle = `${this.$store.state.user.name} 发起了 ${da.name} 的 [${da.no}] - ` + describe
-										callback(da.businessTable, da.businessId, this.inputForm,'',this.inputForm.createById,newTitle,title,processDefinitionIdFile,procDefKeyFile)
+										let fileMessage = `${da.name} 的 [${da.no}] 报销文件补充已经发起,请继续审核或关闭`
+										callback(da.businessTable, da.businessId, this.inputForm,'',this.inputForm.createById,newTitle,title,processDefinitionIdFile,procDefKeyFile,fileMessage)
 										this.loading = false
 									}).catch(() => {
 										this.loading = false

+ 4 - 2
src/views/flowable/task/TaskForm.vue

@@ -1534,10 +1534,11 @@ export default {
 
 		//文件补充
 		fileApply(vars){
+			let message = ""
 			if (this.formType === "2") {
 				// 外置表单
 				this.$refs.form.fileApply(
-					(businessTable, businessId, inputForm,recordType,createById,newTitle,title,procDefId,procDefKey) => {
+					(businessTable, businessId, inputForm,recordType,createById,newTitle,title,procDefId,procDefKey,fileMessage) => {
 						vars = { ...vars, ...inputForm ,recordType}
 						console.log(vars)
 						if (procDefId) {
@@ -1564,6 +1565,7 @@ export default {
 						if (!this.commonJS.isEmpty(createById)) {
 							assignee = createById
 						}
+						message = fileMessage
 						taskService
 							.start({
 								procDefId: this.procDefId,
@@ -1577,7 +1579,7 @@ export default {
 								days: this.days,
 							})
 							.then((data) => {
-								this.$message.success("启动成功");
+								this.$message.success(message);
 								// this.changeBusiness()
 								// useTabs.close();
 								// if (!this.commonJS.isEmpty(this.$route.query.routePath)) {

+ 2 - 1
src/views/reimbursement/info/ReimbursementForm.vue

@@ -1704,7 +1704,8 @@
 									this.inputForm.fileStatus = '2'
 									this.reimbursementService.saveFile(this.inputForm).then((da) => {
 										let newTitle = `${this.$store.state.user.name} 发起了 ${da.name} 的 [${da.no}] - ` + describe
-										callback(da.businessTable, da.businessId, this.inputForm,'',this.inputForm.createById,newTitle,title,processDefinitionIdFile,procDefKeyFile)
+										let fileMessage = `${da.name} 的 [${da.no}] 报销文件补充已经发起,请继续审核或关闭`
+										callback(da.businessTable, da.businessId, this.inputForm,'',this.inputForm.createById,newTitle,title,processDefinitionIdFile,procDefKeyFile,fileMessage)
 										this.loading = false
 									}).catch(() => {
 										this.loading = false

+ 2 - 1
src/views/zs/reimbursement/info/ReimbursementForm.vue

@@ -1573,7 +1573,8 @@
 								this.inputForm.fileStatus = '2'
 								this.reimbursementService.saveFile(this.inputForm).then((da) => {
 									let newTitle = `${this.$store.state.user.name} 发起了 ${da.name} 的 [${da.no}] - ` + describe
-									callback(da.businessTable, da.businessId, this.inputForm,'',this.inputForm.createById,newTitle,title,processDefinitionIdFile,procDefKeyFile)
+									let fileMessage = `${da.name} 的 [${da.no}] 报销文件补充已经发起,请继续审核或关闭`
+									callback(da.businessTable, da.businessId, this.inputForm,'',this.inputForm.createById,newTitle,title,processDefinitionIdFile,procDefKeyFile,fileMessage)
 									this.loading = false
 								}).catch(() => {
 									this.loading = false