| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- import tools from 'submodule/utils/tools'
- const dr = tools.getDateRange()
- var getDate = () => {
- return [dr.startdate, dr.enddate]
- }
- export default {
- carrier_account: [
- {
- field: 'orgName',
- name: '物流公司名称',
- search: { type: 'text', placeholder: '请输入 物流公司' }
- },
- {
- field: 'tradeType',
- name: '物流充值交易模式',
- width: 80,
- formatter: 'tradeType',
- search: { type: 'select', obj: 'searchTradeType', placeholder: '物流充值交易模式', style: 'width:210px' }
- },
- {
- field: 'p2pEnable',
- name: '物流充值工具',
- formatter: 'p2pEnable',
- search: { type: 'select', obj: 'p2pEnable', placeholder: '物流充值工具' }
- },
- {
- field: 'otherPay',
- name: '其他付款启用状态',
- width: 80,
- stype: 'slot',
- slot: 'otherPay',
- search: { type: 'select', obj: 'otherPay', placeholder: '其他付款启用状态', style: 'width:210px' }
- },
- {
- field: 'rechargeAmount',
- name: '近 30 日充值(元)',
- stype: 'slot',
- slot: 'rechargeAmount'
- },
- {
- field: 'mainAccountBalance',
- name: '主户余额(元)'
- },
- {
- field: 'truckBalance',
- name: '车辆总余额(元)'
- },
- {
- field: 'updateDate',
- name: '更新时间',
- stype: 'format',
- formatFun: 'formateTData all'
- },
- {
- name: '操作',
- stype: 'opt',
- list: [{ type: 'set', name: '设置' }, { type: 'refresh', name: '刷新' }]
- }
- ],
- get recharge_log() {
- return [
- { field: 'createDate', hide: true, search: { type: 'date-picker', model: '', value: getDate(), dtime: ['00:00:00', '23:59:59'], findField: 'createDate', clearable: false } },
- {
- field: 'orgName',
- name: '物流公司名称',
- search: { type: 'text', placeholder: '请输入 物流公司' }
- },
- {
- field: 'changeAmount',
- name: '充值金额(元)'
- },
- {
- field: 'rechargeType',
- name: '充值工具',
- formatter: 'rechargeType',
- search: { type: 'select', obj: 'rechargeType', placeholder: '充值工具' }
- },
- { field: 'createDate', width: 140, name: '记录时间', stype: 'format', formatFun: 'formateTData all' }
- ]
- }
- }
|