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/checkin/workdetail.vue | 26 ++++++++++++++------------ 1 files changed, 14 insertions(+), 12 deletions(-) diff --git a/src/pages/checkin/workdetail.vue b/src/pages/checkin/workdetail.vue index 92d49dc..34903ae 100644 --- a/src/pages/checkin/workdetail.vue +++ b/src/pages/checkin/workdetail.vue @@ -3,7 +3,7 @@ <view class="coreshop-ff"> <view class="c-p-20"> <view class="chuany-flex chuany-justify-between chuany-flex-wrap"> - <text class="chuany-font34 chuany-text-bold"> + <text class="chuany-font32"> {{dakaList.orderName}} </text> <text class=""> @@ -11,7 +11,7 @@ </text> </view> </view> - <view class="c-p-20"> + <view class="c-p-l-20 c-p-r-20"> <view class=""> <text class=""> 鎵撳崱璁板綍锛� @@ -51,9 +51,10 @@ {{dakaList.workPrice}} {{dakaList.workerType==0?'鍏�/灏忔椂':'鍏�/浠�'}} </template> </up-cell> - <up-cell title="鏁伴噺" :border='false' v-if="dakaList.workerType==1" > - <template #right-icon v-if="dakaList.isShenPiName!=='宸茬粨绠�'"> - <up-input v-model="dakaList.workCount" type="digit" @blur='(val) => {dakaList.todaySalary=$util.roundToTwo(dakaList.workCount*dakaList.workPrice)}' + <up-cell title="鏁伴噺" :border='false' v-if="dakaList.workerType==1"> + <template #right-icon v-if="dakaList.isShenPi==0"> + <up-input v-model="dakaList.workCount" type="digit" + @blur='(val) => {dakaList.todaySalary=$util.roundToTwo(dakaList.workCount*dakaList.workPrice)}' border="none" placeholder="璇峰~鍐欐暟閲�"></up-input> </template> <template #value v-else> @@ -69,7 +70,8 @@ <tem-steps></tem-steps> </view> --> <view class="tabbtns"> - <up-button color='#fece01' class="text-69" text="宸ヨ祫鐢虫姤" :loading='isLoading' loadingText="鐢虫姤涓�" v-if="dakaList.isShenPiName!=='宸茬粨绠�'" @click="saveDakaDetail"></up-button> + <up-button color='#fece01' text="宸ヨ祫鐢虫姤" :loading='isLoading' loadingText="鐢虫姤涓�" + v-if="dakaList.isShenPi==0" @click="saveDakaDetail"></up-button> </view> </view> </view> @@ -88,7 +90,7 @@ workCount: '', //璁′欢鏁伴噺 todaySalary: '' //褰撴棩宸ヨ祫 }, - isLoading:false + isLoading: false } }, onLoad(options) { @@ -116,7 +118,6 @@ if (this.dakaList.orderBiddingDetailCheck.length % 2 !== 0) { this.dakaList.orderBiddingDetailCheck.push({}) } - console.log(res, '鎵撳崱'); }) }, saveDakaDetail() { @@ -138,14 +139,14 @@ this.isLoading = true this.$api.saveDakaDetail(obj).then(res => { console.log(res); - if(res.code==1){ + if (res.code == 1) { this.$util.showToast({ title: '鐢虫姤鎴愬姛锛�', icon: 'success' }) - }else{ + } else { this.$util.showToast({ - title: res.error?res.error:'澶辫触锛�' + title: res.error ? res.error : '澶辫触锛�' }) } this.isLoading = false @@ -215,7 +216,8 @@ background-color: #2979ff; } } - .u-cell__body{ + + .u-cell__body { padding: 6px 15px !important; } </style> \ No newline at end of file -- Gitblit v1.9.1