t20-common-lib 0.15.11 → 0.15.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -100,7 +100,8 @@ export const fileUploadTableMixin = {
|
|
|
100
100
|
appno: this.uploadParam.appno,
|
|
101
101
|
bussValue: this.mapdata[row.type],
|
|
102
102
|
attno: row.type,
|
|
103
|
-
bussId:
|
|
103
|
+
bussId:
|
|
104
|
+
this.uploadParam && this.uploadParam.paymentTemplate === 'REQUEST_PAYOUT' ? '' : this.uploadParam.bussId,
|
|
104
105
|
cltno: JSON.parse(sessionStorage.getItem('userInfo') || '{}').cltNo,
|
|
105
106
|
memo: file.name,
|
|
106
107
|
recordname: file.name,
|
|
@@ -164,7 +165,7 @@ export const fileUploadTableMixin = {
|
|
|
164
165
|
if (this.uploadParam.bussValue && this.uploadParam.bussValue.includes(',')) {
|
|
165
166
|
this.uploadParam.bussValue.split(',').map(async t => {
|
|
166
167
|
const rr = await getUploadedFile({
|
|
167
|
-
bussId: this.uploadParam
|
|
168
|
+
bussId: this.uploadParam && this.uploadParam.bussId,
|
|
168
169
|
bussValue: t
|
|
169
170
|
})
|
|
170
171
|
const data = rr && rr.data != null ? rr.data : rr
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
:disabled="item.isEditable === 0"
|
|
38
38
|
:label.sync="formData[group.prop][item.nameProp]"
|
|
39
39
|
v-bind="item.props"
|
|
40
|
+
@change="(val, option) => $emit('change', { val, option, groupProp: group.prop, item, group })"
|
|
40
41
|
@dialogChange="obj => $emit('dialog-change', { obj: obj || {}, groupProp: group.prop, item, group })"
|
|
41
42
|
/>
|
|
42
43
|
<slot
|
|
@@ -136,12 +137,12 @@ export default {
|
|
|
136
137
|
/** 是否展示附件锚点(默认关闭,不影响现有用法) */
|
|
137
138
|
needFile: {
|
|
138
139
|
type: Boolean,
|
|
139
|
-
default:
|
|
140
|
+
default: true
|
|
140
141
|
},
|
|
141
142
|
/** true 时使用 fileUploadTable 插槽自定义附件区 */
|
|
142
143
|
needFileDIY: {
|
|
143
144
|
type: Boolean,
|
|
144
|
-
default:
|
|
145
|
+
default: false
|
|
145
146
|
},
|
|
146
147
|
/** 电子档案 / 上传参数,与 Demo DynamicForm uploadParam 一致 */
|
|
147
148
|
uploadParam: {
|