From b172667f354f7f00fe14809e66cbf12362fbc646 Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期五, 06 九月 2024 17:19:36 +0800 Subject: [PATCH] 人脸打卡 --- src/pages/company/record.vue | 38 ++++++++++++++++++++++++++++++-------- 1 files changed, 30 insertions(+), 8 deletions(-) diff --git a/src/pages/company/record.vue b/src/pages/company/record.vue index 4cc13c3..39cc94f 100644 --- a/src/pages/company/record.vue +++ b/src/pages/company/record.vue @@ -16,7 +16,7 @@ {{dakaList.orderName}} </text> <text class=""> - 鏃ユ湡锛歿{$util.formatDate(dakaList.workDate)}} + 鎵撳崱鏃ユ湡锛歿{$util.formatDate(dakaList.workDate)}} </text> </view> </view> @@ -45,10 +45,17 @@ </view> </view> </view> - <up-cell title="宸ヤ綔鏃堕暱" :border='false'> - <template #right-icon> + <up-cell title="鏃堕暱" :border='false'> + <!-- <template #right-icon> {{dakaList.workTime}} 灏忔椂 + </template> --> + <template #right-icon> + <up-input v-model="dakaList.workTime" type="digit" + border="none" placeholder="璇峰~鍐欐椂闀�"></up-input> </template> + <!-- <template #value v-else> + {{dakaList.workTime}} 灏忔椂 + </template> --> </up-cell> <up-cell title="鏂瑰紡" :border='false'> <template #right-icon> @@ -59,21 +66,36 @@ <template #right-icon> {{dakaList.workPrice}} {{dakaList.workerType==0?'鍏�/灏忔椂':'鍏�/浠�'}} </template> + <!-- + <template #right-icon v-if="dakaList.isShenPiName!=='宸茬粨绠�'"> + <up-input v-model="dakaList.workPrice" type="digit" + border="none" placeholder="璇峰~鍐欏伐浠�"></up-input> + </template> + <template #value v-else> + {{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!=='宸茬粨绠�'"> + <template #right-icon> <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> + <!-- <template #value v-else> {{dakaList.workCount}} - </template> + </template> --> </up-cell> <up-cell title="宸ヨ祫" :border='false'> - <template #right-icon> + <!-- <template #right-icon> {{dakaList.todaySalary}} 鍏� + </template> --> + <template #right-icon> + <up-input v-model="dakaList.todaySalary" type="digit" + border="none" placeholder="璇峰~鍐欏伐璧�"></up-input> </template> + <!-- <template #value v-else> + {{dakaList.todaySalary}} 鍏� + </template> --> </up-cell> <!-- <view class="stepwit"> <tem-steps></tem-steps> @@ -81,7 +103,7 @@ </up-list> <view class="tabbtns"> <up-button color='#fece01' class="text-69" text="纭" :loading='isLoading' loadingText="纭涓�" - @click="saveDakaDetailCompany" v-if="dakaList.isShenPiName!=='宸茬粨绠�'"></up-button> + @click="saveDakaDetailCompany"></up-button> </view> </view> </view> -- Gitblit v1.9.1