浏览代码

查看相机详情

tangning 2 年之前
父节点
当前提交
560f288c4e
共有 4 个文件被更改,包括 11 次插入9 次删除
  1. 2 1
      src/views/equity/DownModal.vue
  2. 1 0
      src/views/equity/InvoiceModal.vue
  3. 6 6
      src/views/finance/data.tsx
  4. 2 2
      src/views/finance/index.vue

+ 2 - 1
src/views/equity/DownModal.vue

@@ -83,7 +83,7 @@
               },
             ],
             colProps: {
-              span: 22,
+              span: 16,
             },
         },{
             field: 'count',
@@ -91,6 +91,7 @@
             label: ' 新增次数',
             required: true,
             suffix:`剩余可售 ${agent.value.downSubNum} 个`,
+            // defaultValue:1,
             componentProps:{
               max:agent.value.downSubNum,
               min:1,

+ 1 - 0
src/views/equity/InvoiceModal.vue

@@ -122,6 +122,7 @@
             label: t('routes.equity.countNumber'),
             required: true,
             suffix:`${t('routes.equity.syks')} ${agent.value.majorSubNum} ${t('routes.equity.unit.1')}`,
+            // defaultValue:1,
             itemProps: {
               validateTrigger: 'onBlur',
             },

+ 6 - 6
src/views/finance/data.tsx

@@ -28,7 +28,7 @@ export const columns: BasicColumn[] = [
   {
     title: t('routes.equity.Type'),
     dataIndex: 'type',
-    width: 150,
+    width: 120,
     customRender:({record})=>{
       return t(`routes.finance.equityType.${record.type}`) || '-'
   }
@@ -36,12 +36,12 @@ export const columns: BasicColumn[] = [
   {
     title: t('routes.equity.nickName'),
     dataIndex: 'nickName',
-    width: 80,
+    width: 100,
   },
   {
     title: t('routes.equity.userName1'),
     dataIndex: 'userName',
-    width: 80,
+    width: 180,
   },
   {
     title: t('routes.equity.email'),
@@ -53,7 +53,7 @@ export const columns: BasicColumn[] = [
     title: t('routes.equity.userCount'),
     dataIndex: 'count',
     // slots: { customRender: 'orderStatus' },
-    width: 180,
+    width: 80,
   },
   {
     title: t('routes.equity.giveType'),
@@ -82,8 +82,8 @@ export const searchForm: Partial<FormProps> = {
           });
           optionList.push({
             name: t('routes.finance.equityType.2'),
-            value: 3,
-            key: '3',
+            value: 2,
+            key: '2',
           })
           console.log('ele.id',optionList)
           return optionList

+ 2 - 2
src/views/finance/index.vue

@@ -66,7 +66,7 @@ export default defineComponent({
         icon: 'visit-count|svg',
         value: lastMajorNum || 0,
         unit: t('routes.equity.unit.1'),
-        color: 'green',
+        color: 'blue',
         action: t('routes.equity.unit.-2'),
       },
       {
@@ -82,7 +82,7 @@ export default defineComponent({
         icon: 'carbon:user-role',
         value: lastDownNum || 0,
         unit: t('routes.equity.unit.2'),
-        color: 'orange',
+        color: 'blue',
         action: t('routes.equity.unit.-2'),
       },]
     });