- {{ t('team_salary') }}: ${{ SalaryMore.teamSalary }}, {{ t('bd_number') }}:{{
- SalaryMore.bdNumber
- }}
+
+
+
+
+ {{ t('team_salary') }}: ${{ SalaryMore.teamSalary }}
+
+
+
+ {{ t('bd_number') }}:{{ SalaryMore.bdNumber }}
+
@@ -905,6 +982,7 @@ const tabs = ref([
const activeTab = ref(1)
const showHistory = ref(false)
const showMore = ref(false)
+const showRemovePopup = ref(false)
const currentHistoryType = ref('bd') // 'bd' 或 'bdLeader'
const BDData = ref({}) // BD成员账单列表
@@ -917,7 +995,7 @@ const SalaryMore = ref({}) // BD Salary More
// 遮罩层显示状态
const maskLayerShow = computed(() => {
- return showHistory.value || showMore.value
+ return showHistory.value || showMore.value || showRemovePopup.value
})
const records = (historyType) => {
@@ -951,15 +1029,25 @@ const showReportDetail = async (billBelong) => {
showMore.value = true
}
+// 删除BD
+const removeBD = (BDItem) => {
+ showRemovePopup.value = true
+}
+
+// 确认删除
+const Confirm = () => {
+ closedPopup()
+}
+
// 关闭弹窗
const closedPopup = () => {
showHistory.value = false
showMore.value = false
+ showRemovePopup.value = false
SalaryMore.value = {}
}
// 默认头像处理
-
const defaultAvatarUrl = (e) => {
console.log('头像资源出错')
e.target.onerror = null //防止循环