From b64a0deae5b5d33f9e20671a68936b27f0b9b00b Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 21 七月 2026 18:03:03 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev_pro2.0' into dev_pro2.0
---
src/views/mes/pro/feedback/data.ts | 30 +++++++++++++++---------------
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/src/views/mes/pro/feedback/data.ts b/src/views/mes/pro/feedback/data.ts
index 80c013d..e2728f1 100644
--- a/src/views/mes/pro/feedback/data.ts
+++ b/src/views/mes/pro/feedback/data.ts
@@ -1,4 +1,4 @@
-import type { VbenFormApi, VbenFormSchema } from '#/adapter/form';
+锘縤mport type { VbenFormApi, VbenFormSchema } from '#/adapter/form';
import type { VxeTableGridOptions } from '#/adapter/vxe-table';
import type { MesProFeedbackApi } from '#/api/mes/pro/feedback';
import type { MesProTaskApi } from '#/api/mes/pro/task';
@@ -10,8 +10,8 @@
MesAutoCodeRuleCode,
MesProTaskStatusEnum,
MesProWorkOrderStatusEnum,
-} from '../../../../packages/constants/src';
-import { getDictOptions } from '../../../../packages/effects/hooks/src';
+} from '@vben/constants';
+import { getDictOptions } from '@vben/hooks';
import { Button } from 'ant-design-vue';
@@ -32,11 +32,11 @@
return [
{
fieldName: 'code',
- label: '鎶ュ伐鍗曞彿',
+ label: '鎶ヨ鍗曞彿',
component: 'Input',
componentProps: {
allowClear: true,
- placeholder: '璇疯緭鍏ユ姤宸ュ崟鍙�',
+ placeholder: '璇疯緭鍏ユ姤璁㈠崟鍙�',
},
},
{
@@ -51,11 +51,11 @@
},
{
fieldName: 'workOrderId',
- label: '鐢熶骇宸ュ崟',
+ label: '鐢熶骇璁㈠崟',
component: markRaw(ProWorkOrderSelect),
componentProps: {
allowClear: true,
- placeholder: '璇烽�夋嫨宸ュ崟',
+ placeholder: '璇烽�夋嫨璁㈠崟',
},
},
{
@@ -118,7 +118,7 @@
return [
{
field: 'code',
- title: '鎶ュ伐鍗曞彿',
+ title: '鎶ヨ鍗曞彿',
width: 160,
slots: { default: 'code' },
},
@@ -133,7 +133,7 @@
},
{ field: 'workstationName', title: '宸ヤ綔绔�', width: 120 },
{ field: 'processName', title: '宸ュ簭', width: 100 },
- { field: 'workOrderCode', title: '鐢熶骇宸ュ崟缂栫爜', width: 160 },
+ { field: 'workOrderCode', title: '鐢熶骇璁㈠崟缂栫爜', width: 160 },
{ field: 'itemCode', title: '浜у搧鐗╂枡缂栫爜', width: 120 },
{ field: 'itemName', title: '浜у搧鐗╂枡鍚嶇О', minWidth: 140 },
{ field: 'itemSpecification', title: '瑙勬牸鍨嬪彿', width: 120 },
@@ -209,11 +209,11 @@
},
{
fieldName: 'code',
- label: '鎶ュ伐鍗曞彿',
+ label: '鎶ヨ鍗曞彿',
component: 'Input',
componentProps: {
disabled: isHeaderReadonly,
- placeholder: '璇疯緭鍏ユ姤宸ュ崟鍙�',
+ placeholder: '璇疯緭鍏ユ姤璁㈠崟鍙�',
},
rules: 'required',
suffix: () =>
@@ -245,13 +245,13 @@
},
{
fieldName: 'workOrderId',
- label: '鐢熶骇宸ュ崟',
+ label: '鐢熶骇璁㈠崟',
component: markRaw(ProWorkOrderSelect),
componentProps: {
disabled: isHeaderReadonly,
- placeholder: '璇烽�夋嫨宸ュ崟',
+ placeholder: '璇烽�夋嫨璁㈠崟',
status: MesProWorkOrderStatusEnum.CONFIRMED,
- // 宸ュ崟鍙樻洿锛氭竻绌轰换鍔″強浠诲姟甯﹀嚭鐨勪骇鍝佷俊鎭�佹暟閲忓尯鍩熸帶鍒朵綅
+ // 璁㈠崟鍙樻洿锛氭竻绌轰换鍔″強浠诲姟甯﹀嚭鐨勪骇鍝佷俊鎭�佹暟閲忓尯鍩熸帶鍒朵綅
onChange: async () => {
await formApi?.setValues({
checkFlag: true,
@@ -277,7 +277,7 @@
triggerFields: ['workOrderId', 'workstationId'],
componentProps: (values) => ({
disabled: isHeaderReadonly || !values.workOrderId,
- placeholder: values.workOrderId ? '璇烽�夋嫨浠诲姟' : '璇峰厛閫夋嫨宸ュ崟',
+ placeholder: values.workOrderId ? '璇烽�夋嫨浠诲姟' : '璇峰厛閫夋嫨璁㈠崟',
statuses: [MesProTaskStatusEnum.PREPARE],
workOrderId: values.workOrderId,
workstationId: values.workstationId,
--
Gitblit v1.9.3