| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211 |
- import tools from 'submodule/utils/tools'
- const dr = tools.getDateRange()
- var getDate = () => {
- return [dr.startdate, dr.enddate]
- }
- export default {
- /** 物流审核 */
- get page_list_unauth_carrier() {
- return [
- {
- field: 'orgName',
- name: '物流公司名称',
- search: { type: 'text', placeholder: '请输入 公司名称' }
- },
- {
- field: 'authStatus',
- name: '企业认证',
- stype: 'slot',
- slot: 'authStatus'
- },
- {
- field: 'roadTransportStatus',
- name: '资质审核',
- stype: 'slot',
- slot: 'roadTransportStatus',
- search: { type: 'select', obj: 'roadTransportStatus', placeholder: '资质审核状态' }
- },
- {
- field: 'createrName',
- name: '发起人'
- },
- {
- field: 'updateDate',
- name: '更新时间',
- formatFun: 'formateTData all',
- stype: 'format'
- },
- {
- field: 'useropts',
- stype: 'opt',
- ispush: false,
- name: '操作',
- fixed: 'right',
- list(args) {
- const rv = [{ type: 'details', name: '详情' }]
- if (args.row.roadTransportStatus === 1) {
- rv.unshift({ type: 'review', name: '审核' })
- }
- return rv
- }
- }
- ]
- },
- /** 物流公司资料 */
- get page_list_carrier() {
- return [
- {
- field: 'orgName',
- name: '物流公司名称',
- search: { type: 'text', placeholder: '请输入 公司名称' },
- width: '200px'
- },
- {
- field: 'status',
- name: '物流公司启用状态',
- stype: 'slot',
- slot: 'status',
- search: { type: 'select', obj: 'status', placeholder: '公司启用状态' },
- width: '80px'
- },
- {
- field: 'tradeType',
- name: '物流充值交易模式',
- stype: 'slot',
- slot: 'tradeType',
- search: { type: 'select', obj: 'tradeType', placeholder: '物流充值交易模式', style: 'width:210px' },
- width: '80px'
- },
- {
- field: 'authStatus',
- name: '企业认证',
- stype: 'slot',
- slot: 'authStatus'
- },
- {
- field: 'roadTransportStatus',
- name: '资质审核',
- stype: 'slot',
- slot: 'roadTransportStatus'
- },
- {
- field: 'contractStatus',
- name: '合同签约',
- stype: 'slot',
- slot: 'contractStatus'
- },
- {
- field: 'authorizeStatus',
- name: '平台账户授权',
- stype: 'slot',
- slot: 'authorizeStatus'
- },
- {
- field: 'accountStatus',
- name: '平台提现公户',
- stype: 'slot',
- slot: 'accountStatus'
- },
- {
- field: 'createrName',
- name: '创建人',
- width: '200px'
- },
- {
- field: 'updateDate',
- name: '更新时间',
- formatFun: 'formateTData all',
- stype: 'format',
- width: '140px'
- },
- {
- field: 'useropts',
- stype: 'opt',
- name: '操作',
- fixed: 'right',
- list: [{ type: 'details', name: '详情' }]
- }
- ]
- },
- /** 物流资金管理 */
- get carrier_account() {
- return [
- {
- 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' }
- ]
- }
- }
|