From 91c82965b2d987452ca276e3a03b48c8dcda2ae9 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期三, 19 八月 2026 11:47:26 +0800
Subject: [PATCH] config(env): 更新生产环境配置和公司名称
---
src/views/erp/purchase/request/data.ts | 28 +++++++++++++++++++++++-----
1 files changed, 23 insertions(+), 5 deletions(-)
diff --git a/src/views/erp/purchase/request/data.ts b/src/views/erp/purchase/request/data.ts
index eb869d1..cc4745b 100644
--- a/src/views/erp/purchase/request/data.ts
+++ b/src/views/erp/purchase/request/data.ts
@@ -4,7 +4,7 @@
import { DICT_TYPE } from '@vben/constants';
import { getDictOptions } from '@vben/hooks';
-import { getSupplierSimpleList } from '#/api/erp/purchase/supplier';
+import { getSupplierSimpleList } from '#/api/srm/supplier';
import { getSimpleUserList } from '#/api/system/user';
import { getRangePickerDefaultProps } from '#/utils';
@@ -48,7 +48,7 @@
placeholder: '閫夋嫨鐢宠鏃堕棿',
showTime: true,
format: 'YYYY-MM-DD HH:mm:ss',
- valueFormat: 'x',
+ valueFormat: 'YYYY-MM-DD HH:mm:ss',
disabled: formType === 'detail',
},
rules: 'required',
@@ -103,11 +103,13 @@
formItemClass: 'col-span-2',
},
{
- fieldName: 'fileUrl',
+ fieldName: 'blobIds',
label: '闄勪欢',
component: 'FileUpload',
componentProps: {
- placeholder: '璇蜂笂浼犻檮浠�',
+ valueKey: 'id',
+ maxNumber: 10,
+ multiple: true,
disabled: formType === 'detail',
},
formItemClass: 'col-span-2',
@@ -161,7 +163,7 @@
title: '鍏ュ簱鏁伴噺',
minWidth: 100,
fixed: 'right',
- formatter: 'formatAmount6',
+ formatter: 'formatAmount3',
},
{
field: 'productPrice',
@@ -277,6 +279,20 @@
allowClear: true,
},
},
+ {
+ fieldName: 'inStatus',
+ label: '鍏ュ簱鐘舵��',
+ component: 'Select',
+ componentProps: {
+ options: [
+ { label: '鏈叆搴�', value: 0 },
+ { label: '閮ㄥ垎鍏ュ簱', value: 1 },
+ { label: '鍏ㄩ儴鍏ュ簱', value: 2 },
+ ],
+ placeholder: '璇烽�夋嫨鍏ュ簱鐘舵��',
+ allowClear: true,
+ },
+ },
];
}
@@ -348,12 +364,14 @@
field: 'status',
title: '鐘舵��',
minWidth: 120,
+ fixed: 'right',
slots: { default: 'status' },
},
{
field: 'inStatus',
title: '鍏ュ簱鐘舵��',
minWidth: 100,
+ fixed: 'right',
slots: { default: 'inStatus' },
},
{
--
Gitblit v1.9.3