|
|
@@ -272,6 +272,7 @@ let AccountRef = ref()
|
|
|
|
|
|
const refuseReason = ref('')
|
|
|
let activeName = ref('0')
|
|
|
+let RefusePopover = ref()
|
|
|
const queryInfo = ref({
|
|
|
salesman: '',//业务员
|
|
|
attrType: '',//业务员类型
|
|
|
@@ -341,6 +342,33 @@ const handlePay = (row) => {
|
|
|
drawShow.value = true
|
|
|
drawForm.value.id = row.id
|
|
|
}
|
|
|
+const refusePopoverCancel = () => {
|
|
|
+ RefusePopover.value.hide()
|
|
|
+ refuseReason.value = ''
|
|
|
+}
|
|
|
+const refusePopoverConfirm = (row) => {
|
|
|
+ if (!refuseReason.value) {
|
|
|
+ ElMessage({
|
|
|
+ message: '请填写驳回理由!',
|
|
|
+ type: 'warning'
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
+ api.financeApi.rejectAmount({
|
|
|
+ id: row.id,
|
|
|
+ rejectReason: refuseReason.value
|
|
|
+ }).then((res: any) => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ ElMessage({
|
|
|
+ message: '提现申请已驳回',
|
|
|
+ type: 'success'
|
|
|
+ })
|
|
|
+ initData('0')
|
|
|
+ initData('1')
|
|
|
+ initData('2')
|
|
|
+ }
|
|
|
+ })
|
|
|
+}
|
|
|
const payAccount = () => {
|
|
|
payAccountShow.value = true
|
|
|
initAccount();
|