From b934f9f9a59e84a1af40ff139418a7d30dd68402 Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期五, 07 三月 2025 17:30:34 +0800 Subject: [PATCH] = --- src/pages/delivergoods/feedback.vue | 30 +++++++++++++++++------------- 1 files changed, 17 insertions(+), 13 deletions(-) diff --git a/src/pages/delivergoods/feedback.vue b/src/pages/delivergoods/feedback.vue index 2c47653..a255b3b 100644 --- a/src/pages/delivergoods/feedback.vue +++ b/src/pages/delivergoods/feedback.vue @@ -24,7 +24,7 @@ <view class="chuany-flex chuany-justify-between"> <text class="chuany-width7">{{index+1}}</text> <view class="chuany-width15"> - {{$util.formatDate(item.createTime,'riqi')}} + {{$util.formatDate(item.deliverTime,'riqi')}} </view> <view class="chuany-width67"> <u-text size='14' :text="item.remark" lines="1"> @@ -33,7 +33,7 @@ <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'||item.deliveredstatus=='Reject'" name="checkbox-mark" + <up-icon v-else-if="item.deliveredstatus=='Deliver'" name="checkbox-mark" @tap.stop="editOrder(item)"></up-icon> </view> </view> @@ -57,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> --> @@ -114,7 +114,7 @@ orderList: [], loadStatus: 'loadmore', pageIndex: 1, - pageSize: 25, + pageSize: 30, contentVal: '', customerList: [], isEdit: false, @@ -143,7 +143,8 @@ wentifankui: '', // lianxiren: '', Deliveredstatus: 'Delivered ', - attachments: [] + attachments: [], + companyName:'' }, rules: { 'deliverTime': { @@ -189,7 +190,8 @@ timeEnd: '', sevenDaysDriver: [], deliverKeyID: '', - deliverKeyName: '' + deliverKeyName: '', + companyName:'' } }, onShow() { @@ -281,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, @@ -292,13 +295,14 @@ // dizhi: item.dizhi, Deliveredstatus: 'Delivered', attachments: item.attachments || [], - keyid: item.keyid + 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 @@ -328,7 +332,7 @@ }, init() { this.pageIndex = 1 - this.pageSize = 20 + this.pageSize = 30 this.loadStatus = 'loadmore' this.orderList = [] this.contentVal = '' -- Gitblit v1.9.1