Commit 87810d0e authored by dragondean@qq.com's avatar dragondean@qq.com

补充出乎拆单参数

parent d70f4da4
...@@ -112,9 +112,9 @@ export function createSplitItem(data) { ...@@ -112,9 +112,9 @@ export function createSplitItem(data) {
} }
// 删除订单拆单项 // 删除订单拆单项
export function deleteSplitItem(id) { export function deleteSplitItem(id, shipmentSplit = false) {
return request({ return request({
url: '/order/split-item/delete?id=' + id, url: '/order/split-item/delete?id=' + id + '&shipmentSplit=' + shipmentSplit,
method: 'delete' method: 'delete'
}) })
} }
......
...@@ -860,8 +860,8 @@ export default { ...@@ -860,8 +860,8 @@ export default {
}, },
removeShop(id) { removeShop(id) {
let that = this; let that = this;
that.$confirm(this.$t("是否移除货物吗?")).then(function () { that.$confirm(this.$t("确定移除货物吗?")).then(function () {
deleteSplitItem(id).then((res) => { deleteSplitItem(id, true).then((res) => {
that.$message.success(that.$t("移除成功")); that.$message.success(that.$t("移除成功"));
that.querySplitGoods(); that.querySplitGoods();
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment