From d841a8ea6dc2f7fdedbf0ea2b1e539842f5f3e37 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 12 十月 2026 19:45:36 +0800
Subject: [PATCH] 宁夏-九鸿 1.发版配置文件修改
---
src/views/erp/purchase/request/data.ts | 63 +++++++++++++++++++++++--------
1 files changed, 47 insertions(+), 16 deletions(-)
diff --git a/src/views/erp/purchase/request/data.ts b/src/views/erp/purchase/request/data.ts
index eb869d1..69c620b 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,21 +163,14 @@
title: '鍏ュ簱鏁伴噺',
minWidth: 100,
fixed: 'right',
- formatter: 'formatAmount6',
+ formatter: 'formatAmount3',
},
{
field: 'productPrice',
- title: '鍗曚环锛堝弬鑰冧环锛�',
+ title: '鍚◣鍗曚环(鍏�)',
minWidth: 120,
fixed: 'right',
slots: { default: 'productPrice' },
- },
- {
- field: 'totalPrice',
- title: '棰勪及閲戦',
- minWidth: 120,
- fixed: 'right',
- formatter: 'formatAmount2',
},
{
field: 'taxPercent',
@@ -183,6 +178,26 @@
minWidth: 100,
fixed: 'right',
slots: { default: 'taxPercent' },
+ },
+ {
+ field: 'totalPrice',
+ title: '涓嶅惈绋庨噾棰�(鍏�)',
+ minWidth: 120,
+ fixed: 'right',
+ formatter: 'formatAmount2',
+ },
+ {
+ field: 'taxPrice',
+ title: '绋庨(鍏�)',
+ minWidth: 120,
+ fixed: 'right',
+ formatter: 'formatAmount2',
+ },
+ {
+ title: '鍚◣鍚堣(鍏�)',
+ minWidth: 120,
+ fixed: 'right',
+ slots: { default: 'totalTaxInclusivePrice' },
},
{
field: 'demandTime',
@@ -269,11 +284,25 @@
options: [
{ label: '鏈彁浜�', value: 0 },
{ label: '瀹℃壒涓�', value: 10 },
- { label: '瀹℃牳閫氳繃', value: 20 },
- { label: '瀹℃牳涓嶉�氳繃', value: 30 },
+ { label: '瀹℃壒閫氳繃', value: 20 },
+ { label: '瀹℃壒涓嶉�氳繃', value: 30 },
{ label: '宸插彇娑�', value: 40 },
],
placeholder: '璇烽�夋嫨鐘舵��',
+ allowClear: true,
+ },
+ },
+ {
+ fieldName: 'inStatus',
+ label: '鍏ュ簱鐘舵��',
+ component: 'Select',
+ componentProps: {
+ options: [
+ { label: '鏈叆搴�', value: 0 },
+ { label: '閮ㄥ垎鍏ュ簱', value: 1 },
+ { label: '鍏ㄩ儴鍏ュ簱', value: 2 },
+ ],
+ placeholder: '璇烽�夋嫨鍏ュ簱鐘舵��',
allowClear: true,
},
},
@@ -323,7 +352,7 @@
},
{
field: 'totalPrice',
- title: '棰勪及閲戦',
+ title: '鍚◣閲戦',
formatter: 'formatAmount2',
minWidth: 120,
},
@@ -348,12 +377,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