| | |
| | | <view class="full-page"> |
| | | <up-sticky> |
| | | <view class="coreshop-ff content c-p-10"> |
| | | <up-search placeholder="请点击选择日期" @clickIcon='clickIcon' v-model="wordDate" search-icon="calendar" |
| | | <up-search placeholder="请点击选择日期" @clickIcon='clickIcon' v-model="wordDate" search-icon="calendar" |
| | | @custom='PostMyComDakaListPage'></up-search> |
| | | </view> |
| | | <up-subsection :list="list" activeColor="#f9ae3d" @change="sectionChange"></up-subsection> |
| | |
| | | <view class="c-p-t-14"> |
| | | 打卡记录:{{item.dakaMingxi}} |
| | | </view> |
| | | <view class="chuany-flex chuany-justify-between chuany-flex-wrap c-p-t-14"> |
| | | <text class="chuany-width50"> |
| | | 工作时长:{{item.workTime}} |
| | | </text> |
| | | <view class="chuany-width50"> |
| | | <view class="chuany-flex chuany-justify-between chuany-flex-wrap"> |
| | | <view class="chuany-width48 c-p-t-14"> |
| | | <text> |
| | | 方式:{{item.workerTypeName}} |
| | | </text> |
| | | </view> |
| | | <text class="chuany-width50 c-p-t-14"> |
| | | 工价:{{item.workPrice}}{{item.workerType==0?'元/小时':'元/件'}} |
| | | </text> |
| | | <view class="chuany-width50 chuany-flex c-p-t-14" v-if="item.workerType==1"> |
| | | <view class="chuany-width48 chuany-flex c-p-t-14"> |
| | | <text> |
| | | 时长: |
| | | </text> |
| | | <up-input type="digit" v-if="item.isShenPiName!=='已结算'" style="padding: 0;" size='mini' |
| | | border="surround" v-model="item.workTime"></up-input> |
| | | <text v-else>{{item.workTime}}小时</text> |
| | | </view> |
| | | |
| | | <view class="chuany-width48 chuany-flex c-p-t-14"> |
| | | <text> |
| | | 工价: |
| | | </text> |
| | | <up-input type="digit" v-if="item.isShenPiName!=='已结算'" style="padding: 0;" size='mini' |
| | | border="surround" v-model="item.workPrice"></up-input> |
| | | <text v-else>{{item.workPrice}}{{item.workerType==0?'元/小时':'元/件'}}</text> |
| | | </view> |
| | | <view class="chuany-width48 chuany-flex c-p-t-14" v-if="item.workerType==1"> |
| | | <text> |
| | | 数量: |
| | | </text> |
| | | <up-input v-if="item.isShenPiName!=='已结算'" style="padding: 0;" size='mini' |
| | | <up-input type="digit" v-if="item.isShenPiName!=='已结算'" style="padding: 0;" size='mini' |
| | | border="surround" |
| | | @blur='(val) => {item.todaySalary=$util.roundToTwo(item.workCount*item.workPrice)}' |
| | | v-model="item.workCount"></up-input> |
| | | <text v-else>{{item.workCount}}</text> |
| | | </view> |
| | | <view class="chuany-width50 c-p-t-14"> |
| | | <view class="chuany-width48 chuany-flex c-p-t-14"> |
| | | <text> |
| | | 当日工资:{{item.todaySalary}}元 |
| | | 工资: |
| | | </text> |
| | | <up-input type="digit" v-if="item.isShenPiName!=='已结算'" style="padding: 0;" size='mini' |
| | | border="surround" v-model="item.todaySalary"></up-input> |
| | | <text v-else>{{item.todaySalary}} 元</text> |
| | | </view> |
| | | <view class="chuany-width50 c-p-t-14"> |
| | | <view class="chuany-width48 c-p-t-14"> |
| | | <view class="chuany-width10"> |
| | | <up-button class="button-layout__item" text="确认" size="mini" |
| | | v-if="item.isShenPiName!=='已结算'" @click.stop='saveDakaDetailCompany(item)' |
| | |
| | | this.isJieSuan = '' |
| | | this.loadStatus = 'loadmore' |
| | | this.PostMyComDakaListPage(); |
| | | uni.stopPullDownRefresh(); |
| | | }, |
| | | methods: { |
| | | sectionChange(val) { |