diff --git a/src/api/oms/emisGoods.js b/src/api/oms/emisGoods.js
index 7858803..e8c3b13 100644
--- a/src/api/oms/emisGoods.js
+++ b/src/api/oms/emisGoods.js
@@ -17,6 +17,14 @@ export function listSimpleEmisGoods(query) {
})
}
+export function listMyGoodsSimple(query) {
+ return request({
+ url: '/oms2c/emisGoods/listMyGoodsSimple',
+ method: 'get',
+ params: query
+ })
+}
+
// 查询货物信息详细
diff --git a/src/api/oms/emisWaybill.js b/src/api/oms/emisWaybill.js
index 7fd69f8..a97d57d 100644
--- a/src/api/oms/emisWaybill.js
+++ b/src/api/oms/emisWaybill.js
@@ -175,3 +175,13 @@ export function delEmisWaybill(id) {
method: 'delete'
})
}
+
+
+// 取消运单
+export function cancelOrder(data) {
+ return request({
+ url: '/oms2c/emisWaybill/cancelOrder',
+ method: 'post',
+ data: data
+ })
+}
diff --git a/src/api/system/user.js b/src/api/system/user.js
index b52d273..c1fc521 100644
--- a/src/api/system/user.js
+++ b/src/api/system/user.js
@@ -38,12 +38,12 @@ export function getNewEmpCode(ownerSiteCode) {
}
-
// 查询用户详细
-export function getUser(userId) {
+export function getUser(id) {
return request({
- url: '/system/user/' + parseStrEmpty(userId),
- method: 'get'
+ url: '/system/user/getInfo',
+ method: 'get',
+ params:{id:parseStrEmpty(id)}
})
}
@@ -74,9 +74,9 @@ export function delUser(userId) {
}
// 用户密码重置
-export function resetUserPwd(userId, password) {
+export function resetUserPwd(userName, password) {
const data = {
- userId,
+ userName,
password
}
return request({
@@ -87,9 +87,9 @@ export function resetUserPwd(userId, password) {
}
// 用户状态修改
-export function changeUserStatus(userId, status) {
+export function changeUserStatus(id, status) {
const data = {
- userId,
+ id,
status
}
return request({
@@ -148,9 +148,9 @@ export function uploadAvatar(data) {
}
// 查询授权角色
-export function getAuthRole(userId) {
+export function getAuthRole(id) {
return request({
- url: '/system/user/authRole/' + userId,
+ url: '/system/user/authRole/' + id,
method: 'get'
})
}
diff --git a/src/views/oms/EmisBaseTools/TakeEmpPicker.vue b/src/views/oms/EmisBaseTools/TakeEmpPicker.vue
index 61a4f9a..d5d0b54 100644
--- a/src/views/oms/EmisBaseTools/TakeEmpPicker.vue
+++ b/src/views/oms/EmisBaseTools/TakeEmpPicker.vue
@@ -205,7 +205,7 @@ import { listBindSalesmen } from "@/api/oms/emisStaff";
this.loading = true;
this.queryParams.searchValue = val;
- this.queryParams.userId = key;
+ this.queryParams.empCode = key;
listBindSalesmen(this.queryParams).then(response => {
this.loading = false;
@@ -219,7 +219,7 @@ import { listBindSalesmen } from "@/api/oms/emisStaff";
}
if(!this.isInputing ){
- let selectItem = response.rows.find(item => item.userId == this.svalue);
+ let selectItem = response.rows.find(item => item.empCode == this.svalue);
if(selectItem){
this.slable = selectItem.empName;
}
diff --git a/src/views/oms/emisWaybill/OrderRecord.vue b/src/views/oms/emisWaybill/OrderRecord.vue
index 313e18b..dccbefc 100644
--- a/src/views/oms/emisWaybill/OrderRecord.vue
+++ b/src/views/oms/emisWaybill/OrderRecord.vue
@@ -144,7 +144,7 @@
-
+
@@ -472,7 +472,7 @@
-
+
@@ -483,8 +483,6 @@
-->
-
-
@@ -495,11 +493,6 @@
-
@@ -527,7 +520,13 @@
-->
-
+
diff --git a/src/views/oms/emisWaybill/SendOrderbillList.vue b/src/views/oms/emisWaybill/SendOrderbillList.vue
index 8d4ba49..a5756c2 100644
--- a/src/views/oms/emisWaybill/SendOrderbillList.vue
+++ b/src/views/oms/emisWaybill/SendOrderbillList.vue
@@ -240,7 +240,7 @@
size="mini"
icon="el-icon-cancel"
:disabled="single"
- @click="handleUpdate"
+ @click="handleCancel"
>取消订单
@@ -525,7 +525,7 @@