From d3e6dd6b3032c119676efa1e9fcee3a8a8043fc5 Mon Sep 17 00:00:00 2001
From: zhangwei <1504152376@qq.com>
Date: 星期五, 07 三月 2025 13:40:44 +0800
Subject: [PATCH] ‘’
---
src/pages/delivergoods/feedback.vue | 46 ++++++++++++++++++++++++++--------------------
1 files changed, 26 insertions(+), 20 deletions(-)
diff --git a/src/pages/delivergoods/feedback.vue b/src/pages/delivergoods/feedback.vue
index 44d40f8..8edafcf 100644
--- a/src/pages/delivergoods/feedback.vue
+++ b/src/pages/delivergoods/feedback.vue
@@ -17,7 +17,8 @@
</up-sticky>
<view class="c-p-b-100">
<view class="c-p-l-20 c-p-r-20" v-if="orderList&&orderList.length>0">
- <view class="listrecord c-p-t-20" v-for="(item,index) in orderList" :key="item.keyid" @click='goDetail(item)'>
+ <view class="listrecord c-p-t-20" v-for="(item,index) in orderList" :key="item.keyid"
+ @click='goDetail(item)'>
<view class="coreshop-ff chuany-bradius20">
<view class="chuany-font26">
<view class="chuany-flex chuany-justify-between">
@@ -32,7 +33,8 @@
<view class="chuany-width11 chuany-flex chuany-justify-between">
<up-icon v-if="item.deliveredstatus=='Undeliver'" name="play-right"
@tap.stop='startOrder(item)'></up-icon>
- <up-icon v-else-if="item.deliveredstatus=='Deliver'" name="checkbox-mark" @tap.stop="editOrder(item)"></up-icon>
+ <up-icon v-else-if="item.deliveredstatus=='Deliver'" name="checkbox-mark"
+ @tap.stop="editOrder(item)"></up-icon>
</view>
</view>
</view>
@@ -55,7 +57,7 @@
</up-form-item> -->
<up-form-item label="鏀惰揣鍗曚綅" prop="buyerId" :borderBottom='false' ref="item1">
- <up-input v-model="buyerName" placeholder="璇烽�夋嫨鏀惰揣鍗曚綅" border="none" readonly>
+ <up-input v-model="arrangeInfo.companyName" placeholder="璇烽�夋嫨鏀惰揣鍗曚綅" border="none" readonly>
<!-- <template #suffix>
<up-button @tap="clickAction" text="鐐瑰嚮閫夋嫨" type="primary" size="mini"></up-button>
</template> -->
@@ -78,9 +80,9 @@
<up-textarea v-model="arrangeInfo.wentifankui" border="none" placeholder="璇疯緭鍏ユ剰瑙佸弽棣�"></up-textarea>
</up-form-item>
- <up-form-item label="涓婁紶閫佽揣鍗�" prop="idCardFace">
- <tem-upload-file immediate :url="`https://appimchat.oss-cn-chengdu.aliyuncs.com`" ref="uploadB" :isSource='true'
- fileType="all" @success="success('File',$event)" @error="errorInvoice"
+ <up-form-item label="閫佽揣鍗�" prop="idCardFace">
+ <tem-upload-file immediate :url="`https://appimchat.oss-cn-chengdu.aliyuncs.com`" ref="uploadB"
+ :isSource='true' fileType="all" @success="success('File',$event)" @error="errorInvoice"
@complete="completeInvoice('',$event)">
</tem-upload-file>
<!-- <template #right>
@@ -141,7 +143,8 @@
wentifankui: '',
// lianxiren: '',
Deliveredstatus: 'Delivered ',
- attachments: []
+ attachments: [],
+ companyName:''
},
rules: {
'deliverTime': {
@@ -187,7 +190,8 @@
timeEnd: '',
sevenDaysDriver: [],
deliverKeyID: '',
- deliverKeyName: ''
+ deliverKeyName: '',
+ companyName:''
}
},
onShow() {
@@ -207,8 +211,8 @@
}
},
onPullDownRefresh() {
- this.startDate = ''
- this.endDate = ''
+ this.timeStart = ''
+ this.timeEnd = ''
this.workTime = ''
this.deliverKeyName = ''
this.init()
@@ -241,7 +245,7 @@
this.timeStart = new Date(val.startDate.result) //宸ヤ綔寮�濮嬫椂闂�
this.timeEnd = new Date(val.endDate.result)
this.datePickerShow = !this.datePickerShow
- this.getList()
+ this.init()
},
confirmDate(val) {
console.log(val);
@@ -279,7 +283,8 @@
},
editOrder(item) {
this.isEdit = true
- this.$refs.uploadB.deleteImage()
+ this.$refs.uploadB.urls = []
+ this.$refs.uploadB.status = []
this.arrangeInfo = {
// deliverTime: this.$util.formatDate(new Date(), null, 1),
// driverId: item.driverId,
@@ -289,14 +294,15 @@
// lianxiren: item.lianxiren,
// dizhi: item.dizhi,
Deliveredstatus: 'Delivered',
- attachments: item.attachments||[],
- keyid: item.keyid
+ attachments: item.attachments || [],
+ keyid: item.keyid,
+ companyName: item.companyName
}
this.show7 = true
- let obj = this.customerList.find(ite => {
- return ite.keyid == item.buyerId
- })
- this.buyerName = obj.companyName
+ // let obj = this.customerList.find(ite => {
+ // return ite.keyid == item.buyerId
+ // })
+ // this.buyerName = obj.companyName
},
startOrder(item) {
let that = this
@@ -336,7 +342,7 @@
completeInvoice(val, e) {
if (e.action == 'delete') {
// 鍒犻櫎澶勭悊
- console.log(e,'0-0-0-');
+ console.log(e, '0-0-0-');
// state.publicJob.workPlanAttachments = state.publicJob.workPlanAttachments.filter(item => {
// return item.attachmentType == (val == "Invoice" ? 2 : 1)
// })
@@ -472,7 +478,7 @@
this.contentVal = item.wentifankui
}
},
- goDetail(item){
+ goDetail(item) {
uni.navigateTo({
url: `/pages/delivergoods/feedbackdetail?KeyId=${item.keyid}`
});
--
Gitblit v1.9.1