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/basicData/mdm/data.ts |  103 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 103 insertions(+), 0 deletions(-)

diff --git a/src/views/basicData/mdm/data.ts b/src/views/basicData/mdm/data.ts
index 1808f14..479f150 100644
--- a/src/views/basicData/mdm/data.ts
+++ b/src/views/basicData/mdm/data.ts
@@ -6,6 +6,7 @@
 
 import { z } from '#/adapter/form';
 import { getUnitPage } from '#/api/mdm/unit';
+import { getWarehouseSimpleList } from '#/api/erp/stock/warehouse';
 
 /** 鐗╂枡绫诲瀷閫夐」 */
 export const ITEM_TYPE_OPTIONS = [
@@ -72,10 +73,19 @@
       rules: 'required',
     },
     {
+      component: 'Input',
+      fieldName: 'specification',
+      label: '瑙勬牸鍨嬪彿',
+      componentProps: {
+        placeholder: '璇疯緭鍏ヨ鏍煎瀷鍙�',
+      },
+    },
+    {
       component: 'ApiSelect',
       fieldName: 'unitMeasureId',
       label: '璁¢噺鍗曚綅',
       rules: 'required',
+      formItemClass: 'col-span-1',
       componentProps: {
         placeholder: '璇烽�夋嫨璁¢噺鍗曚綅',
         allowClear: true,
@@ -83,6 +93,74 @@
           const res = await getUnitPage({ pageNo: 1, pageSize: 100, status: 0 });
           return res.list || [];
         },
+        labelField: 'name',
+        valueField: 'id',
+      },
+    },
+    {
+      component: 'ApiSelect',
+      fieldName: 'unitMeasureId2',
+      label: '杈呭崟浣�1',
+      formItemClass: 'col-span-1',
+      componentProps: {
+        placeholder: '璇烽�夋嫨杈呭崟浣�1',
+        allowClear: true,
+        api: async () => {
+          const res = await getUnitPage({ pageNo: 1, pageSize: 100, status: 0 });
+          return res.list || [];
+        },
+        labelField: 'name',
+        valueField: 'id',
+      },
+    },
+    {
+      component: 'InputNumber',
+      fieldName: 'unitMeasureRate1',
+      label: '杈呭崟浣�1鎹㈢畻姣旂巼',
+      formItemClass: 'col-span-1',
+      componentProps: {
+        class: '!w-full',
+        min: 0,
+        precision: 6,
+        placeholder: '璇疯緭鍏ユ崲绠楁瘮鐜�',
+      },
+    },
+    {
+      component: 'ApiSelect',
+      fieldName: 'unitMeasureId3',
+      label: '杈呭崟浣�2',
+      formItemClass: 'col-span-1',
+      componentProps: {
+        placeholder: '璇烽�夋嫨杈呭崟浣�2',
+        allowClear: true,
+        api: async () => {
+          const res = await getUnitPage({ pageNo: 1, pageSize: 100, status: 0 });
+          return res.list || [];
+        },
+        labelField: 'name',
+        valueField: 'id',
+      },
+    },
+    {
+      component: 'InputNumber',
+      fieldName: 'unitMeasureRate2',
+      label: '杈呭崟浣�2鎹㈢畻姣旂巼',
+      formItemClass: 'col-span-1',
+      componentProps: {
+        class: '!w-full',
+        min: 0,
+        precision: 6,
+        placeholder: '璇疯緭鍏ユ崲绠楁瘮鐜�',
+      },
+    },
+    {
+      component: 'ApiSelect',
+      fieldName: 'warehouseId',
+      label: '榛樿浠撳簱',
+      componentProps: {
+        placeholder: '璇烽�夋嫨榛樿浠撳簱',
+        allowClear: true,
+        api: getWarehouseSimpleList,
         labelField: 'name',
         valueField: 'id',
       },
@@ -275,6 +353,31 @@
       minWidth: 80,
     },
     {
+      field: 'unitMeasureName2',
+      title: '杈呭崟浣�1',
+      minWidth: 80,
+    },
+    {
+      field: 'unitMeasureRate1',
+      title: '杈呭崟浣�1鎹㈢畻姣旂巼',
+      minWidth: 130,
+    },
+    {
+      field: 'unitMeasureName3',
+      title: '杈呭崟浣�2',
+      minWidth: 80,
+    },
+    {
+      field: 'unitMeasureRate2',
+      title: '杈呭崟浣�2鎹㈢畻姣旂巼',
+      minWidth: 130,
+    },
+    {
+      field: 'warehouseName',
+      title: '榛樿浠撳簱',
+      minWidth: 100,
+    },
+    {
       field: 'itemType',
       title: '鐗╂枡绫诲瀷',
       minWidth: 100,

--
Gitblit v1.9.3