52646 【线上】标准入库流程-国内入库 修订节点 回执说明信息 无法保存

This commit is contained in:
宋伟佳
2022-04-21 11:11:37 +08:00
parent c117196b72
commit 2d73e6c417
2 changed files with 9 additions and 3 deletions
@@ -707,7 +707,7 @@
</div> </div>
</div> </div>
<div class="content" v-if="active === '3'"> <div class="content" v-if="active === '3'">
<div class="flow-list"> <div >
<el-table <el-table
height="100%" height="100%"
ref="selection" ref="selection"
@@ -1563,6 +1563,7 @@ export default {
data() { data() {
return { return {
submitType: '', submitType: '',
bpnId: '',
modalShowRoleFlag: false, modalShowRoleFlag: false,
fileList: [], fileList: [],
caFileList: [], caFileList: [],
@@ -2612,6 +2613,7 @@ export default {
} else { } else {
//表单文件处理 //表单文件处理
this.getFormFieldList(processForm.form) this.getFormFieldList(processForm.form)
this.commentText = processForm.form.commentText
} }
} }
}).catch(e => { }).catch(e => {
@@ -2623,6 +2625,7 @@ export default {
* @description: 动态表单读取 * @description: 动态表单读取
*/ */
getFormFieldList(item) { getFormFieldList(item) {
console.log(item);
this.$nextTick(() => { this.$nextTick(() => {
this.form = JSON.parse(JSON.stringify(item)) this.form = JSON.parse(JSON.stringify(item))
this.defaultCheckedKeys = [this.form.standSystem]; this.defaultCheckedKeys = [this.form.standSystem];
@@ -2665,7 +2668,6 @@ export default {
// }) // })
// }, // },
initializeFileList(property, value) { initializeFileList(property, value) {
console.log(property);
switch (property) { switch (property) {
case 'xgd': case 'xgd':
this.getFileList(value, this.xgdFileList); this.getFileList(value, this.xgdFileList);
@@ -2758,9 +2760,10 @@ export default {
//表单文件处理 //表单文件处理
this.fileInfoHandle(); this.fileInfoHandle();
this.form.country = this.countryArr; this.form.country = this.countryArr;
this.form.commentText = this.commentText;
this.saveLoading = true this.saveLoading = true
let _formData = new FormData() let _formData = new FormData()
_formData.append('id', this.bpnId) _formData.append("id", this.bpnId || "");
// _formData.append('createUser', this.$store.getters.userInfo.userId) // _formData.append('createUser', this.$store.getters.userInfo.userId)
// _formData.append('createUserName', this.$store.getters.userInfo.uName) // _formData.append('createUserName', this.$store.getters.userInfo.uName)
_formData.append('prcType', '1') _formData.append('prcType', '1')
@@ -2843,6 +2846,8 @@ export default {
this.form.commentText = this.commentText this.form.commentText = this.commentText
this.form.approvalOpinion = this.approvalOpinion this.form.approvalOpinion = this.approvalOpinion
const json = JSON.stringify(this.form); const json = JSON.stringify(this.form);
console.log(json);
return;
this.$http.post('lawss/activiti/completeTask', { this.$http.post('lawss/activiti/completeTask', {
taskIds: this.taskIds, taskIds: this.taskIds,
userId: this.userId, userId: this.userId,
@@ -2924,6 +2929,7 @@ export default {
this.getData() this.getData()
}, },
mounted() { mounted() {
this.bpnId = this.$route.query.bpnId
this.processTable() this.processTable()
this.$http.get('sys/dictype/getDicTypeListCode', '', { this.$http.get('sys/dictype/getDicTypeListCode', '', {
_this: this _this: this