@@ -372,3 +372,11 @@ export function generateBill(data) {
})
}
+// 陆运业务里委托里箱信息的删除
+export function orderitemRemove(data) {
+ return request({
+ url: '/api/blade-land/order-item/remove',
+ method: 'post',
+ params:data
+ })
+}
@@ -615,6 +615,7 @@
<script>
import {getLazyTree} from "@/api/base/region";
import {
+ orderitemRemove,
saveDelegationList,
detailDelegationList,
removeCollection,
@@ -2085,6 +2086,15 @@ export default {
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
+ if (row.id) {
+ // 删除接口
+ orderitemRemove({ids:row.id}).then(res=>{
+ this.$message({
+ type: 'success',
+ message: '删除成功'
+ });
+ }
this.entrustList.splice(index, 1);
}).catch(() => {
this.$message({