|
@@ -21,6 +21,12 @@
|
|
|
text: '复制万里牛单号',
|
|
|
action: () => clickCopyWLNCode(),
|
|
|
},
|
|
|
+ props.selectStatus
|
|
|
+ ? {}
|
|
|
+ : {
|
|
|
+ text: '同步订单',
|
|
|
+ action: () => clickSynchronousOrder(),
|
|
|
+ },
|
|
|
]"
|
|
|
@get-list="getList"
|
|
|
@clickReset="clickReset">
|
|
@@ -693,6 +699,12 @@ const clickCopyWLNCode = () => {
|
|
|
});
|
|
|
});
|
|
|
};
|
|
|
+const clickSynchronousOrder = () => {
|
|
|
+ proxy.post("/orderHandle/bathSyncOrder", {}).then(() => {
|
|
|
+ ElMessage.success("同步完成成功");
|
|
|
+ getList();
|
|
|
+ });
|
|
|
+};
|
|
|
const openAfterSale = ref(false);
|
|
|
const rowData = ref({});
|
|
|
const clickAfterSale = (row) => {
|