From 2cecc157796d973f187a1ac7506576400f914beb Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 02 七月 2026 14:25:57 +0800
Subject: [PATCH] 银川 1.销售报价页面开发、联调 2.销售订单页面开发、联调 3.合同管理页面开发联调

---
 src/views/erp/sale/order/data.ts |   34 +++++++++++++++++++++++++++++-----
 1 files changed, 29 insertions(+), 5 deletions(-)

diff --git a/src/views/erp/sale/order/data.ts b/src/views/erp/sale/order/data.ts
index 8f0cdcc..3d654e2 100644
--- a/src/views/erp/sale/order/data.ts
+++ b/src/views/erp/sale/order/data.ts
@@ -7,8 +7,8 @@
 
 import { z } from '#/adapter/form';
 import { getAccountSimpleList } from '#/api/erp/finance/account';
-import { getProductSimpleList } from '#/api/erp/product/product';
-import { getCustomerSimpleList } from '#/api/erp/sale/customer';
+import { getItemPage } from '#/api/mdm/item';
+import { getCustomerSimpleList as getCrmCustomerSimpleList } from '#/api/crm/customer';
 import { getSimpleUserList } from '#/api/system/user';
 import { getRangePickerDefaultProps } from '#/utils';
 
@@ -55,7 +55,7 @@
         placeholder: '璇烽�夋嫨瀹㈡埛',
         allowClear: true,
         showSearch: true,
-        api: getCustomerSimpleList,
+        api: getCrmCustomerSimpleList,
         labelField: 'name',
         valueField: 'id',
       },
@@ -192,6 +192,11 @@
       slots: { default: 'productId' },
     },
     {
+      field: 'productSpecification',
+      title: '瑙勬牸鍨嬪彿',
+      minWidth: 120,
+    },
+    {
       field: 'stockCount',
       title: '搴撳瓨',
       minWidth: 80,
@@ -205,6 +210,16 @@
     {
       field: 'productUnitName',
       title: '鍗曚綅',
+      minWidth: 80,
+    },
+    {
+      field: 'productUnitName2',
+      title: '杈呭崟浣�1',
+      minWidth: 80,
+    },
+    {
+      field: 'productUnitName3',
+      title: '杈呭崟浣�2',
       minWidth: 80,
     },
     {
@@ -285,7 +300,10 @@
         placeholder: '璇烽�夋嫨浜у搧',
         allowClear: true,
         showSearch: true,
-        api: getProductSimpleList,
+        api: async () => {
+          const res = await getItemPage({ pageNo: 1, pageSize: 100, status: 0 });
+          return res.list || [];
+        },
         labelField: 'name',
         valueField: 'id',
       },
@@ -307,7 +325,7 @@
         placeholder: '璇烽�夋嫨瀹㈡埛',
         allowClear: true,
         showSearch: true,
-        api: getCustomerSimpleList,
+        api: getCrmCustomerSimpleList,
         labelField: 'name',
         valueField: 'id',
       },
@@ -401,6 +419,12 @@
       minWidth: 120,
     },
     {
+      field: 'contractNo',
+      title: '鍏宠仈鍚堝悓',
+      minWidth: 150,
+      slots: { default: 'contractNo' },
+    },
+    {
       field: 'orderTime',
       title: '璁㈠崟鏃堕棿',
       width: 160,

--
Gitblit v1.9.3