Browse Source

ERF 附件上传现在会把 erf_exp_apply.work_order_no 写到 sys_oss.order_ref4

master
han\hanst 5 days ago
parent
commit
bacfb335e6
  1. 8
      src/views/modules/erf/components/erfAttachmentManager.vue
  2. 1
      src/views/modules/erf/expApplyList.vue

8
src/views/modules/erf/components/erfAttachmentManager.vue

@ -165,6 +165,11 @@ export default {
type: String, type: String,
required: true required: true
}, },
// sys_oss.order_ref4
workOrderNo: {
type: String,
default: ''
},
createdBy: { createdBy: {
type: String, type: String,
default: '' default: ''
@ -191,6 +196,7 @@ export default {
ossForm: { ossForm: {
orderRef1: 'ERF', // orderRef1: 'ERF', //
orderRef2: '', // orderRef2: '', //
orderRef4: '', //
orderRef6: 'EXP_APPLY', // orderRef6: 'EXP_APPLY', //
remark: '' remark: ''
}, },
@ -263,6 +269,7 @@ export default {
}) })
this.fileList = [] this.fileList = []
this.ossForm.orderRef2 = this.applyNo this.ossForm.orderRef2 = this.applyNo
this.ossForm.orderRef4 = this.workOrderNo || ''
this.ossForm.remark = '' this.ossForm.remark = ''
this.ossVisible = true this.ossVisible = true
this.pasteImageCounter = 0 this.pasteImageCounter = 0
@ -359,6 +366,7 @@ export default {
} }
formData.append('orderRef1', 'ERF') formData.append('orderRef1', 'ERF')
formData.append('orderRef2', this.ossForm.orderRef2) formData.append('orderRef2', this.ossForm.orderRef2)
formData.append('orderRef4', this.ossForm.orderRef4)
formData.append('orderRef6', 'EXP_APPLY') formData.append('orderRef6', 'EXP_APPLY')
formData.append('createdBy', this.createdBy) formData.append('createdBy', this.createdBy)
formData.append('orderRef5', this.ossForm.remark) formData.append('orderRef5', this.ossForm.remark)

1
src/views/modules/erf/expApplyList.vue

@ -294,6 +294,7 @@
v-if="currentRow.applyNo" v-if="currentRow.applyNo"
ref="attachmentManager" ref="attachmentManager"
:apply-no="currentRow.applyNo" :apply-no="currentRow.applyNo"
:work-order-no="currentRow.workOrderNo"
:created-by="currentRow.projectLeader" :created-by="currentRow.projectLeader"
:disabled="false" :disabled="false"
:height="detailHeight"> :height="detailHeight">

Loading…
Cancel
Save