|
@@ -208,7 +208,19 @@
|
|
|
icon="el-icon-s-order"
|
|
|
size="mini"
|
|
|
@click="openDeliveryNote"
|
|
|
- >批量更新订单状态</el-button>
|
|
|
+ >批量导入物流单号</el-button>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="1.5">
|
|
|
+ <el-button
|
|
|
+ type="danger"
|
|
|
+ plain
|
|
|
+ icon="el-icon-delete"
|
|
|
+ size="mini"
|
|
|
+ :disabled="multiple"
|
|
|
+ @click="handleOrderDelete"
|
|
|
+ v-hasPermi="['store:storeOrder:remove']"
|
|
|
+ >删除
|
|
|
+ </el-button>
|
|
|
</el-col>
|
|
|
<el-col :span="1.5">
|
|
|
<el-input
|
|
@@ -507,7 +519,7 @@
|
|
|
<el-dialog :close-on-click-modal="false" :close-on-press-escape="false" :visible.sync="importMsgOpen"
|
|
|
append-to-body title="导入结果" width="500px"
|
|
|
>
|
|
|
- <h1>操作成功!</h1>
|
|
|
+ <h1>{{importMsg}}</h1>
|
|
|
</el-dialog>
|
|
|
|
|
|
<!-- 批量发货 -->
|
|
@@ -1059,6 +1071,21 @@ export default {
|
|
|
this.compute();
|
|
|
|
|
|
},
|
|
|
+ /** 删除按钮操作 */
|
|
|
+ handleOrderDelete(row) {
|
|
|
+ const ids = row.id || this.ids;
|
|
|
+ this.$confirm('是否确认删除当前选择的订单数据项?', "警告", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning"
|
|
|
+ }).then(function () {
|
|
|
+ return delStoreOrder(ids);
|
|
|
+ }).then(() => {
|
|
|
+ this.getList();
|
|
|
+ this.msgSuccess("删除成功");
|
|
|
+ }).catch(() => {
|
|
|
+ });
|
|
|
+ },
|
|
|
/** 导出按钮操作 */
|
|
|
handleExport() {
|
|
|
if(this.queryParams.status=='00'){
|