diff --git a/api/newFun.js b/api/newFun.js
index 1f40174..4b5931e 100644
--- a/api/newFun.js
+++ b/api/newFun.js
@@ -176,6 +176,10 @@ export const updateDelivery = (param) => {
export const updateAddress = (param) => {
return request.post('StoreKeeper/updateAddress', param)
}
+//店长 查地址
+export const addressList = (param) => {
+ return request.post('Address/list', param)
+}
// 店长同意拒绝
export const audit = (param) => {
return request.post('storeKeeper/audit', param)
diff --git a/pages/news3/shopOrder.vue b/pages/news3/shopOrder.vue
index 1427a37..0985e79 100644
--- a/pages/news3/shopOrder.vue
+++ b/pages/news3/shopOrder.vue
@@ -62,8 +62,10 @@
发货
- 拒绝
- 同意
+ 拒绝
+ 同意
删除订单
@@ -274,8 +276,8 @@
this.getList()
},
onLoad(option) {
- this.delivery_type = option.delivery_type ||'';
- this.user_id = option.user_id||''
+ this.delivery_type = option.delivery_type || '';
+ this.user_id = option.user_id || ''
},
methods: {
reset() {
@@ -312,8 +314,8 @@
payMethod: this.payIndex > 0 ? this.payList[this.payIndex].val : '',
orderSource: this.sourceIndex > 0 ? this.selectList[this.sourceIndex].val : '',
betweenTime: this.endTime ? [this.startTime, this.endTime].join(',') : '',
- delivery_type:this.delivery_type,
- user_id:this.user_id,
+ delivery_type: this.delivery_type,
+ user_id: this.user_id,
});
if (status == 200) {
uni.hideLoading();
@@ -395,6 +397,19 @@
return idList.join(',')
},
+ async getAddressList() {
+
+ let {
+ status,
+ message,
+ data
+ } = await newFunApi.addressList({
+ user_id: 10006
+ });
+ if (status == 200) {
+ console.log(data)
+ }
+ },
// 同意拒绝
refuseOrder(item, status) {
this.itemInfor = item;