yu.jie 4 年之前
父节点
当前提交
87b56eb952

+ 2 - 2
src/services/go/ermcp/qhj/interface.ts

@@ -126,8 +126,8 @@ export interface QhjAccountOutInApply {
  * 定投价查询请求
  */
 export interface QueryReckonPriceLogReq {
-    goodsid: number  //  商品ID
-    tradedate: string // 交易日 格式(yyyymmdd)
+    goodsid?: number  //  商品ID
+    tradedate?: string // 交易日 格式(yyyymmdd)
 }
 
 /**

+ 1 - 1
src/views/platinum/platinum_fixed_investment_price_query/list/tab/index.vue

@@ -34,7 +34,7 @@ export default defineComponent({
         // 表格操作按钮列表
         const [firstBtn] = _getBtnList('platinum_fixed_investment_price_query_tab', false).value;
         // 表格列表数据
-        const { loading, tableList, queryTable } = queryTableList();
+        const { loading, tableList, queryTable } = queryTableList(1001, '');
         initData(() => {
             // 获取列表数据
             queryTable();

+ 2 - 3
src/views/platinum/platinum_fixed_investment_price_query/list/tab/setup.ts

@@ -3,15 +3,14 @@ import { queryReckonPriceLog } from '@/services/go/ermcp/qhj';
 import { QhjReckonPriceLog, QueryReckonPriceLogReq } from '@/services/go/ermcp/qhj/interface';
 import { ref } from 'vue';
 
-export function queryTableList() {
+export function queryTableList(goodsid: number, tradedate: string) {
     // 加载状态
     const loading = ref<boolean>(false);
     // 表格数据
     const tableList = ref<QhjReckonPriceLog[]>([]);
     function queryTable() {
         const param: QueryReckonPriceLogReq = {
-            goodsid: 1,
-            tradedate: '20210609'
+
         }
         queryResultLoadingAndInfo(queryReckonPriceLog, loading, param)
             .then(res => {

+ 1 - 0
src/views/platinum/platinum_recharge_withdrawal_review/list/recharge/compoments/payment/index.vue

@@ -53,6 +53,7 @@ export default defineComponent({
                 businesstype: props.selectedRow.executetype === 1 ? 2 : 1,  // 交易类型 1: 入金  2:出金 3: 签约 4: 解约
                 auditid: Number(getUserId())  // 审核人
             }
+            debugger
 
             requestResultLoadingAndInfo(t2bExchConfirmBusiness, reqParams, loading, ['确认收款成功', '确认收款失败:']).then(() => {
                 cancel();

+ 1 - 1
src/views/platinum/platinum_recharge_withdrawal_review/list/setup.ts

@@ -12,7 +12,7 @@ export function queryTableList(type: 'in' | 'out') {
         queryResultLoadingAndInfo(queryAccountInOutApply, loading)
             .then(res => {
                 //申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金
-                const arr = type === 'in' ? [1, 3, 5, 7] : [2, 4, 6, 8]
+                const arr = type === 'in' ? [2, 4, 6, 8] :  [1, 3, 5, 7]
                 tableList.value = res.filter((e: QhjAccountOutInApply) => arr.includes(e.executetype))
             })
     }