问题修复

This commit is contained in:
donqi 2023-03-05 23:50:56 +08:00
parent 620462349e
commit ea14b6e11f
6 changed files with 20 additions and 5 deletions

View File

@ -83,7 +83,7 @@
<view class="margin-top-sm"> <view class="margin-top-sm">
<text class="text-main-color text-lg margin-right-xs"><text class="cuIcon-phone"></text></text> <text class="text-main-color text-lg margin-right-xs"><text class="cuIcon-phone"></text></text>
<text class="margin-right-xs">{{task.customerName}}</text> <text class="margin-right-xs">{{task.customerName}}</text>
<text>{{task.customerPhone}}</text> <text>{{task.customerPhone.substring(0, 3) + "****" + task.customerPhone.substring(7)}}</text>
</view> </view>
<view class="padding-top-sm flex justify-end"> <view class="padding-top-sm flex justify-end">
<button class="cu-btn bg-main-color margin-right-xs shadow-blur" data-modal="showForwardModal" <button class="cu-btn bg-main-color margin-right-xs shadow-blur" data-modal="showForwardModal"

View File

@ -30,7 +30,7 @@
<view class="margin-top-sm"> <view class="margin-top-sm">
<text class="text-main-color text-lg margin-right-xs"><text class="cuIcon-phone"></text></text> <text class="text-main-color text-lg margin-right-xs"><text class="cuIcon-phone"></text></text>
<text class="margin-right-xs">{{order.customerName}}</text> <text class="margin-right-xs">{{order.customerName}}</text>
<text>{{order.customerPhone}}</text> <text>{{order.customerPhone.substring(0, 3) + "****" + order.customerPhone.substring(7)}}</text>
</view> </view>
</view> </view>
<view class="margin-top-sm bg-white margin-lr-sm margin-bottom-with-bar"> <view class="margin-top-sm bg-white margin-lr-sm margin-bottom-with-bar">

View File

@ -63,6 +63,7 @@
</view> </view>
</view> </view>
</view> </view>
<view class="occupancy-bottom-bar"></view>
</scroll-view> </scroll-view>
<!-- 派单金额模态框 --> <!-- 派单金额模态框 -->
<view class="cu-modal" :class="showDispatchPriceModal?'show':''"> <view class="cu-modal" :class="showDispatchPriceModal?'show':''">

View File

@ -50,7 +50,8 @@
<textarea style="width: 100%; height: 200rpx;" class="solid radius text-left padding-sm" <textarea style="width: 100%; height: 200rpx;" class="solid radius text-left padding-sm"
v-model="remark" maxlength="-1" v-model="remark" maxlength="-1"
placeholder="报价额需符合双方约定并把关键内容附上。如保内维修XX含配件XXX等分别XX元。如约定下单方寄配件则订单内“申请配件发起”。"></textarea> placeholder="报价额需符合双方约定并把关键内容附上。如保内维修XX含配件XXX等分别XX元。如约定下单方寄配件则订单内“申请配件发起”。"></textarea>
</view> </view>
<view class="cu-btn line-main-color margin-top-sm long-btn" v-if="priceObj" @click="clearCurAddedPrice">清空加价</view>
</view> </view>
<view class="cu-bar bg-white solid-top"> <view class="cu-bar bg-white solid-top">
<view class="action margin-0 flex-sub text-black" data-modal="showNewServPriceOfflineModal" <view class="action margin-0 flex-sub text-black" data-modal="showNewServPriceOfflineModal"
@ -172,6 +173,9 @@
}, },
goFinishOrder() { goFinishOrder() {
this.$emit('finishOrder', this.data); this.$emit('finishOrder', this.data);
},
clearCurAddedPrice() {
this.changeOrderPrice(0);
} }
} }
} }

View File

@ -50,7 +50,8 @@
<textarea style="width: 100%; height: 200rpx;" class="solid radius text-left padding-sm" <textarea style="width: 100%; height: 200rpx;" class="solid radius text-left padding-sm"
v-model="remark" maxlength="-1" v-model="remark" maxlength="-1"
placeholder="报价额需符合双方约定并把关键内容附上。如保内维修XX含配件XXX等分别XX元。如约定下单方寄配件则订单内“申请配件发起”。"></textarea> placeholder="报价额需符合双方约定并把关键内容附上。如保内维修XX含配件XXX等分别XX元。如约定下单方寄配件则订单内“申请配件发起”。"></textarea>
</view> </view>
<view class="cu-btn line-main-color margin-top-sm long-btn" v-if="priceObj" @click="clearCurAddedPrice">清空加价</view>
</view> </view>
<view class="cu-bar bg-white solid-top"> <view class="cu-bar bg-white solid-top">
<view class="action margin-0 flex-sub text-black" data-modal="showNewServPriceOnlineModal" <view class="action margin-0 flex-sub text-black" data-modal="showNewServPriceOnlineModal"
@ -172,6 +173,9 @@
}, },
goFinishOrder() { goFinishOrder() {
this.$emit('finishOrder', this.data); this.$emit('finishOrder', this.data);
},
clearCurAddedPrice() {
this.changeOrderPrice(0);
} }
} }
} }

View File

@ -128,7 +128,13 @@
} }
} }
/* colorui end */ /* colorui end */
.occupancy-bottom-bar {
width: 100%;
height: calc(120rpx + constant(safe-area-inset-bottom) / 2);
height: calc(120rpx + env(safe-area-inset-bottom) / 2);
}
.margin-bottom-with-bar { .margin-bottom-with-bar {
margin-bottom: calc(120rpx + constant(safe-area-inset-bottom) / 2); margin-bottom: calc(120rpx + constant(safe-area-inset-bottom) / 2);
margin-bottom: calc(120rpx + env(safe-area-inset-bottom) / 2); margin-bottom: calc(120rpx + env(safe-area-inset-bottom) / 2);