Ver Fonte

bug-595

张田田 há 2 meses atrás
pai
commit
beb2c87bdc
1 ficheiros alterados com 11 adições e 1 exclusões
  1. 11 1
      src/service/SingleItemDetail.vue

+ 11 - 1
src/service/SingleItemDetail.vue

@@ -133,12 +133,22 @@ const sellTypeText: Record<string, string> = {
       <vxe-table :data="mockSplitAccountList" border>
         <vxe-column field="profitSharingTime" title="分账时间" align="center" />
         <vxe-column field="conditioningProgramSupplierName" title="供应商" align="center" />
+        <vxe-column field="profitSharingStatus" title="分账状态" align="center" >
+          <template #default="{ row }">
+            {{ row.profitSharingStatus === '1' ? '未分账' : row.profitSharingStatus === '2' ? '已分账' : row.profitSharingStatus === '3' ? '分账异常' : '' }}
+          </template>
+        </vxe-column>
         <vxe-column field="profitSharing" title="分账比例" align="center">
           <template #default="{ row }">
             {{ row.profitSharing || '-' }}%
           </template>
         </vxe-column>
-        <vxe-column field="realAmount" title="分账金额" align="center">
+        <vxe-column field="profitSharingAmount" title="预计分账金额" align="center" >
+          <template #default="{ row }">
+            {{ row.profitSharingAmount ?? 0 }}元
+          </template>
+        </vxe-column>
+        <vxe-column field="realAmount" title="到账金额" align="center">
           <template #default="{ row }">
             {{ row.realAmount ?? 0 }}元
           </template>