From 6a7257f9d8f659c508cf826726126c0fa4363eef Mon Sep 17 00:00:00 2001 From: YangYuGang <1378265336@qq.com> Date: 星期一, 14 四月 2025 17:04:39 +0800 Subject: [PATCH] 盘点单没有数据时一直加载中 --- src/views/tigerprojects/system/lowcode/entityts/MES_TOOL_PROP.ts | 190 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 189 insertions(+), 1 deletions(-) diff --git a/src/views/tigerprojects/system/lowcode/entityts/MES_TOOL_PROP.ts b/src/views/tigerprojects/system/lowcode/entityts/MES_TOOL_PROP.ts index 9873de1..529e304 100644 --- a/src/views/tigerprojects/system/lowcode/entityts/MES_TOOL_PROP.ts +++ b/src/views/tigerprojects/system/lowcode/entityts/MES_TOOL_PROP.ts @@ -113,6 +113,67 @@ }, }, { + label: '璁惧鐘舵��', + field: 'STATUS', + component: 'ApiSelect', + colProps: { span: 8 }, + defaultValue: 0, + componentProps: { + api: GetEnum, + params: { name: 'MES_TOOL+STATUSs' }, + resultField: 'Data', + labelField: unref(getLocale) == 'zh_CN' ? 'Desc' : 'Name', + valueField: 'Value', + // onChange: (e, v) => { + // alert(e) + // console.log('ApiSelect====>:', e, v); + // }, + }, + }, + { + label: '鐢熶骇鍘傚', + field: 'MFT_NAME', + component: 'Input', + colProps: { + span: 8, + }, + }, + { + label: '鐢熶骇鏃ユ湡', + field: 'MFT_DATE', + component: 'DatePicker', + colProps: { + span: 8, + }, + }, + { + label: '浣跨敤閮ㄩ棬', + field: 'USE_DEPT', + component: 'Input', + colProps: { + span: 8, + }, + }, + { + label: '宸ュ巶缂栫爜', + field: 'FTY_CODE', + required: true, + component: 'ApiSelect', + colProps: { + span: 8, + }, + componentProps: { + api: getEntity, + params: { entityName: 'MES_FACTORY', sqlcmd: ' 1=1 ' }, + resultField: 'Data.Items', + labelField: 'FTY_NAME', + valueField: 'FTY_CODE', + }, + // dynamicDisabled: ({ values }) => { + // return true; + // }, + }, + { label: '杞﹂棿缂栫爜', field: 'WS_CODE', required: true, @@ -130,6 +191,41 @@ // dynamicDisabled: ({ values }) => { // return true; // }, + }, + { + label: '浜х嚎缂栫爜', + field: 'LINE_CODE', + required: true, + component: 'ApiSelect', + colProps: { + span: 8, + }, + componentProps: { + api: getEntity, + params: { entityName: 'MES_LINE', sqlcmd: ' 1=1 ' }, + resultField: 'Data.Items', + labelField: 'LINE_NAME', + valueField: 'LINE_CODE', + }, + // dynamicDisabled: ({ values }) => { + // return true; + // }, + }, + { + label: '浣跨敤鍦扮偣', + field: 'LOCATION', + component: 'Input', + colProps: { + span: 8, + }, + }, + { + label: '浣跨敤娆℃暟涓婇檺', + field: 'USE_LIMIT', + component: 'Input', + colProps: { + span: 8, + }, }, { label: '澶囨敞', @@ -334,7 +430,7 @@ }, }, { - label: '鐐规椤圭洰鍚嶇О', + label: '宸ュ叿灞炴�у悕绉�', field: 'PROP_NAME', component: 'Input', required: true, @@ -343,6 +439,98 @@ }, }, { + label: '灞曠ず鐨勬帶浠�', + field: 'PROP_CONTROL', + component: 'Input', + colProps: { + span: 24, + }, + }, + { + field: 'VALUE_TYPE', + label: '灞炴�у�肩被鍨�', + component: 'ApiSelect', + colProps: { span: 12 }, + defaultValue: 0, + componentProps: { + api: GetEnum, + params: { name: 'MES_TOOL_PROP+VALUE_TYPEs' }, + resultField: 'Data', + labelField: unref(getLocale) == 'zh_CN' ? 'Desc' : 'Name', + valueField: 'Value', + // onChange: (e, v) => { + // alert(e) + // console.log('ApiSelect====>:', e, v); + // }, + }, + }, + { + label: '鏄惁鍙(Y/N)', + field: 'READONLY', + component: 'Select', + colProps: { + span: 24, + }, + componentProps: { + options: [ + { + label: '鏄�', + value: 'Y', + key: 'Y', + }, + { + label: '鍚�', + value: 'N', + key: 'N', + }, + ], + }, + }, + { + label: '鏄惁鏄剧ず(Y/N)', + field: 'VISIABLE', + component: 'Select', + colProps: { + span: 24, + }, + componentProps: { + options: [ + { + label: '鏄�', + value: 'Y', + key: 'Y', + }, + { + label: '鍚�', + value: 'N', + key: 'N', + }, + ], + }, + }, + { + label: '鏄惁蹇呭~(Y/N)', + field: 'NECESSARY', + component: 'Select', + colProps: { + span: 24, + }, + componentProps: { + options: [ + { + label: '鏄�', + value: 'Y', + key: 'Y', + }, + { + label: '鍚�', + value: 'N', + key: 'N', + }, + ], + }, + }, + { label: '澶囨敞', field: 'REMARK', component: 'Input', -- Gitblit v1.9.3