zhengyiming
1 天以前 f633483b97b38c2965ecdbffcb80e4e297175a43
src/views/Reward/components/RewardApplyTradeCheckDialog.vue
@@ -6,7 +6,7 @@
    destroy-on-close
    draggable
  >
    <PortraitTableWithAttachment v-bind="portraitTableWithAttachmentProps">
    <PortraitTableWithAttachment v-bind="portraitTableWithAttachmentProps" labelWidth="100px">
      <template #title>
        <el-row class="portrait-table-with-attachment-title">
          <el-text style="color: #333333">打款信息</el-text>
@@ -47,12 +47,15 @@
          <ProFormItemV2
            label="上传凭证:"
            prop="payAuditFileUrl"
            :check-rules="[
              {
                message: '请上传凭证',
                type: 'upload',
              },
            ]"
            :required="!isApplyTrade"
            :check-rules="
              !isApplyTrade && [
                {
                  message: '请上传凭证',
                  type: 'upload',
                },
              ]
            "
          >
            <ProFormUpload
              v-model:file-url="form.payAuditFileUrl"
@@ -127,9 +130,12 @@
  name: 'WithdrawalApprovalAuditDialog',
});
// type Props = {};
type Props = {
  //true 出账审批 false 财务审批
  isApplyTrade?: boolean;
};
// const props = withDefaults(defineProps<Props>(), {});
const props = withDefaults(defineProps<Props>(), {});
const visible = defineModel({ type: Boolean });
@@ -148,7 +154,7 @@
  parkName: string;
  parkTypeName: string;
  tradeAmount: number;
  remianAmount: number;
  bountyAmount: number;
  tradeTime: string;
  auditTime: string;
  payRemark: string;
@@ -216,7 +222,7 @@
    },
    {
      label: '资金余额',
      key: 'remianAmount',
      key: 'bountyAmount',
      type: 'money',
    },
  ],