Commit 2b335659 by 前端

4.32功能代码提交

1 parent 242d148a
...@@ -739,9 +739,12 @@ export const transferAccountsStatusShow = { ...@@ -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 = [ export const withdrawalManageStatusList = [
......
...@@ -150,7 +150,10 @@ service.interceptors.response.use( ...@@ -150,7 +150,10 @@ service.interceptors.response.use(
// console.log(dataAxios) // console.log(dataAxios)
// errorCreate(`${dataAxios[ruleResult.message_key]}`) // errorCreate(`${dataAxios[ruleResult.message_key]}`)
if (errCodes.includes(dataAxios[ruleResult.code_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 break
} }
......
...@@ -60,6 +60,10 @@ ...@@ -60,6 +60,10 @@
v-if="detailInfo.rewardAndPenaltyCost || detailInfo.rewardAndPenaltyCost == 0"> v-if="detailInfo.rewardAndPenaltyCost || detailInfo.rewardAndPenaltyCost == 0">
{{ detailInfo.rewardAndPenaltyCost }}元 {{ detailInfo.rewardAndPenaltyCost }}元
</el-form-item> </el-form-item>
<el-form-item label="流量费:"
v-if="detailInfo.shopTrafficMoney || detailInfo.shopTrafficMoney == 0">
{{ detailInfo.shopTrafficMoney }}元
</el-form-item>
</el-form> </el-form>
</div> </div>
<div class="examine-record"> <div class="examine-record">
...@@ -154,13 +158,6 @@ export default { ...@@ -154,13 +158,6 @@ export default {
'驳回': 'reddot' '驳回': 'reddot'
}, },
examineStatus: 1, examineStatus: 1,
// statusForShow: {
// 2: { text: '运营审核', status: '通过' },
// 4: { text: '运营审核', status: '驳回' },
// 5: { text: '商务审核', status: '通过' },
// 6: { text: '商务审核', status: '驳回' },
// 7: { text: '采购驳回', status: '驳回' }
// }
transferAccountsStatusShow: deepClone(transferAccountsStatusShow), transferAccountsStatusShow: deepClone(transferAccountsStatusShow),
sceneTypeOpts: deepClone(sceneType), sceneTypeOpts: deepClone(sceneType),
transferTypeShow: deepClone(transferTypeShow), transferTypeShow: deepClone(transferTypeShow),
...@@ -230,6 +227,9 @@ export default { ...@@ -230,6 +227,9 @@ export default {
if (this.detailInfo.marketingCost || this.detailInfo.marketingCost == 0) { if (this.detailInfo.marketingCost || this.detailInfo.marketingCost == 0) {
costTypeList.push('营销费') costTypeList.push('营销费')
} }
if (this.detailInfo.shopTrafficMoney || this.detailInfo.shopTrafficMoney == 0) {
costTypeList.push('流量费')
}
if (costTypeList.length > 0) { if (costTypeList.length > 0) {
this.detailInfo.costTypeShow = costTypeList.join(',') this.detailInfo.costTypeShow = costTypeList.join(',')
} else { } else {
......
...@@ -136,7 +136,8 @@ export default { ...@@ -136,7 +136,8 @@ export default {
sceneTypes: [], sceneTypes: [],
transferTrandeNo: '', transferTrandeNo: '',
withdrawTradeNo: '', withdrawTradeNo: '',
transferAccountsDate: '' transferAccountsDate: '',
transferType: ''
}, },
searchFormSearch: {}, searchFormSearch: {},
showFormData: [{ showFormData: [{
...@@ -161,6 +162,7 @@ export default { ...@@ -161,6 +162,7 @@ export default {
label: '状态', label: '状态',
name: 'status', name: 'status',
type: 'select', type: 'select',
isClear: true,
optionList: [], optionList: [],
optionId: 'confId', optionId: 'confId',
optionLabel: 'confValue', optionLabel: 'confValue',
...@@ -192,6 +194,15 @@ export default { ...@@ -192,6 +194,15 @@ export default {
type: 'datePicker', type: 'datePicker',
isClear: true, isClear: true,
pickerOptions: 'rangePickerOptions' pickerOptions: 'rangePickerOptions'
}, {
label: '转账类型',
name: 'transferType',
type: 'select',
isClear: true,
optionList: [],
optionId: 'confId',
optionLabel: 'confValue',
optionsName: 'transferTypeList'
}], }],
getListApi: transferAccountsRecordPage, getListApi: transferAccountsRecordPage,
tableParams: { tableParams: {
...@@ -259,6 +270,9 @@ export default { ...@@ -259,6 +270,9 @@ export default {
if (cellValue.marketingCost || cellValue.marketingCost == 0) { if (cellValue.marketingCost || cellValue.marketingCost == 0) {
costTypeList.push('营销费') costTypeList.push('营销费')
} }
if (cellValue.shopTrafficMoney || cellValue.shopTrafficMoney == 0) {
costTypeList.push('流量费')
}
if (costTypeList.length > 0) { if (costTypeList.length > 0) {
return costTypeList.join(',') return costTypeList.join(',')
} else { } else {
...@@ -371,18 +385,6 @@ export default { ...@@ -371,18 +385,6 @@ export default {
this.searchFormSearch.transferEndTimeStr = Util.dateFormate(this.searchFormSearch.transferAccountsDate[1], 'YYYY-MM-DD') + ' 23:59:59' this.searchFormSearch.transferEndTimeStr = Util.dateFormate(this.searchFormSearch.transferAccountsDate[1], 'YYYY-MM-DD') + ' 23:59:59'
delete this.searchFormSearch.transferAccountsDate 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) { if (this.searchFormSearch.status) {
this.searchFormSearch.statuses[0] = this.searchFormSearch.status this.searchFormSearch.statuses[0] = this.searchFormSearch.status
delete this.searchFormSearch.status delete this.searchFormSearch.status
...@@ -424,7 +426,8 @@ export default { ...@@ -424,7 +426,8 @@ export default {
sceneTypes: [], sceneTypes: [],
transferTrandeNo: '', transferTrandeNo: '',
withdrawTradeNo: '', withdrawTradeNo: '',
transferAccountsDate: '' transferAccountsDate: '',
transferType: ''
} }
this.$refs.recordTable.refreshTable(false, true) 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!