|
@@ -6,6 +6,8 @@
|
|
|
|
|
|
<script lang="ts">
|
|
|
import { Component, Prop, Vue, Watch } from "vue-property-decorator";
|
|
|
+import payOrderTag from './components/tag.vue'
|
|
|
+import orderFrom from './components/orderFrom.vue'
|
|
|
import {query} from '@/api/orderPay'
|
|
|
@Component({components:{}})
|
|
|
export default class OrderPay extends Vue {
|
|
@@ -51,29 +53,34 @@ export default class OrderPay extends Vue {
|
|
|
}
|
|
|
}],
|
|
|
[{
|
|
|
+ span:6,
|
|
|
label:'支付渠道',
|
|
|
prop:'payment',
|
|
|
component:'by-input'
|
|
|
},{
|
|
|
+ span:6,
|
|
|
label:'卖家ID',
|
|
|
prop:'sellerId',
|
|
|
component:'by-input'
|
|
|
},{
|
|
|
+ span:6,
|
|
|
label:'卖家收款账号',
|
|
|
prop:'sellerAccount',
|
|
|
component:'by-input'
|
|
|
- },{
|
|
|
- label:'支付时间',
|
|
|
- prop:'payDate',
|
|
|
- component:'by-date-picker',
|
|
|
- compConfig:{
|
|
|
- attr:{
|
|
|
- editable:false,
|
|
|
- type:'datetimerange',
|
|
|
- format:'yyyy-MM-dd HH:mm:ss'
|
|
|
- }
|
|
|
- }
|
|
|
- }]
|
|
|
+ }
|
|
|
+ // ,{
|
|
|
+ // label:'支付时间',
|
|
|
+ // prop:'payDate',
|
|
|
+ // component:'by-date-picker',
|
|
|
+ // compConfig:{
|
|
|
+ // attr:{
|
|
|
+ // editable:false,
|
|
|
+ // type:'datetimerange',
|
|
|
+ // format:'yyyy-MM-dd HH:mm:ss'
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ ]
|
|
|
]
|
|
|
},
|
|
|
tool:{
|
|
@@ -86,7 +93,7 @@ export default class OrderPay extends Vue {
|
|
|
attr:{
|
|
|
size:'mini',
|
|
|
seq:true,
|
|
|
- align:'center',
|
|
|
+ // align:'center',
|
|
|
},
|
|
|
columns:[{
|
|
|
title:'内部订单号',
|
|
@@ -95,15 +102,28 @@ export default class OrderPay extends Vue {
|
|
|
},{
|
|
|
title:'订单来源',
|
|
|
field:'sourceFrom',
|
|
|
- width:120
|
|
|
+ width:150,
|
|
|
+ component:orderFrom
|
|
|
},{
|
|
|
title:'外部支付单号',
|
|
|
field:'outerPayId',
|
|
|
- width:120
|
|
|
+ width:150
|
|
|
},{
|
|
|
title:'是否支付',
|
|
|
field:'isOrderPay',
|
|
|
- width:120
|
|
|
+ width:120,
|
|
|
+ component:'text-change',
|
|
|
+ compConfig:{
|
|
|
+ attr:{
|
|
|
+ data:[{
|
|
|
+ value:0,
|
|
|
+ label:'否'
|
|
|
+ },{
|
|
|
+ value:1,
|
|
|
+ label:'是'
|
|
|
+ }]
|
|
|
+ }
|
|
|
+ }
|
|
|
},{
|
|
|
title:'支付渠道',
|
|
|
field:'payment',
|
|
@@ -131,19 +151,16 @@ export default class OrderPay extends Vue {
|
|
|
},{
|
|
|
title:'支付时间',
|
|
|
field:'payDate',
|
|
|
- width:120
|
|
|
+ width:140
|
|
|
},{
|
|
|
title:'审核状态',
|
|
|
field:'status',
|
|
|
- width:120
|
|
|
- },{
|
|
|
- title:'审核时间',
|
|
|
- field:'confirmDate',
|
|
|
- width:120
|
|
|
+ width:120,
|
|
|
+ component:payOrderTag
|
|
|
},{
|
|
|
title:'店铺名称',
|
|
|
field:'shopName',
|
|
|
- width:120
|
|
|
+ width:140
|
|
|
}]
|
|
|
}
|
|
|
}
|
|
@@ -208,5 +225,6 @@ export default class OrderPay extends Vue {
|
|
|
.order-pay{
|
|
|
height: 100%;
|
|
|
width: 100%;
|
|
|
+ overflow-y: hidden;
|
|
|
}
|
|
|
</style>
|