|
|
@ -441,6 +441,11 @@
|
|
|
|
// 勾选前后同的id
|
|
|
|
// 勾选前后同的id
|
|
|
|
const diffIds = findDifferentElements(v, old)
|
|
|
|
const diffIds = findDifferentElements(v, old)
|
|
|
|
const rows = getSelectRows()
|
|
|
|
const rows = getSelectRows()
|
|
|
|
|
|
|
|
const params = []
|
|
|
|
|
|
|
|
if (feeParams.value.currency) params.push({FieldName:"currency",FieldValue:feeParams.value.currency,ConditionalType:1})
|
|
|
|
|
|
|
|
if (feeParams.value.feeType) params.push({FieldName:"feeType",FieldValue:feeParams.value.feeType,ConditionalType:1})
|
|
|
|
|
|
|
|
if (feeParams.value.feeName) params.push({FieldName:"feeName",FieldValue:feeParams.value.feeName,ConditionalType:1})
|
|
|
|
|
|
|
|
if (feeParams.value.customerId) params.push({FieldName:"customerId",FieldValue:feeParams.value.customerId,ConditionalType:1})
|
|
|
|
if (v.length > old.length) {
|
|
|
|
if (v.length > old.length) {
|
|
|
|
// 增加勾选
|
|
|
|
// 增加勾选
|
|
|
|
diffIds.forEach(item => {
|
|
|
|
diffIds.forEach(item => {
|
|
|
@ -450,11 +455,7 @@
|
|
|
|
})
|
|
|
|
})
|
|
|
|
let customerId = btype[0]?.customerId
|
|
|
|
let customerId = btype[0]?.customerId
|
|
|
|
btype = btype[0]?.businessType
|
|
|
|
btype = btype[0]?.businessType
|
|
|
|
const params = {}
|
|
|
|
console.log(feeParams.value)
|
|
|
|
if (feeParams.value.currency) params['currency'] = feeParams.value.currency
|
|
|
|
|
|
|
|
if (feeParams.value.currency) params['feeType'] = feeParams.value.feeType
|
|
|
|
|
|
|
|
if (feeParams.value.currency) params['feeName'] = feeParams.value.feeName
|
|
|
|
|
|
|
|
if (feeParams.value.currency) params['customerId'] = feeParams.value.customerId
|
|
|
|
|
|
|
|
feeTabel.value.init([item], 'apply', btype, customerId, JSON.stringify(params)).then(res => {
|
|
|
|
feeTabel.value.init([item], 'apply', btype, customerId, JSON.stringify(params)).then(res => {
|
|
|
|
allFeeData[item] = res
|
|
|
|
allFeeData[item] = res
|
|
|
|
})
|
|
|
|
})
|
|
|
@ -468,13 +469,13 @@
|
|
|
|
// 获取业务类型传给下个子组件
|
|
|
|
// 获取业务类型传给下个子组件
|
|
|
|
let btype = rows[0].businessType
|
|
|
|
let btype = rows[0].businessType
|
|
|
|
let customerId = rows[0].customerId
|
|
|
|
let customerId = rows[0].customerId
|
|
|
|
feeTabel.value.init([v[v.length - 1]], 'apply', btype, customerId)
|
|
|
|
feeTabel.value.init([v[v.length - 1]], 'apply', btype, customerId, JSON.stringify(params))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
// 点击单行平行切换
|
|
|
|
// 点击单行平行切换
|
|
|
|
let btype = rows[0].businessType
|
|
|
|
let btype = rows[0].businessType
|
|
|
|
let customerId = rows[0].customerId
|
|
|
|
let customerId = rows[0].customerId
|
|
|
|
feeTabel.value.init(v, 'apply', btype, customerId)
|
|
|
|
feeTabel.value.init(v, 'apply', btype, customerId, JSON.stringify(params))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
rrmb.value = 0
|
|
|
|
rrmb.value = 0
|
|
|
|
prmb.value = 0
|
|
|
|
prmb.value = 0
|
|
|
|