|
|
@@ -139,7 +139,6 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- // x-crud
|
|
|
app: null,
|
|
|
tabIndex: '0',
|
|
|
tabsData: [
|
|
|
@@ -169,11 +168,7 @@ export default {
|
|
|
val: 0
|
|
|
}
|
|
|
],
|
|
|
- // dialog
|
|
|
optionData: {}
|
|
|
- // drawer
|
|
|
- // 详情drawer
|
|
|
- // shipData: []
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
@@ -188,7 +183,6 @@ export default {
|
|
|
selfGetCancel(id) {
|
|
|
this.$refs[`popover-` + id].doClose();
|
|
|
},
|
|
|
- // drawer
|
|
|
noSendShipFn(item) {
|
|
|
this.$refs[`popover-` + item.id].doClose();
|
|
|
|
|
|
@@ -212,8 +206,6 @@ export default {
|
|
|
this.$refs.orderDetail.init();
|
|
|
});
|
|
|
},
|
|
|
- // dialog
|
|
|
- // crud
|
|
|
handleClick(tab, e) {
|
|
|
console.log(tab, e);
|
|
|
this.app.refresh({ status: this.tabIndex });
|
|
|
@@ -229,11 +221,6 @@ export default {
|
|
|
ctx.service(this.$service.order)
|
|
|
.set('table', {
|
|
|
columns: [
|
|
|
- // {
|
|
|
- // type: 'selection',
|
|
|
- // align: 'center',
|
|
|
- // width: '60'
|
|
|
- // },
|
|
|
{
|
|
|
prop: 'orderSn',
|
|
|
label: '单号',
|
|
|
@@ -275,8 +262,13 @@ export default {
|
|
|
label: '总价',
|
|
|
align: 'center'
|
|
|
},
|
|
|
+, {
|
|
|
+ prop: 'sendCost',
|
|
|
+ label: '运费',
|
|
|
+ align: 'center'
|
|
|
+ },
|
|
|
{
|
|
|
- prop: 'actPrice',
|
|
|
+ prop: 'realPrice',
|
|
|
label: '实付款',
|
|
|
align: 'center',
|
|
|
emptyText: '无',
|
|
|
@@ -298,15 +290,9 @@ export default {
|
|
|
prop: 'status',
|
|
|
label: '状态',
|
|
|
align: 'center'
|
|
|
- },
|
|
|
- {
|
|
|
- prop: 'inform',
|
|
|
- label: '通知送到',
|
|
|
- align: 'center'
|
|
|
}
|
|
|
],
|
|
|
-
|
|
|
- on: {
|
|
|
+ on: {
|
|
|
'row-click': (row, column) => {
|
|
|
this.detailShowFn(row)
|
|
|
}
|
|
|
@@ -419,4 +405,4 @@ export default {
|
|
|
top: 9px;
|
|
|
}
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|