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

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

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

Loading…
Cancel
Save