Prechádzať zdrojové kódy

chore: modal 文字调整

xyh 2 rokov pred
rodič
commit
8175b902b1

+ 0 - 3
cypress.config.ts

@@ -8,8 +8,5 @@ export default defineConfig({
     baseUrl: `http://${address}:3001`,
     viewportHeight: 980,
     viewportWidth: 1600,
-    setupNodeEvents(on, config) {
-      // implement node event listeners here
-    },
   },
 });

+ 2 - 2
packages/app/src/pages/material-bind/table/modal/Info.tsx

@@ -21,10 +21,10 @@ const Info: FC<Props> = function ({id}) {
 
   return (
     <>
-      <ModalSelect control={control} label='用户' name='userId' data={userOptions} />
+      <ModalSelect control={control} label='用户名称' name='userId' data={userOptions} />
       <ModalSelect
         name='materialId'
-        label='物料'
+        label='物料编号'
         control={control}
         data={materialOptions}
         onSearch={onMaterialSearch}

+ 3 - 3
packages/app/src/pages/matter/table/modal/Info.tsx

@@ -28,7 +28,7 @@ const Info: FC<Props> = function ({id}) {
     <>
       <ModalSelect
         name='wllbCode'
-        label='物料'
+        label='物料编号'
         control={control}
         data={materialOptions}
         onSearch={onMaterialSearch}
@@ -36,7 +36,7 @@ const Info: FC<Props> = function ({id}) {
       />
       <ModalSelect
         name='warehouseId'
-        label='仓库'
+        label='所属仓库'
         control={control}
         data={warehouseOptions}
         showSearch
@@ -44,7 +44,7 @@ const Info: FC<Props> = function ({id}) {
       />
       <ModalSelect
         name='storageLocationCode'
-        label='库位'
+        label='所属库位'
         control={control}
         data={storageOtions}
         showSearch

+ 3 - 1
packages/app/src/utils/constants.ts

@@ -12,7 +12,9 @@ export const PAGE_SIZE_LIST = ['10', '30', '50', '80', '100'];
 export const MODAL_PAGE_SIZE_LIST = ['5', ...PAGE_SIZE_LIST];
 /** 请求域名 */
 export const NETWORK_URL =
-  process.env.NODE_ENV === 'development' ? 'http://192.168.147:9560' : 'http://10.2.111.91:9560';
+  process.env.NODE_ENV === 'development'
+    ? 'http://14ea0f64.r12.cpolar.top/'
+    : 'http://10.2.111.91:9560';
 export const E2E_NETWORK_URL = 'http://e2e.test.cn';
 /** 导出错误提示 */
 export const EXPORT_ERROR_TIPS = '导出错误,请稍后再试';