| | |
| | | <view class=""> |
| | | <up-sticky> |
| | | <view class="coreshop-ff content c-p-l-10 c-p-t-10 c-p-r-10"> |
| | | <up-search placeholder="请点击选择打卡日期" @click='clickIcon' :show-action="false" @clear='PostMyDakaListPage' |
| | | disabled v-model="wordDate" search-icon="calendar" @search='PostMyDakaListPage'></up-search> |
| | | <up-search placeholder="请点击选择打卡日期" @click='clickIcon' :show-action="false" |
| | | @clear='PostMyDakaListPage' disabled v-model="wordDate" search-icon="calendar" |
| | | @search='PostMyDakaListPage'></up-search> |
| | | <!-- <up-input shape="round" class="u-search__content__input"></up-input> --> |
| | | <!-- <up-search placeholder="请输入公司名称" :show-action="false" v-model="Suppliername" @clear='PostMyDakaListPage' |
| | | @search='PostMyDakaListPage'></up-search> --> |
| | |
| | | <view class="text-69 chuany-font28 c-p-t-8"> |
| | | 打卡记录:{{item.dakaMingxi}} |
| | | </view> |
| | | <view class="chuany-flex chuany-justify-between chuany-flex-wrap c-p-t-8 text-69 chuany-font28"> |
| | | <view |
| | | class="chuany-flex chuany-justify-between chuany-flex-wrap c-p-t-8 text-69 chuany-font28"> |
| | | <text class="chuany-width48"> |
| | | 时长:{{item.workTime}} |
| | | </text> |
| | |
| | | <view class="chuany-width48 c-p-t-8"> |
| | | <view class="chuany-width10" v-if="item.isShenPi==0"> |
| | | <!-- v-if="item.isShenPiName!=='已结算'" --> |
| | | <up-button class="button-layout__item" text="工资申报" size="mini" |
| | | :loading='item.isLoading' loadingText="申报中" @click.stop='saveDakaDetail(item)' |
| | | type="warning"></up-button> |
| | | <up-button class="button-layout__item" |
| | | :text="item.workerType==0?'结束今日工作':'计件申报'" size="mini" |
| | | :loading='item.isLoading' :loadingText="item.workerType==0?'结束中':'申报中'" |
| | | @click.stop='saveDakaDetail(item)' type="warning"></up-button> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | this.$api.saveDakaDetail(obj).then(res => { |
| | | if (res.code == 1) { |
| | | this.$util.showToast({ |
| | | title: '申报成功!', |
| | | title: item.workerType == 0 ? '结束今日工作成功!' : '计件申报成功!', |
| | | icon: 'success' |
| | | }) |
| | | this.init() |
| | | } else { |
| | | this.$util.showToast({ |
| | | title: res.error ? res.error : '失败!' |