Browse Source

客戶档案-列表增加付款条件字段

jingbb 2 months ago
parent
commit
583a11dcdf
1 changed files with 7 additions and 2 deletions
  1. 7 2
      src/views/cuspCode/CustomerProfile/CuspCustomerProfile.data.ts

+ 7 - 2
src/views/cuspCode/CustomerProfile/CuspCustomerProfile.data.ts

@@ -61,7 +61,7 @@ export const columns: BasicColumn[] = [
   {
     title: '币种(currency)',
     align: 'center',
-    dataIndex: 'currency',
+    dataIndex: 'currency_dictText',
   },
   {
     title: '折扣(discount)',
@@ -112,6 +112,11 @@ export const columns: BasicColumn[] = [
     align: 'center',
     dataIndex: 'priority_dictText',
   },
+  {
+    title: '付款条件(payment terms)',
+    align: 'center',
+    dataIndex: 'paymentTerms_dictText',
+  },
   {
     title: '状态(status)',
     key: 'status',
@@ -233,7 +238,7 @@ export const searchFormSchema: FormSchema[] = [
     component: 'JDictSelectTag',
     labelWidth: 180,
     componentProps: {
-      dictCode: 'payment_terms',
+      dictCode: 'customer_payment_terms',
     },
     //colProps: {span: 6},
   },