You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

860 lines
30 KiB

1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
2 months ago
1 month ago
2 months ago
1 month ago
1 month ago
1 month ago
2 months ago
1 month ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
1 month ago
1 month ago
1 month ago
2 months ago
1 month ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
2 months ago
1 month ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
1 month ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
1 month ago
2 months ago
  1. <!-- 各地负责人 -->
  2. <template>
  3. <el-card style="margin-bottom: 0.5vh;background-color: rgb(243,250,254);">
  4. <div class="condition">
  5. <div class="item1">
  6. <el-text size="large" style="width:4vw;">精网号</el-text>
  7. <el-input v-model="searchForm.jwcode" placeholder="请输入精网号" style="width:9vw;" clearable />
  8. </div>
  9. <div class="item1">
  10. <el-text size="large" style="width:4vw;">客户姓名</el-text>
  11. <el-input v-model="searchForm.name" placeholder="请输入客户姓名" style="width:9vw;" clearable />
  12. </div>
  13. <div class="item1">
  14. <el-text size="large" style="width:4vw;">所属地区</el-text>
  15. <el-input v-model="searchForm.markets" placeholder="请输入所属地区" style="width:9vw;" clearable />
  16. </div>
  17. <div class="item1">
  18. <el-text size="large" style="width:4vw;">产品名称</el-text>
  19. <el-cascader v-model="searchForm.goodsName" :options="productList" style="width: 10vw;" />
  20. </div>
  21. <div class="item1">
  22. <el-text size="large" style="width:4vw;">订单状态</el-text>
  23. <el-select v-model="searchForm.statuses" style="width:9vw;">
  24. <el-option v-for="item in statusList" :key="item.value" :label="item.label" :value="item.value" />
  25. </el-select>
  26. </div>
  27. </div>
  28. <div class="condition">
  29. <div class="item2">
  30. <el-text size="large" style="width:4vw;">付款币种</el-text>
  31. <el-select v-model="searchForm.paymentCurrency" style="width:9vw;">
  32. <el-option v-for="item in currencies" :key="item.value" :label="item.label" :value="item.value" />
  33. </el-select>
  34. </div>
  35. <div class="item2">
  36. <el-text size="large" style="width:4vw;">支付方式</el-text>
  37. <el-select v-model="searchForm.payType" style="width:9vw;">
  38. <el-option v-for="item in channelOptions" :key="item.value" :label="item.label"
  39. :value="item.value" />
  40. </el-select>
  41. </div>
  42. <div class="item2" style="width: 28.5vw;">
  43. <el-text size="large" style="width:4vw;">付款时间</el-text>
  44. <el-date-picker v-model="dateRange" type="datetimerange" range-separator="" start-placeholder="起始时间"
  45. end-placeholder="结束时间" style="width:22vw;" @change="handleDatePickerChange"
  46. :disabled-date="disabledDate" />
  47. </div>
  48. <div>
  49. <el-button type="primary" @click="getRefund">查询</el-button>
  50. <!-- <el-button type="warning">导出excel</el-button>
  51. <el-button type="primary">查看导出列表</el-button> -->
  52. <el-button type="success" @click="reset">重置</el-button>
  53. </div>
  54. </div>
  55. </el-card>
  56. <el-card style="margin-top: 0.5vh;background-color: rgb(231,244,253);">
  57. <el-table :data="tableData" style="height:64vh;width:82vw">
  58. <el-table-column type="index" label="序号" width="60" fixed="left" />
  59. <el-table-column prop="name" label="Homily ID" width="120" fixed="left" />
  60. <el-table-column prop="jwcode" label="姓名" width="120" fixed="left" show-overflow-tooltip />
  61. <el-table-column prop="market" label="所属地区" width="120" />
  62. <el-table-column prop="goodsName" label="产品名称" width="120" />
  63. <el-table-column prop="goodNum" label="产品数量" width="120" />
  64. <el-table-column prop="refundType" label="退款方式" width="120">
  65. <template #default="scope">
  66. {{ scope.row.refundType === 1 ? '部分退款' : '全部退款' }}
  67. </template>
  68. </el-table-column>
  69. <el-table-column prop="areaServise" label="提交人" width="120" />
  70. <el-table-column prop="refundReason" label="退款理由" width="120" />
  71. <el-table-column prop="remark" label="备注" width="150" show-overflow-tooltip />
  72. <el-table-column prop="status" label="订单状态" width="120">
  73. <template #default="scope">
  74. {{
  75. [20, 30, 40].includes(scope.row.status) ? '审核中' :
  76. [22, 32].includes(scope.row.status) ? '审核驳回' :
  77. scope.row.status === 41 ? '退款完成' : scope.row.status
  78. }}
  79. </template>
  80. </el-table-column>
  81. <el-table-column prop="operation" label="操作" fixed="right" width="100px">
  82. <template #default="scope">
  83. <div class="operation">
  84. <el-button v-if="scope.row.status === 20" type="primary" text @click="showAudit(scope.row)">
  85. 审核
  86. </el-button>
  87. <el-button v-else type="primary" text @click="showStep(scope.row)">
  88. 查看进度
  89. </el-button>
  90. </div>
  91. </template>
  92. </el-table-column>
  93. </el-table>
  94. <el-pagination v-model:current-page="pagination.pageNum" v-model:page-size="pagination.pageSize"
  95. layout="total, sizes, prev, pager, next, jumper" :total="pagination.total"
  96. @size-change="handlePageSizeChange" @current-change="handleCurrentChange"
  97. style="margin-top: 1vh;"></el-pagination>
  98. </el-card>
  99. <el-dialog v-model="showAudit2" title="审核" class="audit2" width="35vw" overflow draggable>
  100. <div class="top">
  101. <el-button @click="" class="smallTitle" size="small">退款申请信息</el-button>
  102. <div class="top-item">
  103. <el-text style="width:4vw;" size="small">退款类型</el-text>
  104. <el-input v-model="auditRow.refundModel" placeholder="请输入退款类型" size="small" style="width:10vw;"
  105. clearable></el-input>
  106. </div>
  107. <div class="top-item">
  108. <el-text style="width:4vw;" size="small">退款金额</el-text>
  109. <el-input v-model="auditRow.paymentAmount" placeholder="请输入退款金额" size="small" style="width:10vw;"
  110. clearable></el-input>
  111. </div>
  112. <div class="top-item">
  113. <el-text style="width:4vw;" size="small">退款备注</el-text>
  114. <el-input v-model="auditRow.refundReason" placeholder="请输入退款备注" size="small" style="width:10vw;"
  115. :rows="3" maxlength="100" show-word-limit type="textarea" />
  116. </div>
  117. </div>
  118. <el-button @click="" class="smallTitle" size="small">原订单信息</el-button>
  119. <div class="center">
  120. <div class="center-left">
  121. <div class="center-item">
  122. <el-text style="width:4vw;" size="small">精网号</el-text>
  123. <el-input v-model="auditRow.jwcode" size="small" style="width:10vw;" disabled />
  124. </div>
  125. <div class="center-item">
  126. <el-text style="width:4vw;" size="small">所属地区</el-text>
  127. <el-input v-model="auditRow.marketName" size="small" style="width:10vw;" disabled />
  128. </div>
  129. <div class="center-item">
  130. <el-text style="width:4vw;" size="small">产品名称</el-text>
  131. <el-input v-model="auditRow.goodsName" size="small" style="width:10vw;" disabled />
  132. </div>
  133. <div class="center-item">
  134. <el-text style="width:4vw;" size="small">付款金额</el-text>
  135. <el-input v-model="auditRow.paymentAmount" size="small" style="width:10vw;" disabled />
  136. </div>
  137. <div class="center-item">
  138. <el-text style="width:4vw;" size="small">到账金额</el-text>
  139. <el-input v-model="auditRow.receivedAmount" size="small" style="width:10vw;" disabled />
  140. </div>
  141. <div class="center-item">
  142. <el-text style="width:4vw;" size="small">支付方式</el-text>
  143. <el-input v-model="auditRow.payType" size="small" style="width:10vw;" disabled />
  144. </div>
  145. <div class="center-item">
  146. <el-text style="width:4vw;">转账凭证</el-text>
  147. <img v-if="auditRow.voucher" :src="auditRow.voucher"
  148. style="width: 80px; height: 80px; object-fit: cover;">
  149. <div v-else>
  150. 无转账凭证
  151. </div>
  152. </div>
  153. </div>
  154. <div class="center-right">
  155. <div class="right-item">
  156. <el-text style="width:4vw;" size="small">客户姓名</el-text>
  157. <el-input v-model="auditRow.name" size="small" style="width:10vw;" disabled />
  158. </div>
  159. <div class="right-item">
  160. <el-text style="width:4vw;" size="small">活动名称</el-text>
  161. <el-input v-model="auditRow.activity" size="small" style="width:10vw;" disabled />
  162. </div>
  163. <div class="right-item">
  164. <el-text style="width:4vw;" size="small">付款币种</el-text>
  165. <el-input v-model="auditRow.paymentCurrency" size="small" style="width:10vw;" disabled />
  166. </div>
  167. <div class="right-item">
  168. <el-text style="width:4vw;" size="small">到账币种</el-text>
  169. <el-input v-model="auditRow.receivedCurrency" size="small" style="width:10vw;" disabled />
  170. </div>
  171. <div class="right-item">
  172. <el-text style="width:4vw;" size="small">手续费</el-text>
  173. <el-input v-model="auditRow.handlingCharge" size="small" style="width:10vw;" disabled />
  174. </div>
  175. <div class="right-item">
  176. <el-text style="width:4vw;" size="small">付款时间</el-text>
  177. <el-input v-model="auditRow.payTime" size="small" style="width:10vw;" disabled />
  178. </div>
  179. <div class="right-item">
  180. <el-text style="width:4vw;" size="small">提交人</el-text>
  181. <el-input v-model="auditRow.submitterName" size="small" style="width:10vw;" disabled />
  182. </div>
  183. <div class="right-item">
  184. <el-text style="width:4vw;" size="small">到账时间</el-text>
  185. <el-input v-model="auditRow.receiveTime" size="small" style="width:10vw;" disabled />
  186. </div>
  187. <div class="right-item">
  188. <el-text style="width:4vw;" size="small">备注</el-text>
  189. <el-input v-model="auditRow.remark" size="small" style="width:10vw;" :row="3" maxlength="100"
  190. type="textarea" show-word-limit disabled />
  191. </div>
  192. </div>
  193. </div>
  194. <div class="bottom">
  195. <el-button class="smallTitle" size="small" v-show="showReject">驳回信息</el-button>
  196. <div class="bottom-item" v-show="showReject">
  197. <el-text style="width:4vw;" size="small">驳回备注</el-text>
  198. <el-input v-model="addForm.remark" placeholder="请输入驳回备注" size="small" style="width:10vw;" :row="3"
  199. maxlength="100" type="textarea" show-word-limit clearable />
  200. </div>
  201. <div style="text-align: center;" v-show="!showReject">
  202. <el-button type="default" @click="showReject = true">驳回</el-button>
  203. <el-button type="primary" @click="handlePass">通过</el-button>
  204. </div>
  205. <div style="text-align: center;" v-show="showReject">
  206. <el-button type="default" @click="hideReject">取消</el-button>
  207. <el-button type="primary" @click="handleReject">确定</el-button>
  208. </div>
  209. </div>
  210. </el-dialog>
  211. <el-dialog v-model="showSteps" title="唉!!!" overflow draggable width="1206px" height="506px" :style="{
  212. backgroundImage: 'url(/src/assets/images/背景图.png)',
  213. backgroundSize: 'cover',
  214. backgroundPosition: 'center'
  215. }">
  216. <div class="steps">
  217. <div class="steps-content">
  218. <el-steps :active="currentStep" align-center>
  219. <el-step title="提交人">
  220. <template #title>
  221. <div>提交人<br>{{ submitterName }}</div>
  222. </template>
  223. <template #icon>
  224. <img v-if="currentStep === 1" src="@/assets/images/待审核.png" alt="步骤图标"
  225. style="width: 30px; height: 30px;">
  226. <img v-if="currentStep > 1" src="@/assets/images/已审核.png" alt="步骤图标"
  227. style="width: 30px; height: 30px;">
  228. </template>
  229. </el-step>
  230. <el-step>
  231. <template #title>
  232. <div>地区财务<br>{{ areaFinance }}</div>
  233. </template>
  234. <template #icon>
  235. <img v-if="currentStep < 2" src="@/assets/images/还没传到.png" alt="步骤图标"
  236. style="width: 30px; height: 30px;">
  237. <img v-if="currentStep === 2" src="@/assets/images/待审核.png" alt="步骤图标"
  238. style="width: 30px; height: 30px;">
  239. <img v-if="currentStep > 2" src="@/assets/images/已审核.png" alt="步骤图标"
  240. style="width: 30px; height: 30px;">
  241. </template>
  242. </el-step>
  243. <el-step>
  244. <template #title>
  245. <div>地区负责人<br>{{ areaCharge }}</div>
  246. </template>
  247. <template #icon>
  248. <img v-if="currentStep < 3" src="@/assets/images/还没传到.png" alt="步骤图标"
  249. style="width: 30px; height: 30px;">
  250. <img v-if="currentStep === 3" src="@/assets/images/待审核.png" alt="步骤图标"
  251. style="width: 30px; height: 30px;">
  252. <img v-if="currentStep > 3" src="@/assets/images/已审核.png" alt="步骤图标"
  253. style="width: 30px; height: 30px;">
  254. </template>
  255. </el-step>
  256. <el-step>
  257. <template #title>
  258. <div>总部财务<br>{{ headFinance }}</div>
  259. </template>
  260. <template #icon>
  261. <img v-if="currentStep < 4" src="@/assets/images/还没传到.png" alt="步骤图标"
  262. style="width: 30px; height: 30px;">
  263. <img v-if="currentStep === 4" src="@/assets/images/待审核.png" alt="步骤图标"
  264. style="width: 30px; height: 30px;">
  265. <img v-if="currentStep > 4" src="@/assets/images/已审核.png" alt="步骤图标"
  266. style="width: 30px; height: 30px;">
  267. </template>
  268. </el-step>
  269. <el-step>
  270. <template #title>
  271. <div>指定执行人<br>{{ executor }}</div>
  272. </template>
  273. <template #icon>
  274. <img v-if="currentStep < 5" src="@/assets/images/还没传到.png" alt="步骤图标"
  275. style="width: 30px; height: 30px;">
  276. <img v-if="currentStep === 5" src="@/assets/images/待审核.png" alt="步骤图标"
  277. style="width: 30px; height: 30px;">
  278. </template>
  279. </el-step>
  280. </el-steps>
  281. </div>
  282. <div class="steps-btn">
  283. <el-button type="primary" @click="showSteps = false">确定</el-button>
  284. </div>
  285. </div>
  286. </el-dialog>
  287. </template>
  288. <script setup>
  289. import { ref, onMounted } from 'vue'
  290. import { ElMessage } from 'element-plus'
  291. import API from '@/util/http.js'
  292. const uploadUrl = 'https://api.homilychart.com/hljw/api/aws/upload'
  293. import { useAdminStore } from "@/store/index.js"
  294. import { storeToRefs } from "pinia"
  295. import dayjs from 'dayjs'
  296. const adminStore = useAdminStore()
  297. const { adminData, menuTree } = storeToRefs(adminStore)
  298. import { permissionMapping, findMenuById, hasMenuPermission } from "@/utils/menuTreePermission.js"
  299. const currentStep = ref(0)// 进度图
  300. const searchForm = ref({
  301. jwcode: '',
  302. markets: []
  303. })
  304. const addForm = ref({
  305. remark: ''
  306. })
  307. const showReject = ref(false)
  308. const auditRow = ref({})// 审核回显
  309. const dateRange = ref([])
  310. const pagination = ref({
  311. pageNum: 1,
  312. pageSize: 50,
  313. total: 0
  314. })
  315. const showAudit2 = ref(false)
  316. const tableData = ref([])
  317. const showSteps = ref(false)
  318. const submitterName = ref('')// 提交人
  319. const areaFinance = ref('')// 地区财务
  320. const areaCharge = ref('')// 地区负责人
  321. const headFinance = ref('')// 总部财务
  322. const executor = ref('')// 指定执行人
  323. const uploadRef = ref(null)
  324. const currencies = ref([
  325. {
  326. value: '新币',
  327. label: '新币'
  328. },
  329. {
  330. value: '港币',
  331. label: '港币'
  332. },
  333. {
  334. value: '马币',
  335. label: '马币'
  336. },
  337. {
  338. value: '加币',
  339. label: '加币'
  340. },
  341. {
  342. value: '泰铢',
  343. label: '泰铢'
  344. },
  345. {
  346. value: '越南盾',
  347. label: '越南盾'
  348. }
  349. ])
  350. const channelOptions = ref([{
  351. value: '银行转账',
  352. label: '银行转账'
  353. },
  354. {
  355. value: '现金',
  356. label: '现金'
  357. },
  358. {
  359. value: '支票',
  360. label: '支票'
  361. },
  362. {
  363. value: '刷卡',
  364. label: '刷卡'
  365. },
  366. {
  367. value: 'Grabpay',
  368. label: 'Grabpay'
  369. },
  370. {
  371. value: 'Nets',
  372. label: 'Nets'
  373. },
  374. {
  375. value: 'PayPal',
  376. label: 'PayPal'
  377. },
  378. {
  379. value: 'Stripe-链接收款',
  380. label: 'Stripe-链接收款'
  381. },
  382. {
  383. value: 'Ipay88-链接收款',
  384. label: 'Ipay88-链接收款'
  385. },
  386. {
  387. value: 'PaymentAsia-链接收款',
  388. label: 'PaymentAsia-链接收款'
  389. },
  390. {
  391. value: 'Stripe-Link平台',
  392. label: 'Stripe-Link平台'
  393. },
  394. {
  395. value: 'PaymentAsia-Link平台',
  396. label: 'PaymentAsia-Link平台'
  397. },
  398. {
  399. value: 'FirstData-Link平台-Link平台',
  400. label: 'FirstData-Link平台-Link平台'
  401. },
  402. {
  403. value: 'IOS-Link平台',
  404. label: 'IOS-Link平台'
  405. },
  406. {
  407. value: 'Ipay88-Link平台',
  408. label: 'Ipay88-Link平台'
  409. }
  410. ])
  411. const statusList = ref([
  412. {
  413. value: 20,
  414. label: '待审核',
  415. },
  416. {
  417. value: '审核通过',
  418. label: '审核通过'
  419. },
  420. {
  421. value: '审核驳回',
  422. label: '审核驳回'
  423. },
  424. {
  425. value: 41,
  426. label: '退款完成'
  427. }
  428. ])
  429. // 查全部
  430. const getRefund = async function () {
  431. if (!hasMenuPermission(menuTree.value, permissionMapping.refundChargeShow)) {
  432. ElMessage.error('无此权限')
  433. return
  434. }
  435. try {
  436. searchForm.value.statuses = [20, 22, 30, 32, 40, 41] // 看不到进度没到这里的
  437. if (searchForm.value.statuses === '审核通过') {
  438. statuses = [30, 40]
  439. } else if (searchForm.value.statuses === '审核驳回') {
  440. statuses = [22, 32]
  441. }
  442. const params = {
  443. pageNum: pagination.value.pageNum,
  444. pageSize: pagination.value.pageSize,
  445. cashRecordDone: {
  446. jwcode: searchForm.value.jwcode,//精网号
  447. name: searchForm.value.name,//姓名
  448. markets: searchForm.value.markets,//地区
  449. goodsName: searchForm.value.goodsName,//商品名
  450. statuses: searchForm.value.statuses,//10:地区财务待审核;12:地区财务驳回;
  451. // 20:地区负责人待审核;22:地区负责人驳回;
  452. // 30:总部财务待审核;32:总部财务驳回;
  453. // 40:执行人待处理;41:执行人已处理,退款完成;
  454. paymentCurrency: searchForm.value.paymentCurrency,//付款币种
  455. payType: searchForm.value.payType,//支付方式
  456. startTime: dateRange.value && dateRange.value[0] ? moment(dateRange.value[0]).format('YYYY-MM-DD HH:mm:ss') : "",
  457. endtime: dateRange.value && dateRange.value[1] ? moment(dateRange.value[1]).format('YYYY-MM-DD HH:mm:ss') : "",
  458. adminId: adminData.value.id
  459. }
  460. }
  461. const result = await API({
  462. url: '/Money/select',
  463. method: 'POST',
  464. data: params
  465. })
  466. tableData.value = result.data.list || []
  467. } catch (error) {
  468. ElMessage.error(error.message || '查询失败')
  469. }
  470. }
  471. // 审核通过
  472. const handlePass = async function () {
  473. if (!hasMenuPermission(menuTree.value, permissionMapping.refundChargeAudit)) {
  474. ElMessage.error('无此权限')
  475. return
  476. }
  477. try {
  478. const params = {
  479. id: auditRow.value.id,
  480. status: 30,
  481. rejectReason: addForm.value.remark,
  482. areaCharge: adminData.value.adminName,
  483. auditId: auditRow.value.auditId
  484. }
  485. const result = await API({
  486. url: '/Money/review',
  487. data: params
  488. })
  489. if (result.code === 200) {
  490. ElMessage.success('审核通过')
  491. showAudit2.value = false
  492. getRefund()
  493. }
  494. } catch (error) {
  495. ElMessage.error(error.message || '审核失败')
  496. }
  497. }
  498. // 审核驳回
  499. const handleReject = async function () {
  500. if (!hasMenuPermission(menuTree.value, permissionMapping.refundChargeAudit)) {
  501. ElMessage.error('无此权限')
  502. return
  503. }
  504. try {
  505. const params = {
  506. id: auditRow.value.id,
  507. status: 22,
  508. rejectReason: addForm.value.remark,
  509. areaCharge: adminData.value.adminName,
  510. auditId: auditRow.value.auditId
  511. }
  512. const result = await API({
  513. url: '/Money/review',
  514. data: params
  515. })
  516. if (result.code === 200) {
  517. ElMessage.success('审核驳回')
  518. showAudit.value = false
  519. getRefund()
  520. }
  521. } catch (error) {
  522. ElMessage.error(error.message || '审核失败')
  523. }
  524. }
  525. const showStep = function (row) {
  526. if (!hasMenuPermission(menuTree.value, permissionMapping.refundChargeProgShow)) {
  527. ElMessage.error('无此权限');
  528. return;
  529. }
  530. console.log("row", row)
  531. currentStep.value = 1;
  532. if (row.status === 41) {
  533. executor.value = row.executorName
  534. currentStep.value = 6;
  535. } else {
  536. if (row.areaServise !== null && row.areaServise !== '') {
  537. submitterName.value = row.areaServise
  538. console.log(submitterName.value)
  539. currentStep.value = 2;
  540. }
  541. if (row.areaFinance !== null && row.areaFinance !== '') {
  542. areaFinance.value = row.areaFinance
  543. console.log(areaFinance.value)
  544. currentStep.value = 3;
  545. }
  546. if (row.areaCharge !== null && row.areaCharge !== '') {
  547. areaCharge.value = row.areaCharge
  548. console.log(areaCharge.value)
  549. currentStep.value = 4;
  550. }
  551. if (row.headFinance !== null && row.headFinance !== '') {
  552. headFinance.value = row.headFinance
  553. console.log(headFinance.value)
  554. currentStep.value = 5;
  555. }
  556. }
  557. console.log("当前步骤:", currentStep.value);
  558. showSteps.value = true;
  559. }
  560. const productList = [
  561. {
  562. "value": "金币产品",
  563. "label": "金币产品",
  564. "children": [
  565. {
  566. "value": "金币充值",
  567. "label": "金币充值",
  568. }
  569. ]
  570. },
  571. {
  572. "value": "软件产品",
  573. "label": "软件产品",
  574. "children": [
  575. {
  576. "value": "美股",
  577. "label": "美股",
  578. "children": [
  579. {
  580. "value": "美股软件",
  581. "label": "美股软件"
  582. }
  583. ]
  584. },
  585. {
  586. "value": "港股",
  587. "label": "港股",
  588. "children": [
  589. {
  590. "value": "港股软件",
  591. "label": "港股软件"
  592. }
  593. ]
  594. },
  595. {
  596. "value": "A股",
  597. "label": "A股",
  598. "children": [
  599. {
  600. "value": "A股软件",
  601. "label": "A股软件"
  602. }
  603. ]
  604. },
  605. {
  606. "value": "新加坡股",
  607. "label": "新加坡股",
  608. "children": [
  609. {
  610. "value": "新加坡股软件",
  611. "label": "新加坡股软件"
  612. }
  613. ]
  614. },
  615. {
  616. "value": "马股",
  617. "label": "马股",
  618. "children": [
  619. {
  620. "value": "马股软件",
  621. "label": "马股软件"
  622. }
  623. ]
  624. },
  625. {
  626. "value": "日本股",
  627. "label": "日本股",
  628. "children": [
  629. {
  630. "value": "日本股软件",
  631. "label": "日本股软件"
  632. }
  633. ]
  634. },
  635. {
  636. "value": "泰股",
  637. "label": "泰股",
  638. "children": [
  639. {
  640. "value": "泰股软件",
  641. "label": "泰股软件"
  642. }
  643. ]
  644. },
  645. {
  646. "value": "越南股",
  647. "label": "越南股",
  648. "children": [
  649. {
  650. "value": "越南股软件",
  651. "label": "越南股软件"
  652. }
  653. ]
  654. },
  655. {
  656. "value": "印尼股",
  657. "label": "印尼股",
  658. "children": [
  659. {
  660. "value": "印尼股软件",
  661. "label": "印尼股软件"
  662. }
  663. ]
  664. },
  665. {
  666. "value": "韩国股",
  667. "label": "韩国股",
  668. "children": [
  669. {
  670. "value": "韩国股软件",
  671. "label": "韩国股软件"
  672. }
  673. ]
  674. },
  675. {
  676. "value": "台湾股",
  677. "label": "台湾股",
  678. "children": [
  679. {
  680. "value": "台湾股软件",
  681. "label": "台湾股软件"
  682. }
  683. ]
  684. }
  685. ]
  686. },
  687. ]
  688. const hideReject = function () {
  689. showReject.value = false
  690. addForm.value.remark = ''
  691. }
  692. const reset = function () {
  693. searchForm.value = {
  694. jwcode: ''
  695. }
  696. dateRange.value = []
  697. getRefund()
  698. }
  699. const showAudit = function (row) {
  700. auditRow.value = row
  701. showAudit2.value = true
  702. }
  703. onMounted(() => {
  704. console.log('???????????????????', adminData.value)
  705. getRefund()
  706. })
  707. </script>
  708. <style scoped lang="scss">
  709. :deep(.el-table__header-wrapper),
  710. :deep(.el-table__body-wrapper),
  711. :deep(.el-table__cell),
  712. :deep(.el-table__body td) {
  713. background-color: #F3FAFE !important;
  714. }
  715. :deep(.el-table__header th) {
  716. background-color: #F3FAFE !important;
  717. }
  718. .condition {
  719. width: 82vw;
  720. display: flex;
  721. align-items: center;
  722. height: 4vh;
  723. .item1 {
  724. width: 18%;
  725. display: flex;
  726. align-items: center;
  727. margin-bottom: 1vh;
  728. margin-right: 0.5vw;
  729. }
  730. .item2 {
  731. width: 18%;
  732. display: flex;
  733. align-items: center;
  734. margin-right: 0.5vw;
  735. }
  736. }
  737. .audit1 {
  738. height: 47vh;
  739. .audit-item {
  740. display: flex;
  741. align-items: center;
  742. margin-bottom: 1vh;
  743. }
  744. }
  745. .audit2 {
  746. display: flex;
  747. justify-content: center;
  748. .top {
  749. width: 30vw;
  750. height: 17vh;
  751. .top-item {
  752. display: flex;
  753. align-items: center;
  754. margin-bottom: 1vh;
  755. }
  756. }
  757. .smallTitle {
  758. background-color: white;
  759. color: rgb(64, 158, 255);
  760. border-color: rgb(64, 158, 255);
  761. margin-bottom: 0.5vh;
  762. }
  763. .center {
  764. display: flex;
  765. width: 30vw;
  766. height: 35vh;
  767. .dialog-item {
  768. display: flex;
  769. align-items: center;
  770. margin-bottom: 1vh;
  771. }
  772. .center-left {
  773. width: 60%;
  774. height: 35vh;
  775. .image {
  776. width: 4vw !important;
  777. height: 4vw !important;
  778. }
  779. :deep(.el-upload--picture-card) {
  780. width: 4vw !important;
  781. height: 4vw !important;
  782. padding: 0 !important;
  783. }
  784. .center-item {
  785. display: flex;
  786. align-items: center;
  787. margin-bottom: 1vh;
  788. }
  789. }
  790. .center-right {
  791. height: 35vh;
  792. .right-item {
  793. display: flex;
  794. align-items: center;
  795. margin-bottom: 1vh;
  796. }
  797. }
  798. }
  799. .bottom {
  800. width: 30vw;
  801. height: 5vh;
  802. .bottom-item {
  803. display: flex;
  804. align-items: center;
  805. margin-bottom: 1vh;
  806. }
  807. }
  808. }
  809. .steps {
  810. .steps-content {
  811. padding-top: 15vw;
  812. }
  813. .steps-status {
  814. display: flex;
  815. align-items: center;
  816. justify-content: center;
  817. }
  818. .steps-btn {
  819. height: 15vh;
  820. display: flex;
  821. justify-content: center;
  822. align-items: center;
  823. }
  824. }
  825. </style>