Commit 2b335659 by 前端

4.32功能代码提交

1 parent 242d148a
......@@ -739,9 +739,12 @@ export const transferAccountsStatusShow = {
}
//转账管理 转账类型
export const transferTypeList = [{ confId: 1, confValue: "服务商款项" }]
export const transferTypeList = [
{ confId: 1, confValue: "服务商款项" },
{ confId: 2, confValue: "流量方款项" }
]
export const transferTypeShow = { 1: "服务商款项" }
export const transferTypeShow = { 1: "服务商款项", 2: "流量方款项" }
//提现管理 状态
export const withdrawalManageStatusList = [
......
......@@ -150,7 +150,10 @@ service.interceptors.response.use(
// console.log(dataAxios)
// errorCreate(`${dataAxios[ruleResult.message_key]}`)
if (errCodes.includes(dataAxios[ruleResult.code_key])) {
errorCreate(`${errCodeMsg[dataAxios[ruleResult.code_key]]}`)
return errorCreate(`${errCodeMsg[dataAxios[ruleResult.code_key]]}`)
} else {
//返回约定定义之外的错误码直接取message
return errorCreate(`${dataAxios[ruleResult.message_key]}`)
}
break
}
......
......@@ -60,6 +60,10 @@
v-if="detailInfo.rewardAndPenaltyCost || detailInfo.rewardAndPenaltyCost == 0">
{{ detailInfo.rewardAndPenaltyCost }}元
</el-form-item>
<el-form-item label="流量费:"
v-if="detailInfo.shopTrafficMoney || detailInfo.shopTrafficMoney == 0">
{{ detailInfo.shopTrafficMoney }}元
</el-form-item>
</el-form>
</div>
<div class="examine-record">
......@@ -154,13 +158,6 @@ export default {
'驳回': 'reddot'
},
examineStatus: 1,
// statusForShow: {
// 2: { text: '运营审核', status: '通过' },
// 4: { text: '运营审核', status: '驳回' },
// 5: { text: '商务审核', status: '通过' },
// 6: { text: '商务审核', status: '驳回' },
// 7: { text: '采购驳回', status: '驳回' }
// }
transferAccountsStatusShow: deepClone(transferAccountsStatusShow),
sceneTypeOpts: deepClone(sceneType),
transferTypeShow: deepClone(transferTypeShow),
......@@ -230,6 +227,9 @@ export default {
if (this.detailInfo.marketingCost || this.detailInfo.marketingCost == 0) {
costTypeList.push('营销费')
}
if (this.detailInfo.shopTrafficMoney || this.detailInfo.shopTrafficMoney == 0) {
costTypeList.push('流量费')
}
if (costTypeList.length > 0) {
this.detailInfo.costTypeShow = costTypeList.join(',')
} else {
......
......@@ -136,7 +136,8 @@ export default {
sceneTypes: [],
transferTrandeNo: '',
withdrawTradeNo: '',
transferAccountsDate: ''
transferAccountsDate: '',
transferType: ''
},
searchFormSearch: {},
showFormData: [{
......@@ -161,6 +162,7 @@ export default {
label: '状态',
name: 'status',
type: 'select',
isClear: true,
optionList: [],
optionId: 'confId',
optionLabel: 'confValue',
......@@ -192,6 +194,15 @@ export default {
type: 'datePicker',
isClear: true,
pickerOptions: 'rangePickerOptions'
}, {
label: '转账类型',
name: 'transferType',
type: 'select',
isClear: true,
optionList: [],
optionId: 'confId',
optionLabel: 'confValue',
optionsName: 'transferTypeList'
}],
getListApi: transferAccountsRecordPage,
tableParams: {
......@@ -259,6 +270,9 @@ export default {
if (cellValue.marketingCost || cellValue.marketingCost == 0) {
costTypeList.push('营销费')
}
if (cellValue.shopTrafficMoney || cellValue.shopTrafficMoney == 0) {
costTypeList.push('流量费')
}
if (costTypeList.length > 0) {
return costTypeList.join(',')
} else {
......@@ -371,18 +385,6 @@ export default {
this.searchFormSearch.transferEndTimeStr = Util.dateFormate(this.searchFormSearch.transferAccountsDate[1], 'YYYY-MM-DD') + ' 23:59:59'
delete this.searchFormSearch.transferAccountsDate
}
// if (this.searchFormSearch.orderCode) {
// this.searchFormSearch.orderCodes[0] = this.searchFormSearch.orderCode
// delete this.searchFormSearch.orderCode
// }
// if (this.searchFormSearch.merchantId) {
// this.searchFormSearch.merchantIds[0] = this.searchFormSearch.merchantId
// delete this.searchFormSearch.merchantId
// }
// if (this.searchFormSearch.transferOutMerchantId) {
// this.searchFormSearch.transferInMerchantId[0] = this.searchFormSearch.transferOutMerchantId
// delete this.searchFormSearch.transferOutMerchantId
// }
if (this.searchFormSearch.status) {
this.searchFormSearch.statuses[0] = this.searchFormSearch.status
delete this.searchFormSearch.status
......@@ -424,7 +426,8 @@ export default {
sceneTypes: [],
transferTrandeNo: '',
withdrawTradeNo: '',
transferAccountsDate: ''
transferAccountsDate: '',
transferType: ''
}
this.$refs.recordTable.refreshTable(false, true)
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!