From fee2f2532144fca6c81b1523aeef54165c5263b2 Mon Sep 17 00:00:00 2001
From: hsy <1029150275@qq.com>
Date: 星期二, 25 八月 2026 16:50:38 +0800
Subject: [PATCH] Merge branch 'refs/heads/dev_pro2.0' into fix/hsy/20260812

---
 src/views/erp/finance/payment/data.ts |   27 ++++++++-------------------
 1 files changed, 8 insertions(+), 19 deletions(-)

diff --git a/src/views/erp/finance/payment/data.ts b/src/views/erp/finance/payment/data.ts
index 85cf9ad..2d40c12 100644
--- a/src/views/erp/finance/payment/data.ts
+++ b/src/views/erp/finance/payment/data.ts
@@ -152,16 +152,13 @@
       formItemClass: 'col-span-3',
     },
     {
-      fieldName: 'accountId',
+      fieldName: 'accountName',
       label: '浠樻璐︽埛',
-      component: 'ApiSelect',
+      component: 'Input',
+      rules: 'required',
       componentProps: {
-        placeholder: '璇烽�夋嫨浠樻璐︽埛',
+        placeholder: '璇疯緭鍏ヤ粯娆捐处鎴�',
         allowClear: true,
-        showSearch: true,
-        api: getAccountSimpleList,
-        labelField: 'name',
-        valueField: 'id',
       },
     },
     {
@@ -180,6 +177,7 @@
       fieldName: 'discountPrice',
       label: '浼樻儬閲戦',
       component: 'InputNumber',
+      defaultValue: 0,
       componentProps: {
         class: '!w-full',
         disabled: formType === 'detail',
@@ -212,15 +210,13 @@
   ];
 }
 
-/** 琛ㄥ崟鐨勬槑缁嗚〃鏍煎垪 */
-export function useFormItemColumns(
-  disabled: boolean,
-): VxeTableGridOptions['columns'] {
+/** 琛ㄥ崟鐨勬槑缁嗚〃鏍煎垪锛堜粯娆惧熀浜庢潵绁紝鏄庣粏鐢辨潵绁ㄨ嚜鍔ㄧ敓鎴愶紝涓嶅彲鍒犻櫎锛� */
+export function useFormItemColumns(): VxeTableGridOptions['columns'] {
   return [
     { type: 'seq', title: '搴忓彿', minWidth: 50, fixed: 'left' },
     {
       field: 'bizNo',
-      title: '閲囪喘鍗曟嵁缂栧彿',
+      title: '鏉ョエ缂栧彿',
       minWidth: 200,
     },
     {
@@ -247,13 +243,6 @@
       title: '澶囨敞',
       minWidth: 150,
       slots: { default: 'remark' },
-    },
-    {
-      title: '鎿嶄綔',
-      width: 50,
-      fixed: 'right',
-      slots: { default: 'actions' },
-      visible: !disabled,
     },
   ];
 }

--
Gitblit v1.9.3