From 8c047f7da19d7e59136a322e1a851d4b6b0eab97 Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期四, 06 三月 2025 17:30:31 +0800 Subject: [PATCH] - --- src/pages/delivergoods/feedback.vue | 24 +++++++++++++----------- 1 files changed, 13 insertions(+), 11 deletions(-) diff --git a/src/pages/delivergoods/feedback.vue b/src/pages/delivergoods/feedback.vue index 44d40f8..2c47653 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'||item.deliveredstatus=='Reject'" name="checkbox-mark" + @tap.stop="editOrder(item)"></up-icon> </view> </view> </view> @@ -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> @@ -207,8 +209,8 @@ } }, onPullDownRefresh() { - this.startDate = '' - this.endDate = '' + this.timeStart = '' + this.timeEnd = '' this.workTime = '' this.deliverKeyName = '' this.init() @@ -241,7 +243,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); @@ -289,7 +291,7 @@ // lianxiren: item.lianxiren, // dizhi: item.dizhi, Deliveredstatus: 'Delivered', - attachments: item.attachments||[], + attachments: item.attachments || [], keyid: item.keyid } this.show7 = true @@ -336,7 +338,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 +474,7 @@ this.contentVal = item.wentifankui } }, - goDetail(item){ + goDetail(item) { uni.navigateTo({ url: `/pages/delivergoods/feedbackdetail?KeyId=${item.keyid}` }); -- Gitblit v1.9.1