From 6ef9e5189ac1888b8c4c504d5c5d3f431807ff56 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期六, 15 三月 2025 11:57:40 +0800
Subject: [PATCH] 修改电路试验单位
---
src/components/do/a8-file-handling/DistributionCollectionRecord.vue | 31 ++++++++++++++++++++++++++-----
1 files changed, 26 insertions(+), 5 deletions(-)
diff --git a/src/components/do/a8-file-handling/DistributionCollectionRecord.vue b/src/components/do/a8-file-handling/DistributionCollectionRecord.vue
index 11f38ad..b7b9d78 100644
--- a/src/components/do/a8-file-handling/DistributionCollectionRecord.vue
+++ b/src/components/do/a8-file-handling/DistributionCollectionRecord.vue
@@ -516,11 +516,32 @@
}else{
let {documentCode,id,issueUser,recycleUser,receiveUser,name,version,documentState,issueCode,recycleCode,issueDate,recycleDate,issueNote,recycleNote} = this.addInfo
// 娣诲姞鍥炴敹璁板綍
- this.$axios.post(this.$api.manageDocumentList.doManageDocumentIssueRecycle,{
- documentCode,id,issueUser,recycleUser,receiveUser,name,version,documentState,issueCode,recycleCode,issueDate,recycleDate,issueNote,recycleNote
- },{headers: {
- 'Content-Type': 'application/json'
- },noQS:true}).then(res=>{
+ let obj = {
+ documentCode,
+ id,
+ issueUser,
+ recycleUser,
+ receiveUser,
+ name,
+ version,
+ documentState,
+ issueCode,
+ recycleCode,
+ issueDate,
+ recycleDate,
+ issueNote,
+ recycleNote
+ }
+ let fd = new FormData();
+ for(let key in obj){
+ fd.append(key,obj[key])
+ }
+ this.$axios.post(this.$api.manageDocumentList.doManageDocumentIssueRecycle,fd,{
+ headers: {
+ 'Content-Type': 'multipart/form-data'
+ },
+ noQs:true
+ }).then(res=>{
this.addLoading = false;
if(res.code==200){
this.$message.success('鎻愪氦鎴愬姛')
--
Gitblit v1.9.3