|
@@ -18,24 +18,24 @@
|
|
|
</template>
|
|
</template>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
-<!-- <el-table-column fixed="right" label="operation" width="180"><!– 操作 –>-->
|
|
|
|
|
-<!-- <template slot-scope="scope">-->
|
|
|
|
|
-<!-- <el-dropdown size="small" trigger="click">-->
|
|
|
|
|
-<!-- <el-button type="primary" size="small" @click.stop="">-->
|
|
|
|
|
-<!-- Operate on this data<!– 操作该数据 –><i class="el-icon-arrow-down el-icon--right"></i>-->
|
|
|
|
|
-<!-- </el-button>-->
|
|
|
|
|
-<!-- <el-dropdown-menu slot="dropdown">-->
|
|
|
|
|
-<!-- <el-dropdown-item command="edit" @click.native="handleEdit(scope.row)" v-if="permission.hasPermission(`shop/edit`)">Edit order<!– 编辑订单 –></el-dropdown-item>-->
|
|
|
|
|
-<!-- <el-dropdown-item command="delivery" @click.native="handleShowDeliveryDialog(scope.row)" v-if="permission.hasPermission(`shop/order-delivery`) && scope.row['STATUS'] === '1' && scope.row['DELIVERY_STATUS'] === '0' ">deliver goods<!– 发货 –></el-dropdown-item>-->
|
|
|
|
|
-<!-- <el-dropdown-item command="refund" @click.native="handleRefund(scope.row.SN)" v-if="permission.hasPermission(`shop/order-delivery`) && scope.row['PAY_TYPE'] === 'pay_stack' && scope.row['STATUS'] === '1' && scope.row['DELIVERY_STATUS'] === '0' ">Refund<!– 退款 –></el-dropdown-item>-->
|
|
|
|
|
-<!-- </el-dropdown-menu>-->
|
|
|
|
|
-<!-- </el-dropdown>-->
|
|
|
|
|
-<!-- </template>-->
|
|
|
|
|
-<!-- </el-table-column>-->
|
|
|
|
|
|
|
+ <el-table-column fixed="right" label="operation" width="180"><!– 操作 –>
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <el-dropdown size="small" trigger="click">
|
|
|
|
|
+ <el-button type="primary" size="small" @click.stop="">
|
|
|
|
|
+ Operate on this data<i class="el-icon-arrow-down el-icon--right"></i>
|
|
|
|
|
+ </el-button>
|
|
|
|
|
+ <el-dropdown-menu slot="dropdown">
|
|
|
|
|
+ <el-dropdown-item command="edit" @click.native="handleDel(scope.row)" v-if="permission.hasPermission(`shop/edit`)">删除订单</el-dropdown-item>
|
|
|
|
|
+ <!-- <el-dropdown-item command="edit" @click.native="handleEdit(scope.row)" v-if="permission.hasPermission(`shop/edit`)">Edit order<!– 编辑订单 –></el-dropdown-item>
|
|
|
|
|
+ <el-dropdown-item command="delivery" @click.native="handleShowDeliveryDialog(scope.row)" v-if="permission.hasPermission(`shop/order-delivery`) && scope.row['STATUS'] === '1' && scope.row['DELIVERY_STATUS'] === '0' ">deliver goods<!– 发货 –></el-dropdown-item>
|
|
|
|
|
+ <el-dropdown-item command="refund" @click.native="handleRefund(scope.row.SN)" v-if="permission.hasPermission(`shop/order-delivery`) && scope.row['PAY_TYPE'] === 'pay_stack' && scope.row['STATUS'] === '1' && scope.row['DELIVERY_STATUS'] === '0' ">Refund<!– 退款 –></el-dropdown-item> -->
|
|
|
|
|
+ </el-dropdown-menu>
|
|
|
|
|
+ </el-dropdown>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
</el-table>
|
|
</el-table>
|
|
|
<div class="white-box-footer">
|
|
<div class="white-box-footer">
|
|
|
<el-button type="success" size="small" @click="handleExport" v-show="permission.hasPermission(`shop/order-list-export`)">Export Excel</el-button>
|
|
<el-button type="success" size="small" @click="handleExport" v-show="permission.hasPermission(`shop/order-list-export`)">Export Excel</el-button>
|
|
|
- <el-dropdown-item command="edit" @click.native="handleDel(scope.row)" v-if="permission.hasPermission(`shop/edit`)">Delete Order</el-dropdown-item>
|
|
|
|
|
<el-button type="primary" size="small" @click="handleExportPDF" v-show="permission.hasPermission(`shop/order-list-export`)">Export PDF</el-button>
|
|
<el-button type="primary" size="small" @click="handleExportPDF" v-show="permission.hasPermission(`shop/order-list-export`)">Export PDF</el-button>
|
|
|
<pagination :total="totalCount" :page_size="pageSize" @size-change="handleSizeChange"
|
|
<pagination :total="totalCount" :page_size="pageSize" @size-change="handleSizeChange"
|
|
|
@current-change="handleCurrentChange"></pagination>
|
|
@current-change="handleCurrentChange"></pagination>
|
|
@@ -195,7 +195,7 @@
|
|
|
type: 'success'
|
|
type: 'success'
|
|
|
})
|
|
})
|
|
|
this.submitButtonStat = false
|
|
this.submitButtonStat = false
|
|
|
- this.$router.go(-1)
|
|
|
|
|
|
|
+ this.$router.go(0)
|
|
|
}).catch(() => {
|
|
}).catch(() => {
|
|
|
this.submitButtonStat = false
|
|
this.submitButtonStat = false
|
|
|
})
|
|
})
|