| | |
| | | {{dakaList.orderName}} |
| | | </text> |
| | | <text class=""> |
| | | 打卡日期:{{$util.formatDate(dakaList.workDate)}} |
| | | 计时日期:{{$util.formatDate(dakaList.workDate)}} |
| | | </text> |
| | | </view> |
| | | </view> |
| | | <view class="c-p-l-20 c-p-r-20"> |
| | | <view class=""> |
| | | <text class=""> |
| | | 打卡记录: |
| | | 计时记录: |
| | | </text> |
| | | <view class="chuany-flex chuany-justify-evenly chuany-flex-wrap c-p-t-20"> |
| | | <view |
| | |
| | | v-if="index!==dakaList.length-1&&index%2==0"> |
| | | </view> |
| | | </view> |
| | | <text>{{item.checktime?'已打卡':'未打卡'}}</text> |
| | | <text>{{item.checktime?'已计时':'未计时'}}</text> |
| | | <text |
| | | :class="$util.formatDate(item.checktime,true)=='-'?'core-opa':''">{{$util.formatDate(item.checktime,true)}}</text> |
| | | </view> |
| | |
| | | {{dakaList.workCount}} |
| | | </template> |
| | | </up-cell> |
| | | <up-cell title="工资" :border='false'> |
| | | <up-cell title="报酬" :border='false'> |
| | | <!-- <template #right-icon> |
| | | {{dakaList.todaySalary}} 元 |
| | | </template> --> |
| | | <template #right-icon v-if="dakaList.isShenPiName!=='已结算'||isModify"> |
| | | <up-input v-model="dakaList.todaySalary" type="digit" border="none" |
| | | placeholder="请填写工资"></up-input> |
| | | placeholder="请填写报酬"></up-input> |
| | | </template> |
| | | <template #value v-else> |
| | | {{dakaList.todaySalary}} 元 |
| | |
| | | </view> --> |
| | | </up-list> |
| | | <view class="tabbtns" v-if="dakaList.isShenPiName!=='已结算'||isModify"> |
| | | <up-button color='#fece01' :text="dakaList.isShenPiName!=='已结算'?'核准工资':'修改'" |
| | | <up-button color='#fece01' :text="dakaList.isShenPiName!=='已结算'?'核准报酬':'修改'" |
| | | :loading='isLoading' :loadingText="dakaList.isShenPiName!=='已结算'?'核准中':'修改中'" |
| | | @click="saveDakaDetailCompany"></up-button> |
| | | </view> |
| | |
| | | if (this.dakaList.orderBiddingDetailCheck.length % 2 !== 0) { |
| | | this.dakaList.orderBiddingDetailCheck.push({}) |
| | | } |
| | | console.log(res, this.dakaList.workTime, '打卡'); |
| | | console.log(res, this.dakaList.workTime, '计时'); |
| | | }) |
| | | }, |
| | | saveDakaDetailCompany() { |
| | |
| | | return |
| | | } |
| | | let obj = { |
| | | orderBiddingDetailId: this.dakaList.orderBiddingDetailId, //招工打卡Id |
| | | orderBiddingDetailId: this.dakaList.orderBiddingDetailId, //招工计时Id |
| | | workTime: this.dakaList.workTime, //工作时长 |
| | | todaySalary: this.dakaList.todaySalary //当日工资 |
| | | todaySalary: this.dakaList.todaySalary //当日报酬 |
| | | } |
| | | if (this.dakaList.workCount) { |
| | | obj.workCount = this.dakaList.workCount |