Authored by jiran.zhao

'一件代发'

@@ -60,7 +60,7 @@ @@ -60,7 +60,7 @@
60 </Select> 60 </Select>
61 </div> 61 </div>
62 </filter-item> 62 </filter-item>
63 - <form-item> 63 + <filter-item>
64 <div class="select-container"> 64 <div class="select-container">
65 <Input v-model.trim="filters.targetAccount.model" :placeholder="filters.targetAccount.label" /> 65 <Input v-model.trim="filters.targetAccount.model" :placeholder="filters.targetAccount.label" />
66 </div> 66 </div>
@@ -81,7 +81,12 @@ @@ -81,7 +81,12 @@
81 <div class="select-container"> 81 <div class="select-container">
82 <Input v-model.trim="filters.orderCode.model" :placeholder="filters.orderCode.label" /> 82 <Input v-model.trim="filters.orderCode.model" :placeholder="filters.orderCode.label" />
83 </div> 83 </div>
84 - </form-item> 84 + <div class="select-container">
  85 + <Button type="primary" @click="search">查询</Button>
  86 + <Button type="primary" @click="reset">全部</Button>
  87 + <Button>导出</Button>
  88 + </div>
  89 + </filter-item>
85 </layout-filter> 90 </layout-filter>
86 <layout-list> 91 <layout-list>
87 <Table border :columns="tableCols" :data="tableData"></Table> 92 <Table border :columns="tableCols" :data="tableData"></Table>
@@ -90,23 +90,19 @@ export default function() { @@ -90,23 +90,19 @@ export default function() {
90 }, 90 },
91 tableCols: [ 91 tableCols: [
92 { 92 {
93 - title: 'ID', 93 + title: '账务ID',
94 key: 'id', 94 key: 'id',
95 align: 'center', 95 align: 'center',
96 }, 96 },
97 { 97 {
98 - title: '申请时间',  
99 - key: 'createTime', 98 + title: '提现时间',
  99 + key: 'withdrawTime',
  100 + align: 'center',
  101 + },
  102 + {
  103 + title: '商家名称',
  104 + key: 'supplierName',
100 align: 'center', 105 align: 'center',
101 - render(h, params) {  
102 - const time = moment.unix(params.row.createTime);  
103 - return (  
104 - <div>  
105 - <div>{time.format('YYYY/MM/DD')}</div>  
106 - <div>{time.format('HH:mm:ss')}</div>  
107 - </div>  
108 - );  
109 - },  
110 }, 106 },
111 { 107 {
112 title: '商家收款账户', 108 title: '商家收款账户',
@@ -114,17 +110,39 @@ export default function() { @@ -114,17 +110,39 @@ export default function() {
114 align: 'center', 110 align: 'center',
115 }, 111 },
116 { 112 {
117 - title: '申请金额(元)',  
118 - key: 'applyAmount', 113 + title: '订单号',
  114 + key: 'orderCode',
119 align: 'center', 115 align: 'center',
120 }, 116 },
121 { 117 {
122 - title: '服务费(元)',  
123 - key: 'serviceAmount', 118 + title: 'SKU',
  119 + key: 'productSku',
  120 + align: 'center',
  121 + },
  122 + {
  123 + title: '商品名称',
  124 + key: 'productName',
  125 + align: 'center',
  126 + },
  127 + {
  128 + title: '业务单据号',
  129 + key: 'statementSn',
124 align: 'center', 130 align: 'center',
125 }, 131 },
126 { 132 {
127 - title: '成功金额(元)', 133 + title: '账务类型',
  134 + key: 'clearingType',
  135 + align: 'center',
  136 + },
  137 + {
  138 + title: '子服务类型',
  139 + key: 'subClearingType',
  140 + align: 'center',
  141 + },
  142 + {
  143 + title: '服务费金额(元)',
  144 + key: 'serviceAmount',
  145 + align: 'center',
128 }, 146 },
129 { 147 {
130 title: '提现状态', 148 title: '提现状态',
@@ -140,32 +158,18 @@ export default function() { @@ -140,32 +158,18 @@ export default function() {
140 className: 'status-column', 158 className: 'status-column',
141 }, 159 },
142 { 160 {
143 - title: '说明',  
144 - key: 'remarks',  
145 - },  
146 - {  
147 - title: '操作人',  
148 - key: 'applyPid',  
149 - align: 'center',  
150 - },  
151 - {  
152 - title: '操作',  
153 - key: 'action',  
154 - width: 180, 161 + title: '提现成功日期',
  162 + key: 'createTime',
155 align: 'center', 163 align: 'center',
156 - render: (h, params) => {  
157 - const row = params.row; 164 + render(h, params) {
  165 + const time = moment.unix(params.row.createTime);
158 return ( 166 return (
159 <div> 167 <div>
160 - <div class="cell-action-row">  
161 - <i-button type="primary" size="small" onClick={() => this.getDetailById(row.id)}>  
162 - 提现明细  
163 - </i-button>  
164 - </div> 168 + <div>{time.format('YYYY/MM/DD')}</div>
  169 + <div>{time.format('HH:mm:ss')}</div>
165 </div> 170 </div>
166 ); 171 );
167 }, 172 },
168 - className: 'action-column',  
169 }, 173 },
170 ], 174 ],
171 tableData: [], 175 tableData: [],