From f874159f8f251ff2e677dc0ce963ec5a56260c50 Mon Sep 17 00:00:00 2001
From: jia <1451658316@qq.com>
Date: Mon, 11 Sep 2023 09:35:25 +0800
Subject: [PATCH 01/11] =?UTF-8?q?=E5=A7=94=E6=89=98=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../commissionedSales/addDelegation/index.vue | 50 +++--
.../initiateDelegation/index.vue | 182 ++++++++++++------
.../receivedCommission/index.vue | 89 ++++-----
pages/moreProject/moreProject.vue | 8 +-
pages/product/basicSet.vue | 2 +-
5 files changed, 187 insertions(+), 144 deletions(-)
diff --git a/pages/commissionedSales/addDelegation/index.vue b/pages/commissionedSales/addDelegation/index.vue
index 86619ff..6da72d9 100644
--- a/pages/commissionedSales/addDelegation/index.vue
+++ b/pages/commissionedSales/addDelegation/index.vue
@@ -1,12 +1,9 @@
-
-
-
+
+
-
-
-
-
-
@@ -98,20 +88,8 @@
return {
value1: 1,
value2: "",
- options1: [{
- text: "Shenzhen1",
- value: 1
- }, {
+ options1: [],
- text: "Shenzhen2",
- value: 2
- }, {
-
-
- text: "Shenzhen3",
- value: 3
- }],
- date: 1,
productList: [],
info: {
startDate: '',
@@ -122,6 +100,14 @@
selected: [],
showMonth: false
},
+ formData: {
+ entrust_mer_id: '',
+ entrust_day: 0,
+ is_type: "4",
+ product_info: [],
+ content: ''
+ },
+ type: ''
};
},
computed: {
@@ -287,6 +273,10 @@
background: #F5F5F5;
}
+ .content {
+ height: 100vh;
+ position: relative;
+ }
.release_content {
@@ -531,6 +521,10 @@
}
.release_btn {
- margin-top: 100rpx;
+
+ position: absolute;
+ bottom: 150rpx;
+ left: 50%;
+ margin-left: -347rpx;
}
\ No newline at end of file
diff --git a/pages/commissionedSales/initiateDelegation/index.vue b/pages/commissionedSales/initiateDelegation/index.vue
index 4615473..5ade2bd 100644
--- a/pages/commissionedSales/initiateDelegation/index.vue
+++ b/pages/commissionedSales/initiateDelegation/index.vue
@@ -6,7 +6,7 @@
-
+
@@ -14,10 +14,10 @@
- {{item.content}}
+ {{item.title}}
- 委托周期:{{item.day}}
+ 委托周期:{{item.credit_buy}}
@@ -28,7 +28,6 @@
待处理
-
+
+
@@ -149,7 +147,7 @@
-
+
@@ -162,7 +160,7 @@
-
+
{
this.winHeight = res.windowHeight
+ this.appInfo = res.safeAreaInsets
},
});
this.street_code = e.street
this.town = e.town
this.getCloundShop()
},
- onShow() {
+ // 分页
+ // onReachBottom() {
+ // if (this.flag) return
+ // this.status = "loading"
+ // this.page_num += 1
+ // this.flag = true
+ // this.getList().then(res => {
+ // return
+ // this.goodsList = this.goodsList.concat(res.data.data)
+ // this.flag = false
+ // if (!res.data.data.length) {
+ // this.status = "nomore"
+ // this.flag = true
+ // }
+ // })
+ // },
+
- },
onPageScroll(e) {
let that = this
this.showtit = !Boolean(e.scrollTop)
@@ -323,6 +334,7 @@
.in(this)
.select('.content')
.boundingClientRect(rect => {
+ console.log(rect)
if (rect.top <= this.headtop) {
this.pocls = 'fixed'
this.act_swiper = 'act_swiper'
@@ -419,7 +431,9 @@
street_code: this.street_code,
category_id: this.cloudList[this.current].category_id,
order: this.type,
- keyword: this.keyword
+ keyword: this.keyword,
+ // page_num: this.page_num
+
}).then(res => {
this.goodsList = res.data.list
this.showLoading = false
@@ -727,7 +741,7 @@
left: 50%;
transform: translateX(-50%);
position: fixed;
- bottom: 0;
+ // bottom: 0;
background-color: #333333;
height: 101.64rpx;
border-radius: 50.82rpx;
From 4b2dbc1be50d06094c9c1ec90ed38acefe644cf1 Mon Sep 17 00:00:00 2001
From: jia <1451658316@qq.com>
Date: Mon, 11 Sep 2023 11:56:17 +0800
Subject: [PATCH 03/11] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E5=A7=94=E6=89=98?=
=?UTF-8?q?=E5=8A=9F=E8=83=BD=E5=8F=8Atabar=E5=9B=BE=E7=89=87?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/sale.js | 16 ++-
pages.json | 24 ++--
.../delegation_details/index.vue | 61 +++++-----
.../initiateDelegation/index.vue | 96 ++++++++++------
.../receivedCommission/index.vue | 17 ++-
pages/order_pay_status/index.vue | 11 ++
pages/supply_chains/supply_chains.vue | 107 +++++++++++++-----
static/tabbar_icon/a-a.png | Bin 3995 -> 4650 bytes
static/tabbar_icon/a.png | Bin 2080 -> 1446 bytes
static/tabbar_icon/b-a.png | Bin 4042 -> 4771 bytes
static/tabbar_icon/b.png | Bin 2174 -> 2656 bytes
static/tabbar_icon/c-a.png | Bin 4914 -> 4873 bytes
static/tabbar_icon/c.png | Bin 1882 -> 1625 bytes
static/tabbar_icon/d-a.png | Bin 4335 -> 3750 bytes
static/tabbar_icon/d.png | Bin 4070 -> 2193 bytes
static/tabbar_icon/e-a.png | Bin 3867 -> 4903 bytes
static/tabbar_icon/e.png | Bin 2696 -> 2267 bytes
17 files changed, 214 insertions(+), 118 deletions(-)
diff --git a/api/sale.js b/api/sale.js
index a11ed19..c7e5ce8 100644
--- a/api/sale.js
+++ b/api/sale.js
@@ -35,8 +35,22 @@ export function checkchain(id,data) {
export function finishchain(id,data) {
return request.post("community/entrust/apply/finish/"+id, data);
}
-
+//商家申请结束委托
+export function finishentrust(id,data) {
+ return request.post("community/entrust/finish/"+id, data);
+}
//委托商品加入购物车
export function addEntrustCart(data) {
return request.post("community/entrust/addEntrustCart", data);
+}
+
+
+//获取委托商品详情
+export function entrustdetail(id) {
+ return request.get("community/entrust/"+id);
+}
+
+//编辑委托商品详情
+export function editentrust(id,data) {
+ return request.post("community/entrust/edit/"+id, data);
}
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 397cbbd..19b254a 100644
--- a/pages.json
+++ b/pages.json
@@ -1611,16 +1611,16 @@
},
{
"pagePath": "pages/plant_release/index",
- "iconPath": "static/tabbar_icon/d.png",
- "selectedIconPath": "static/tabbar_icon/d-a.png",
- "text": "发布",
- "visible": false
+ "iconPath": "static/tabbar_icon/c.png",
+ "selectedIconPath": "static/tabbar_icon/c-a.png",
+ "text": "发布"
+
},
{
"pagePath": "pages/supply_chains/supply_chains",
- "iconPath": "static/tabbar_icon/c.png",
- "selectedIconPath": "static/tabbar_icon/c-a.png",
+ "iconPath": "static/tabbar_icon/d.png",
+ "selectedIconPath": "static/tabbar_icon/d-a.png",
"text": "供应"
},
{
@@ -1629,16 +1629,8 @@
"selectedIconPath": "static/tabbar_icon/e-a.png",
"text": "我的"
}
- ],
- "midButton": {
- "width": "68px",
- "height": "70px",
- "iconWidth": "48px",
- "selectedColor": "#E93323",
- "pagePath": "pages/plant_release/index",
- "iconPath": "static/tabbar_icon/d.png",
- "text": "发布"
- }
+ ]
+
diff --git a/pages/commissionedSales/delegation_details/index.vue b/pages/commissionedSales/delegation_details/index.vue
index 05b293a..6d24b4c 100644
--- a/pages/commissionedSales/delegation_details/index.vue
+++ b/pages/commissionedSales/delegation_details/index.vue
@@ -10,7 +10,9 @@
{{objinfo.mer_status==0?"待处理":""||objinfo.mer_status==2?"已拒绝":""||objinfo.mer_status==1?"已接受":""}}
- 2020-07-07 14:14:14
+
+ {{objinfo.entrust_start_date}}
@@ -37,12 +39,12 @@
-
+
委托方:
-
+
{{objinfo.mer_info.mer_name}}
@@ -50,7 +52,7 @@
被委托方:
-
+
{{objinfo.entrust_mer_info.mer_name}}
@@ -92,7 +94,7 @@
是否结束委托:
- {{objinfo.entrust_finish==0?'未结束':""||objinfo.entrust_finish==1?'已结束':""||objinfo.entrust_finish==2?'商家拒绝':""||objinfo.entrust_finish==3?'申请':""}}
+ {{objinfo.entrust_finish==0?'未结束':""||objinfo.entrust_finish==1?'已结束':""||objinfo.entrust_finish==2?'商家拒绝':""||objinfo.entrust_finish==3?'申请':""}}
@@ -100,7 +102,7 @@
拒绝原因:
- {{objinfo.entrust_finish_refusal}}
+ {{objinfo.entrust_finish_refusal}}
@@ -122,7 +124,7 @@
-
+
@@ -150,12 +152,12 @@
img: require('@/static/images/wtt2.png')
}
],
-type:0,
+ type: 0,
}
},
onLoad(e) {
this.list(e.id)
- this.type=e.type
+ this.type = e.type
},
onShow() {
@@ -164,25 +166,27 @@ type:0,
list(id) {
entrustdetail(id).then((res) => {
-
+console.log(res.data)
this.objinfo = res.data
})
},
-
- submit(item){
- addEntrustCart({community_id:item.community_id}).then(res=>{
-
- if(res.status==200){
- this.$util.Tips({
- title: res.message,
- icon: 'success'
- })
- uni.navigateTo({
- url: '/pages/users/order_confirm/index?cartId=' + res.data.cart_id.toString()
- })
- }
-
- })
+
+ submit(item) {
+ addEntrustCart({
+ community_id: item.community_id
+ }).then(res => {
+
+ if (res.status == 200) {
+ this.$util.Tips({
+ title: res.message,
+ icon: 'success'
+ })
+ uni.navigateTo({
+ url: '/pages/users/order_confirm/index?cartId=' + res.data.cart_id.toString()
+ })
+ }
+
+ })
}
}
@@ -192,9 +196,10 @@ type:0,
\ No newline at end of file
diff --git a/pages/commissionedSales/initiateDelegation/index.vue b/pages/commissionedSales/initiateDelegation/index.vue
index 5ade2bd..d4ac509 100644
--- a/pages/commissionedSales/initiateDelegation/index.vue
+++ b/pages/commissionedSales/initiateDelegation/index.vue
@@ -17,7 +17,7 @@
{{item.title}}
- 委托周期:{{item.credit_buy}}
+ 委托周期:{{item.entrust_day}}
@@ -25,11 +25,11 @@
-
+
待处理
-
@@ -51,10 +51,10 @@
已接受
-
+
结束委托
-
+
详情
@@ -166,17 +166,17 @@
结束委托申请处理
-
- 结算周期: 30天
+
+ 结算周期: {{obj.mer_info.settle_cycle}}天
-
- 利息比例: 0.05%
+
+ 利息比例: {{obj.mer_info.interest_rate}}%
-
+
拒绝
-
+
接受
@@ -197,19 +197,19 @@
结束委托申请处理
-
- 结算周期: 30天
+
+ 结算周期: {{obj.mer_info.settle_cycle}}天
-
- 利息比例: 0.05%
+
+ 利息比例: {{obj.mer_info.interest_rate}}%
拒绝原因:
-
+
-
+
接受
@@ -228,7 +228,8 @@
import {
entrustlist,
finishchain,
- checkchain
+ checkchain,
+ finishentrust
} from '@/api/sale.js'
export default {
components: {
@@ -290,7 +291,8 @@
}
],
- obj: {}
+ obj: {},
+ refuseds:''
}
},
onLoad() {
@@ -330,7 +332,7 @@
this.activeItem = e.name; //当前class类名
this.tabTitle = e.name; //当前选的标签名
this.where.page = 1
- this.orderList=[]
+ this.orderList = []
this.where.status = e.type
this.commislist()
},
@@ -354,18 +356,18 @@
this.$refs.bindmobile3.close()
},
//提交订单
-
- order(item){
- if(item.mer_status==0&&entrust_order_id!=0){
- uni.navigateTo({
- url: '/pages/commissionedSales/delegation_details/index?id=' + item.community_id
- })
- }else{
- this.$util.Tips({
- title:'商家还没同意该订单',
- icon: 'err'
- })
- }
+
+ order(item) {
+ if (item.mer_status == 0 && entrust_order_id != 0) {
+ uni.navigateTo({
+ url: '/pages/commissionedSales/delegation_details/index?id=' + item.community_id
+ })
+ } else {
+ this.$util.Tips({
+ title: '商家还没同意该订单',
+ icon: 'err'
+ })
+ }
},
//详情
@@ -386,15 +388,41 @@
},
//结束委托
- closingorder() {
- this.$refs.bindmobile1.open()
+ closingorder(item) {
+ console.log(item)
+ this.obj=item
+ this.$refs.bindmobile2.open()
// this.$refs.bindmobile3.open()
},
+ //拒绝申请委托
+ refused() {
+ this.$refs.bindmobile2.close()
+ setTimeout(() => {
+ this.$refs.bindmobile3.open()
+ }, 1000)
+ },
// 已拒绝
declined() {
// this.$refs.bindmobile2.open()
this.$refs.bindmobile3.open()
},
+ agree(item){
+ finishentrust(item.community_id,{
+ status: 2,
+ refusal:this.refuseds
+ }).then(res => {
+
+ this.$util.Tips({
+ title: res.message,
+ icon: 'success'
+ })
+ this.orderList = []
+ this.tabTitle = "tabTwo"
+ this.$refs.bindmobile2.close()
+ this.$refs.bindmobile3.close()
+ this.commislist()
+ })
+ },
//删除订单
deleteOrder(item) {
checkchain(item.community_id, {
diff --git a/pages/commissionedSales/receivedCommission/index.vue b/pages/commissionedSales/receivedCommission/index.vue
index 63e69da..0e6775a 100644
--- a/pages/commissionedSales/receivedCommission/index.vue
+++ b/pages/commissionedSales/receivedCommission/index.vue
@@ -51,7 +51,7 @@
- 结束委托
+ 申请结束委托
-
-
-
详情
@@ -370,9 +367,9 @@
url: '/pages/commissionedSales/delegation_details/index?id=' + item.community_id + '&type=1'
})
},
- //结束委托申请
+ //申请结束委托申请
deteragrss(item) {
- console.log(item)
+
finishchain(item.community_id, {
status: 1
}).then((res) => {
@@ -384,9 +381,9 @@
this.orderList = []
this.tabTitle = "tabTwo"
this.commislist()
- this.$refs.bindmobile1.colse()
- }).catch((err)=>{
-
+ this.$refs.bindmobile1.close()
+ }).catch((err) => {
+ this.$refs.bindmobile1.close()
this.$util.Tips({
title: err,
icon: 'error'
@@ -428,7 +425,7 @@
this.orderList = []
this.tabTitle = "tabOne"
this.commislist()
- this.$refs.bindmobile1.colse()
+ this.$refs.bindmobile.close()
})
},
//审核通过 同意
diff --git a/pages/order_pay_status/index.vue b/pages/order_pay_status/index.vue
index 71d610f..a28f466 100644
--- a/pages/order_pay_status/index.vue
+++ b/pages/order_pay_status/index.vue
@@ -232,6 +232,17 @@
})
}
+ } else if (this.product_type == 99) {
+ if(val==1){
+ uni.navigateTo({
+ url: `/pages/users/order_list/relase?status=1&product_type=${this.product_type}`
+ })
+ }else{
+ uni.navigateTo({
+ url: `/pages/users/order_list/relase?status=0&product_type=${this.product_type}`
+ })
+ }
+
} else {
if(val==1){
uni.navigateTo({
diff --git a/pages/supply_chains/supply_chains.vue b/pages/supply_chains/supply_chains.vue
index 5ab73b6..8255da7 100644
--- a/pages/supply_chains/supply_chains.vue
+++ b/pages/supply_chains/supply_chains.vue
@@ -14,7 +14,11 @@
+
+
+
+
@@ -70,8 +74,6 @@
-
-
-
@@ -98,15 +97,15 @@
-
+
+
+ {{item.tit}}
+
+
-
-
- {{item.tit}}
-
-
+
@@ -147,7 +146,7 @@
-
+
@@ -225,8 +224,12 @@
height="400.09rpx">
+
+
+
+
@@ -644,7 +647,8 @@
}
.goods_list {
-
+ min-height: 100vh;
+ // background-color: red;
.goods {
display: flex;
@@ -719,7 +723,7 @@
// }
.content_sift {
- width: 730rpx;
+ width: 750rpx;
padding: 22rpx 0;
display: flex;
justify-content: space-around;
@@ -875,7 +879,7 @@
// align-items: center;
// padding: 20vh 0;
position: relative;
- height: 85vh;
+ height: 100vh;
.info {
position: absolute;
From a1fd0875d7b889e04e5858e5361a95c59930c3e0 Mon Sep 17 00:00:00 2001
From: THK3121
Date: Mon, 11 Sep 2023 14:04:47 +0800
Subject: [PATCH 07/11] revert
---
pages/nongKe/cloud_entrepot/index.vue | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/pages/nongKe/cloud_entrepot/index.vue b/pages/nongKe/cloud_entrepot/index.vue
index 5a356e9..d2a0cb2 100644
--- a/pages/nongKe/cloud_entrepot/index.vue
+++ b/pages/nongKe/cloud_entrepot/index.vue
@@ -226,7 +226,7 @@
-
+
@@ -337,7 +337,7 @@
.in(this)
.select('.content')
.boundingClientRect(rect => {
- console.log(rect)
+ // console.log(rect)
if (rect.top <= this.headtop) {
this.pocls = 'fixed'
this.act_swiper = 'act_swiper'
@@ -370,7 +370,6 @@
methods: {
cartFn() {
getCartList().then(res => {
-
this.cartList = res.data.list
this.cartList[0].list.forEach(e => {
this.totalMoney = this.totalMoney + Number(e.productAttr.price) * e.cart_num
From b775d4cf78764c8f5732f918a7c7cc9bfecb120c Mon Sep 17 00:00:00 2001
From: jia <1451658316@qq.com>
Date: Mon, 11 Sep 2023 14:09:38 +0800
Subject: [PATCH 08/11] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=8D=87=E7=BA=A7?=
=?UTF-8?q?=E5=BC=B9=E7=AA=97=EF=BC=8C=E4=BB=A5=E5=8F=8A=E5=A7=94=E6=89=98?=
=?UTF-8?q?=E8=AE=A2=E5=8D=95=EF=BC=8C=E6=96=87=E7=AB=A0=E8=AF=A6=E6=83=85?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../delegation_details/index.vue | 20 +++++---
pages/index/index.vue | 11 +---
pages/plantGrass/plant_detail/index.vue | 2 +
store/modules/app.js | 51 ++++++++++---------
4 files changed, 45 insertions(+), 39 deletions(-)
diff --git a/pages/commissionedSales/delegation_details/index.vue b/pages/commissionedSales/delegation_details/index.vue
index 6d24b4c..954c7ff 100644
--- a/pages/commissionedSales/delegation_details/index.vue
+++ b/pages/commissionedSales/delegation_details/index.vue
@@ -12,7 +12,7 @@
- {{objinfo.entrust_start_date}}
+ {{objinfo.entrust_start_date}}
@@ -44,7 +44,7 @@
委托方:
-
+
{{objinfo.mer_info.mer_name}}
@@ -52,7 +52,7 @@
被委托方:
-
+
{{objinfo.entrust_mer_info.mer_name}}
@@ -114,7 +114,7 @@
-
+
@@ -163,14 +163,22 @@
},
methods: {
-
+ //商品详情
list(id) {
entrustdetail(id).then((res) => {
-console.log(res.data)
+
this.objinfo = res.data
})
},
+ //商品宝贝详情
+ Merchbaby(item) {
+ uni.navigateTo({
+ url: `/pages/goods_details/index?id=${item.product_id}`
+ })
+ },
+
+ //提交购物车
submit(item) {
addEntrustCart({
community_id: item.community_id
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 1b44c87..cdd710e 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -157,16 +157,7 @@
}
},
onShow() {
- uni.startLocationUpdate({
- success: res => {
- console.log('开启接收位置消息成功')
-
- },
- fail: err => {
- this.selfLocation()
- },
- complete: msg => console.log('调用开启接收位置消息 API 完成')
- });
+
//监听网络状态变化
uni.onNetworkStatusChange((res) => {
diff --git a/pages/plantGrass/plant_detail/index.vue b/pages/plantGrass/plant_detail/index.vue
index 2e53c0e..acaf1d9 100644
--- a/pages/plantGrass/plant_detail/index.vue
+++ b/pages/plantGrass/plant_detail/index.vue
@@ -1,8 +1,10 @@
+
+
diff --git a/store/modules/app.js b/store/modules/app.js
index 18284f4..f0cfc17 100644
--- a/store/modules/app.js
+++ b/store/modules/app.js
@@ -117,38 +117,43 @@ const actions = {
} else {
apptype = 1
}
- console.log(apptype, '11111')
+
Appversion({
version: os.appWgtVersion,
type: apptype
}).then((res) => {
- if (data) uni.showLoading({
- title: '检查更新中'
- })
+
+ if (Object.keys(res.data.appInfo).length > 0) {
- // 版本更新
- if (compareVersions(res.data.appInfo.version, os.appWgtVersion || wgt_v) == 1 &&
- compareVersions(res.data.appInfo.version,
- wgt_v) == 1) {
- try {
- let info = res.data.appInfo || {};
- let version = {
- title: info.title || '发现新版本',
- content: info.content || '修复了部分BUG',
- versionName: info.version || '1.0.1',
- downUrl: info.dow_url || '',
- force: info.force == 1 ? true : false, // 是否强制更新
- quiet: info.quiet == 1 ? true : false // 是否静默更新
+
+ uni.showLoading({
+ title: '检查更新中'
+ })
+
+ // 版本更新
+ if (compareVersions(res.data.appInfo.version, os.appWgtVersion || wgt_v) == 1 &&
+ compareVersions(res.data.appInfo.version,
+ wgt_v) == 1) {
+ try {
+ let info = res.data.appInfo || {};
+ let version = {
+ title: info.title || '发现新版本',
+ content: info.content || '修复了部分BUG',
+ versionName: info.version || '1.0.1',
+ downUrl: info.dow_url || '',
+ force: info.force == 1 ? true : false, // 是否强制更新
+ quiet: info.quiet == 1 ? true : false // 是否静默更新
+ }
+ Updater.update(version);
+ } catch (e) {
+ console.log(e);
}
- Updater.update(version);
- } catch (e) {
- console.log(e);
+ uni.hideLoading();
}
- if (data) uni.hideLoading();
- }
+ }
}).catch((err) => {
- console.log(err)
+ // console.log(err)
})
From 7a87342e3cc88dbadc151136fc10a3eb617a2751 Mon Sep 17 00:00:00 2001
From: jia <1451658316@qq.com>
Date: Mon, 11 Sep 2023 15:00:07 +0800
Subject: [PATCH 09/11] =?UTF-8?q?=E5=AE=8C=E6=88=90=E5=A7=94=E6=89=98?=
=?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../receivedCommission/index.vue | 18 +++++++++++-------
pages/order_details/index.vue | 9 +++++++--
pages/users/order_list/indexCopy.vue | 2 +-
pages/users/order_list/relase.vue | 10 +++++-----
pages/users/refund/list.vue | 6 +++---
5 files changed, 27 insertions(+), 18 deletions(-)
diff --git a/pages/commissionedSales/receivedCommission/index.vue b/pages/commissionedSales/receivedCommission/index.vue
index 0e6775a..b2c1646 100644
--- a/pages/commissionedSales/receivedCommission/index.vue
+++ b/pages/commissionedSales/receivedCommission/index.vue
@@ -19,6 +19,10 @@
委托周期:{{item.entrust_day}}
+
+
+ {{item.entrust_finish==0?'未申请结束委托':""||item.entrust_finish==1?'委托已结束':""||item.entrust_finish==2?'商家拒绝结束委托':""||item.entrust_finish==3?'结束委托申请中':""}}
+
@@ -70,10 +74,10 @@
已拒绝
-
+
详情
@@ -105,15 +109,15 @@
-
+
委托申请处理
-
- 结算周期: {{obj.settle_cycle}}天
+
+ 结算周期: {{obj.mer_info.settle_cycle}}天
-
- 利息比例: {{obj.interest_rate}}%
+
+ 利息比例: {{obj.mer_info.interest_rate}}%
diff --git a/pages/order_details/index.vue b/pages/order_details/index.vue
index bafa280..fd8c56e 100644
--- a/pages/order_details/index.vue
+++ b/pages/order_details/index.vue
@@ -61,6 +61,7 @@
已完成
+
@@ -82,13 +83,17 @@
+
+
+
+
查看物流
-
+
确认收货
确认收货
diff --git a/pages/users/order_list/indexCopy.vue b/pages/users/order_list/indexCopy.vue
index e838c9c..63577c1 100644
--- a/pages/users/order_list/indexCopy.vue
+++ b/pages/users/order_list/indexCopy.vue
@@ -732,7 +732,7 @@
if (status == 5) {
uni.navigateTo({
- url: '/pages/users/refund/list?type=0'
+ url: '/pages/users/refund/list?type=98'
})
} else {
if (status == this.orderStatus) return;
diff --git a/pages/users/order_list/relase.vue b/pages/users/order_list/relase.vue
index 4014b4e..1dcd9a1 100644
--- a/pages/users/order_list/relase.vue
+++ b/pages/users/order_list/relase.vue
@@ -490,7 +490,7 @@
arrlist() {
refundList({
- product_type: 98,
+ product_type: 99,
type: 0,
page: 1,
limit: 1500
@@ -568,7 +568,7 @@
getOrderData: function() {
let that = this;
orderData({
- product_type: 98
+ product_type: 99
}).then(res => {
// console.log(res.data)
that.$set(that, 'orderData', res.data);
@@ -729,7 +729,7 @@
if (status == 5) {
uni.navigateTo({
- url: '/pages/users/refund/list?type=0'
+ url: '/pages/users/refund/list?type=99'
})
} else {
if (status == this.orderStatus) return;
@@ -756,7 +756,7 @@
groupOrderList({
page: that.page,
limit: that.limit,
- product_type: 98
+ product_type: 99
}).then(res => {
that.isReady = true;
let list = res.data.list || [];
@@ -783,7 +783,7 @@
status: arr,
page: that.page,
limit: that.limit,
- product_type: 98
+ product_type: 99
}).then(res => {
let list = res.data.list || [];
let loadend = list.length < that.limit;
diff --git a/pages/users/refund/list.vue b/pages/users/refund/list.vue
index 5184774..145fc39 100644
--- a/pages/users/refund/list.vue
+++ b/pages/users/refund/list.vue
@@ -111,7 +111,7 @@
isScroll: true,
page: 1,
limit: 15,
- type: 1
+ type: 0
}
},
onLoad(e) {
@@ -153,7 +153,7 @@
},
getList() {
if (!this.isScroll) return
- if (this.type == 1) {
+ if (this.type == 0) {
refundList({
type: this.tabIndex,
page: this.page,
@@ -167,7 +167,7 @@
})
} else {
refundList({
- product_type: 98,
+ product_type: this.type,
type: this.tabIndex,
page: this.page,
limit: this.limit
From 7f0a309fdb3e2114ed3e6329148c8efaaa22cd15 Mon Sep 17 00:00:00 2001
From: jia <1451658316@qq.com>
Date: Mon, 11 Sep 2023 15:54:39 +0800
Subject: [PATCH 10/11] =?UTF-8?q?=E5=A7=94=E6=89=98=E5=8A=9F=E8=83=BD?=
=?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../commissionedSales/addDelegation/index.vue | 2 +-
.../delegation_details/index.vue | 2 +-
.../initiateDelegation/index.vue | 35 +++++++++++--------
3 files changed, 23 insertions(+), 16 deletions(-)
diff --git a/pages/commissionedSales/addDelegation/index.vue b/pages/commissionedSales/addDelegation/index.vue
index 6da72d9..d2da49e 100644
--- a/pages/commissionedSales/addDelegation/index.vue
+++ b/pages/commissionedSales/addDelegation/index.vue
@@ -102,7 +102,7 @@
},
formData: {
entrust_mer_id: '',
- entrust_day: 0,
+ entrust_day: 15,
is_type: "4",
product_info: [],
content: ''
diff --git a/pages/commissionedSales/delegation_details/index.vue b/pages/commissionedSales/delegation_details/index.vue
index 954c7ff..3cf0d27 100644
--- a/pages/commissionedSales/delegation_details/index.vue
+++ b/pages/commissionedSales/delegation_details/index.vue
@@ -101,7 +101,7 @@
拒绝原因:
-
+
{{objinfo.entrust_finish_refusal}}
diff --git a/pages/commissionedSales/initiateDelegation/index.vue b/pages/commissionedSales/initiateDelegation/index.vue
index d4ac509..d26b645 100644
--- a/pages/commissionedSales/initiateDelegation/index.vue
+++ b/pages/commissionedSales/initiateDelegation/index.vue
@@ -51,10 +51,10 @@
已接受
-
+
结束委托
-
+
详情
@@ -65,10 +65,10 @@
已拒绝
-
+
详情
@@ -79,7 +79,7 @@
已完成
-
+
删除
@@ -173,10 +173,10 @@
利息比例: {{obj.mer_info.interest_rate}}%
-
+
拒绝
-
+
接受
@@ -292,7 +292,7 @@
}
],
obj: {},
- refuseds:''
+ refuseds: ''
}
},
onLoad() {
@@ -390,7 +390,7 @@
//结束委托
closingorder(item) {
console.log(item)
- this.obj=item
+ this.obj = item
this.$refs.bindmobile2.open()
// this.$refs.bindmobile3.open()
},
@@ -406,12 +406,12 @@
// this.$refs.bindmobile2.open()
this.$refs.bindmobile3.open()
},
- agree(item){
- finishentrust(item.community_id,{
- status: 2,
- refusal:this.refuseds
+ agree(item) {
+ finishentrust(item.community_id, {
+ status: 2,
+ refusal: this.refuseds
}).then(res => {
-
+
this.$util.Tips({
title: res.message,
icon: 'success'
@@ -425,6 +425,7 @@
},
//删除订单
deleteOrder(item) {
+
checkchain(item.community_id, {
status: 3
}).then(res => {
@@ -435,6 +436,12 @@
this.orderList = []
this.tabTitle = "tabOne"
this.commislist()
+ }).catch((err) => {
+ console.log(err)
+ this.$util.Tips({
+ title: err,
+ icon: 'error'
+ })
})
},
// 审核未通过 编辑
From 4c69a3db9053330f2e6d93534e7b8ed3d9e0ef2e Mon Sep 17 00:00:00 2001
From: jia <1451658316@qq.com>
Date: Mon, 11 Sep 2023 16:15:09 +0800
Subject: [PATCH 11/11] =?UTF-8?q?=E9=9A=90=E8=97=8F=E5=A7=94=E6=89=98?=
=?UTF-8?q?=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/moreProject/moreProject.vue | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pages/moreProject/moreProject.vue b/pages/moreProject/moreProject.vue
index 4150e71..9a5671c 100644
--- a/pages/moreProject/moreProject.vue
+++ b/pages/moreProject/moreProject.vue
@@ -53,7 +53,7 @@
订单核销
-
@@ -64,7 +64,7 @@
委托订单
-
+ -->