Commit 724c0ed4 by 杨明

收入

1 parent 19ee7a50
/* /*
* @Author: 前端 qianduan01@didihu.com.cn * @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2024-12-19 11:02:01 * @Date: 2024-12-19 11:02:01
* @LastEditors: 前端 qianduan01@didihu.com.cn * @LastEditors: yangming@didihu.com.cn yangming@didihu.com.cn
* @LastEditTime: 2025-03-07 16:28:37 * @LastEditTime: 2025-04-23 17:19:15
* @FilePath: \gl-tape\api\module\point.js * @FilePath: \gl-tape\api\module\point.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/ */
...@@ -205,5 +205,12 @@ module.exports = { ...@@ -205,5 +205,12 @@ module.exports = {
projectName: 'boutique', projectName: 'boutique',
...data ...data
}) })
},
appealExist(data) {
return http.post({
method: 'dj.api.car.boutique.clock.in.staff.appeal.exist',
projectName: 'boutique',
...data
})
} }
} }
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn * @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2025-01-07 13:49:15 * @Date: 2025-01-07 13:49:15
* @LastEditors: yangming@didihu.com.cn yangming@didihu.com.cn * @LastEditors: yangming@didihu.com.cn yangming@didihu.com.cn
* @LastEditTime: 2025-04-23 14:05:42 * @LastEditTime: 2025-04-24 10:38:29
* @FilePath: \gl-tape\components\HomeFrame\components\Income\History.vue * @FilePath: \gl-tape\components\HomeFrame\components\Income\History.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
--> -->
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
<view class="item-label" @click="handleShow(item)">{{ item.label }}</view> <view class="item-label" @click="handleShow(item)">{{ item.label }}</view>
<uni-icons type="help" size="18" color="#A2A2A8" @click="clickTips(item)"></uni-icons> <uni-icons type="help" size="18" color="#A2A2A8" @click="clickTips(item)"></uni-icons>
<view class="item-price">{{ item.showUnit }}{{ formatNumber(salaryDetail[item.value] || '0') }}</view> <view class="item-price">{{ item.showUnit }}{{ formatNumber(salaryDetail[item.value] || '0') }}</view>
<view class="item-expand" @click="showDetail(item)"></view> <view class="item-expand" @click="showDetail(item)" v-if="salaryDetail[item.value] && item.tabelTh"></view>
</view> </view>
</template> </template>
</view> </view>
...@@ -58,19 +58,23 @@ ...@@ -58,19 +58,23 @@
<view class="sprite-icon icon-time-icon"></view> <view class="sprite-icon icon-time-icon"></view>
生成时间:{{ salaryDetail.createdDate }} 生成时间:{{ salaryDetail.createdDate }}
</view> </view>
<!-- <view class="income-tips"> <template v-if="isExist">
<view class="income-tips">
<view class="sprite-icon icon-tips-b"></view> <view class="sprite-icon icon-tips-b"></view>
<text>人工核验冲减,并已扣除个人所得税和社保</text> <text>人工核验冲减,并已扣除个人所得税和社保</text>
</view> --> </view>
<view class="finish-box flex-center">
<view class="sprite-icon icon-finish-icon"></view>
已提交申诉
</view>
</template>
<template v-else>
<view class="income-warning"> <view class="income-warning">
<view class="sprite-icon icon-warning-icon"></view> <view class="sprite-icon icon-warning-icon"></view>
<text>以上测算未包括 个人所得税、社保等事项</text> <text>以上测算未包括 个人所得税、社保等事项</text>
</view> </view>
<!-- <view class="finish-box flex-center">
<view class="sprite-icon icon-finish-icon"></view>
已提交申诉
</view> -->
<view class="verify-btn" @click="handleVerify">我要校核</view> <view class="verify-btn" @click="handleVerify">我要校核</view>
</template>
</view> </view>
</template> </template>
<view class="empty-body" v-else> <view class="empty-body" v-else>
...@@ -131,6 +135,7 @@ export default { ...@@ -131,6 +135,7 @@ export default {
return { return {
title: '学习数据', title: '学习数据',
show: false, show: false,
isExist: false,
tipsShow: false, tipsShow: false,
baseShow: false, baseShow: false,
baseDetailShow: false, baseDetailShow: false,
...@@ -205,6 +210,7 @@ export default { ...@@ -205,6 +210,7 @@ export default {
} }
uni.$api.pointApi.appealCommit(params).then(res => { uni.$api.pointApi.appealCommit(params).then(res => {
this.showVerify = false this.showVerify = false
this.appealExist()
}) })
}, },
getDetail(date) { getDetail(date) {
...@@ -259,6 +265,12 @@ export default { ...@@ -259,6 +265,12 @@ export default {
uni.$api.pointApi.attendanceDetail(params).then(res => { uni.$api.pointApi.attendanceDetail(params).then(res => {
this.baseSalaryDetail = res this.baseSalaryDetail = res
}) })
this.appealExist()
},
appealExist() {
uni.$api.pointApi.appealExist({ staffPhone, appealType: 2, appealDate: this.salaryMonth }).then(res => {
this.isExist = res
})
}, },
/** /**
......
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
<view class="item-label">{{ item.label }}</view> <view class="item-label">{{ item.label }}</view>
<uni-icons type="help" size="15" color="#A2A2A8" @click="clickTips(item)"></uni-icons> <uni-icons type="help" size="15" color="#A2A2A8" @click="clickTips(item)"></uni-icons>
<view class="item-value">{{ item.showUnit }}{{ formatNumber(salaryDetail[item.value] || '0') }}</view> <view class="item-value">{{ item.showUnit }}{{ formatNumber(salaryDetail[item.value] || '0') }}</view>
<view class="item-next" @click="showDetail(item)"></view> <view class="item-next" @click="showDetail(item)" v-if="salaryDetail[item.value] && item.tabelTh"></view>
</view> </view>
</template> </template>
</view> </view>
......
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
</view> </view>
<view class="base-box flex"> <view class="base-box flex">
<view class="base-item" v-for="(item, index) in baseList" :key="index"> <view class="base-item" v-for="(item, index) in baseList" :key="index">
<view class="item-label" @click="showDetail(item)"> <view class="item-label" @click="showDetail(item, item.exceptionCount && item.tips)">
{{ item.label }} {{ item.label }}
<text class="item-next" v-if="item.value"></text> <text class="item-next" v-if="item.exceptionCount && item.tips"></text>
</view> </view>
<view class="item-num"> <view class="item-num">
{{ item.exceptionCount || 0 }} {{ item.exceptionCount || 0 }}
...@@ -147,7 +147,8 @@ export default { ...@@ -147,7 +147,8 @@ export default {
close() { close() {
this.$emit('close') this.$emit('close')
}, },
showDetail(item) { showDetail(item, show) {
if (!show) return
this.$emit('showBaseDetail', item) this.$emit('showBaseDetail', item)
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!