diff --git a/src/request/customer_management.js b/src/request/customer_management.js
index 15230c9..dc79979 100644
--- a/src/request/customer_management.js
+++ b/src/request/customer_management.js
@@ -4,4 +4,7 @@ export const getSecurityCustomerList = (params) =>
post("/securitycustomer/listForSecurityCustomerManagement", params); // 客户管理列表
export const addSafetyCustomerView = (params) =>
- upload("/securitycustomer/add", params); // 添加运单登记
+ upload("/securitycustomer/add", params); // 添加
+
+export const deleteSafetyCustomerView = (params) =>
+ upload("/securitycustomer/delete", params); // 删除
diff --git a/src/request/location_management.js b/src/request/location_management.js
index 8f8469b..699e05d 100644
--- a/src/request/location_management.js
+++ b/src/request/location_management.js
@@ -5,3 +5,6 @@ export const getSecurityLocationList = (params) =>
export const addSafetyLocationView = (params) =>
post("/securitylocation/add", params); // 添加地段管理
+
+export const deleteSafetyLocationView = (params) =>
+ post("/securitylocation/delete", params); // 添加地段管理
diff --git a/src/request/waybill_registration.js b/src/request/waybill_registration.js
index 950f55d..716821d 100644
--- a/src/request/waybill_registration.js
+++ b/src/request/waybill_registration.js
@@ -4,10 +4,16 @@ export const getSecurityWaybillreList = (params) =>
post("/waybillregistration/listForSecurityWaybillre", params); // 运单登记列表
export const getSecurityPerson = (params) =>
- post("/waybillregistration/forSecurityPerson", params); // 部门人员信息
+ post("/waybillregistration/forSecurityPerson", params);
-export const addSafetyThingsChecView = (params) =>
+export const addSafetyWaybillreView = (params) =>
upload("/waybillregistration/add", params); // 添加运单登记
+export const deleteSafetyWaybillreView = (params) =>
+ upload("/waybillregistration/delete", params); // 删除运单登记
+
export const getUserPersonTypeListAll = (params) =>
post("/user/listSelectPersonType", params);
+
+export const dateteSecurityAllWaybillre = (params) =>
+ post("/waybillregistration/deleteAll", params); // 批量删除
diff --git a/src/views/electronic_waybill_management/customer_management/index.vue b/src/views/electronic_waybill_management/customer_management/index.vue
index 2369099..5fdd017 100644
--- a/src/views/electronic_waybill_management/customer_management/index.vue
+++ b/src/views/electronic_waybill_management/customer_management/index.vue
@@ -64,11 +64,22 @@
-
+
-
+
-
+
+
+
+ 删除
+
+
+
{
const resData = await getSecurityPerson({});
data.unitsList = [resData.pd];
};
+// 删除事件
+const deleteItem = async (value) => {
+ await ElMessageBox.confirm(`确定要删除吗?`, {
+ type: "warning",
+ });
+ await deleteSafetyCustomerView({ CUSTOMERMANAGEMENT_ID: value });
+ ElMessage.success("删除成功");
+ fnGetData();
+};
diff --git a/src/views/electronic_waybill_management/location_managemen/index.vue b/src/views/electronic_waybill_management/location_managemen/index.vue
index c439d77..bc2097e 100644
--- a/src/views/electronic_waybill_management/location_managemen/index.vue
+++ b/src/views/electronic_waybill_management/location_managemen/index.vue
@@ -64,9 +64,20 @@
-
+
-
+
+
+
+ 删除
+
+
+
{
const resData = await getSecurityPerson({});
data.unitsList = [resData.pd];
};
+// 删除事件
+const deleteItem = async (value) => {
+ await ElMessageBox.confirm(`确定要删除吗?`, {
+ type: "warning",
+ });
+ await deleteSafetyLocationView({ LOCATIONMANAGEMENT_ID: value });
+ ElMessage.success("删除成功");
+ fnGetData();
+};
diff --git a/src/views/electronic_waybill_management/waybill_registration/add.vue b/src/views/electronic_waybill_management/waybill_registration/add.vue
index 2bd8296..2e91ca7 100644
--- a/src/views/electronic_waybill_management/waybill_registration/add.vue
+++ b/src/views/electronic_waybill_management/waybill_registration/add.vue
@@ -85,10 +85,10 @@
placeholder="请选择货运挂车"
>
@@ -107,9 +107,9 @@
>
@@ -121,13 +121,12 @@
placeholder="请选择委联系人"
@change="changeCLIENTCONTACTPERSON"
>
-
-
-
+
@@ -148,9 +147,9 @@
>
@@ -159,19 +158,15 @@
-
-
-
+
@@ -197,9 +192,9 @@
>
@@ -211,16 +206,12 @@
placeholder="请选择起运地址"
@change="changeSHIPPINGADDRESS"
>
-
-
-
+ :key="item.ADDRESSDETAILS_ID"
+ :label="item.ADDRESSDETAILS"
+ :value="item.ADDRESSDETAILS_ID"
+ />
@@ -241,9 +232,9 @@
>
@@ -255,16 +246,12 @@
placeholder="请选择起运地址"
@change="changeDESTINATIONADDRESS"
>
-
-
-
+ :key="item.ADDRESSDETAILS_ID"
+ :label="item.ADDRESSDETAILS"
+ :value="item.ADDRESSDETAILS_ID"
+ />
@@ -285,9 +272,8 @@