|
|
@@ -56,6 +56,9 @@
|
|
|
<el-button plain @click="handleReset">重置</el-button>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
+ <el-col :span="8">
|
|
|
+ <span>提现金额总计: {{ totalAmount || 0 }}</span>
|
|
|
+ </el-col>
|
|
|
</el-form>
|
|
|
<el-table :data="firstData4" height="calc(100% - 194px)" style="width: 100%; margin-top: 20px;">
|
|
|
<el-table-column prop="name" label="业务员"></el-table-column>
|
|
|
@@ -65,7 +68,7 @@
|
|
|
{{ scope.row.attrType == '1' ? '前线人员' : scope.row.attrType == '2' ? '后线人员' : scope.row.attrType ==
|
|
|
'3' ? '合伙人' : scope.row.attrType == '4' ? '工作室管理员' : scope.row.attrType == '5' ? '团队' : scope.row.attrType
|
|
|
==
|
|
|
- '6' ? '个代' : scope.row.attrType == '7' ? '电销' : scope.row.attrType == '8' ? '渠道' :'' }}
|
|
|
+ '6' ? '个代' : scope.row.attrType == '7' ? '电销' : scope.row.attrType == '8' ? '渠道' : '' }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="managerName" label="管理人"></el-table-column>
|
|
|
@@ -143,6 +146,9 @@
|
|
|
<el-button plain @click="handleReset">重置</el-button>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
+ <el-col :span="8">
|
|
|
+ <span>提现金额总计: {{ totalAmount || 0 }}</span>
|
|
|
+ </el-col>
|
|
|
</el-form>
|
|
|
<el-table :data="firstData1" height="calc(100% - 194px)" style="width: 100%; margin-top: 20px;">
|
|
|
<el-table-column prop="name" label="业务员"></el-table-column>
|
|
|
@@ -152,7 +158,7 @@
|
|
|
{{ scope.row.attrType == '1' ? '前线人员' : scope.row.attrType == '2' ? '后线人员' : scope.row.attrType ==
|
|
|
'3' ? '合伙人' : scope.row.attrType == '4' ? '工作室管理员' : scope.row.attrType == '5' ? '团队' : scope.row.attrType
|
|
|
==
|
|
|
- '6' ? '个代' : scope.row.attrType == '7' ? '电销' : scope.row.attrType == '8' ? '渠道' :'' }}
|
|
|
+ '6' ? '个代' : scope.row.attrType == '7' ? '电销' : scope.row.attrType == '8' ? '渠道' : '' }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="managerName" label="管理人"></el-table-column>
|
|
|
@@ -239,6 +245,9 @@
|
|
|
<el-button plain @click="handleReset">重置</el-button>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
+ <el-col :span="8">
|
|
|
+ <span>提现金额总计: {{ totalAmount || 0 }}</span>
|
|
|
+ </el-col>
|
|
|
</el-form>
|
|
|
<el-table :data="firstData2" height="calc(100% - 194px)" style="width: 100%; margin-top: 20px;">
|
|
|
<el-table-column prop="name" label="业务员"></el-table-column>
|
|
|
@@ -248,7 +257,7 @@
|
|
|
{{ scope.row.attrType == '1' ? '前线人员' : scope.row.attrType == '2' ? '后线人员' : scope.row.attrType ==
|
|
|
'3' ? '合伙人' : scope.row.attrType == '4' ? '工作室管理员' : scope.row.attrType == '5' ? '团队' : scope.row.attrType
|
|
|
==
|
|
|
- '6' ? '个代' : scope.row.attrType == '7' ? '电销' : scope.row.attrType == '8' ? '渠道' :'' }}
|
|
|
+ '6' ? '个代' : scope.row.attrType == '7' ? '电销' : scope.row.attrType == '8' ? '渠道' : '' }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="managerName" label="管理人"></el-table-column>
|
|
|
@@ -323,6 +332,9 @@
|
|
|
<el-button plain @click="handleReset">重置</el-button>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
+ <el-col :span="8">
|
|
|
+ <span>提现金额总计: {{ totalAmount || 0 }}</span>
|
|
|
+ </el-col>
|
|
|
</el-form>
|
|
|
<el-table :data="firstData3" height="calc(100% - 194px)" style="width: 100%; margin-top: 20px;">
|
|
|
<el-table-column prop="name" label="业务员"></el-table-column>
|
|
|
@@ -332,7 +344,7 @@
|
|
|
{{ scope.row.attrType == '1' ? '前线人员' : scope.row.attrType == '2' ? '后线人员' : scope.row.attrType ==
|
|
|
'3' ? '合伙人' : scope.row.attrType == '4' ? '工作室管理员' : scope.row.attrType == '5' ? '团队' : scope.row.attrType
|
|
|
==
|
|
|
- '6' ? '个代' : scope.row.attrType == '7' ? '电销' : scope.row.attrType == '8' ? '渠道' :'' }}
|
|
|
+ '6' ? '个代' : scope.row.attrType == '7' ? '电销' : scope.row.attrType == '8' ? '渠道' : '' }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="managerName" label="管理人"></el-table-column>
|
|
|
@@ -425,6 +437,7 @@ const handleClick = (e) => {
|
|
|
activeName.value = e.props.name
|
|
|
type.value = e.props.name
|
|
|
initData(activeName.value)
|
|
|
+ queryTotalWithdrawalAmount()
|
|
|
}
|
|
|
|
|
|
// 待审核
|
|
|
@@ -558,7 +571,28 @@ const initData = (type) => {
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
-
|
|
|
+// 金额总计
|
|
|
+let totalAmount = ref(0)
|
|
|
+const queryTotalWithdrawalAmount = () => {
|
|
|
+ api.financeApi.queryTotalWithdrawalAmount({
|
|
|
+ salesman: firstForm.value.salesman,
|
|
|
+ attrType: firstForm.value.attrType,
|
|
|
+ createTimeStart: firstForm.value.createTime?.[0],
|
|
|
+ createTimeEnd: firstForm.value.createTime?.[1],
|
|
|
+ auditingUser: firstForm.value.auditingUser,
|
|
|
+ auditTimeStart: firstForm.value.auditTime?.[0],
|
|
|
+ auditTimeEnd: firstForm.value.auditTime?.[0],
|
|
|
+ auditingStatus: type.value == '0' || type.value == '3' ? '0' : type.value,
|
|
|
+ receiveUser: type.value != '3' ? localStorage.getItem('userName') : '',
|
|
|
+ pageNo: pages.value,
|
|
|
+ pageSize: size.value
|
|
|
+ }).then((res: any) => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ totalAmount.value = res.data
|
|
|
+ }
|
|
|
+ })
|
|
|
+}
|
|
|
+queryTotalWithdrawalAmount()
|
|
|
// 体现付款
|
|
|
let drawShow = ref(false)
|
|
|
let drawForm = ref({
|
|
|
@@ -676,7 +710,7 @@ const initAccount = () => {
|
|
|
})
|
|
|
}
|
|
|
// 数据导出
|
|
|
-const handleExport=()=>{
|
|
|
+const handleExport = () => {
|
|
|
api.financeApi.exportPayableExcel({
|
|
|
salesman: firstForm.value.salesman,
|
|
|
attrType: firstForm.value.attrType,
|
|
|
@@ -705,6 +739,7 @@ onMounted(() => {
|
|
|
initData('1')
|
|
|
initData('2')
|
|
|
initData('3')
|
|
|
+ queryTotalWithdrawalAmount()
|
|
|
})
|
|
|
|
|
|
</script>
|