From 0a30e8fbb6484f256e4cf2404846ed52fc5891cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Sun, 4 Feb 2024 13:30:22 +0800 Subject: [PATCH 001/108] =?UTF-8?q?=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/packageunit/index.ts | 65 +++++ .../itemManage/packageunit/index.vue | 244 ++++++++++++++++++ .../packageunit/packageunit.data.ts | 180 +++++++++++++ 3 files changed, 489 insertions(+) create mode 100644 src/api/wms/packageunit/index.ts create mode 100644 src/views/wms/basicDataManage/itemManage/packageunit/index.vue create mode 100644 src/views/wms/basicDataManage/itemManage/packageunit/packageunit.data.ts diff --git a/src/api/wms/packageunit/index.ts b/src/api/wms/packageunit/index.ts new file mode 100644 index 000000000..df62a5c11 --- /dev/null +++ b/src/api/wms/packageunit/index.ts @@ -0,0 +1,65 @@ +import request from '@/config/axios' + +export interface PackageunitVO { + id: number + code: string + name: string + length: number + width: number + height: number + weight: number + unit: string + available: string + activeTime: Date + expireTime: Date + remark: string + deletionTime: Date + deleterId: string + extraProperties: string + concurrencyStamp: number + siteId: string + desc: string + reuse: string + manageBalance: string +} + +// 查询物品包装规格信息 列表 +export const getPackageunitPage = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/wms/packageunit/senior', data }) + } else { + return await request.get({ url: `/wms/packageunit/page`, params }) + } +} + +// 查询物品包装规格信息 详情 +export const getPackageunit = async (id: number) => { + return await request.get({ url: `/wms/packageunit/get?id=` + id }) +} + +// 新增物品包装规格信息 +export const createPackageunit = async (data: PackageunitVO) => { + return await request.post({ url: `/wms/packageunit/create`, data }) +} + +// 修改物品包装规格信息 +export const updatePackageunit = async (data: PackageunitVO) => { + return await request.put({ url: `/wms/packageunit/update`, data }) +} + +// 删除物品包装规格信息 +export const deletePackageunit = async (id: number) => { + return await request.delete({ url: `/wms/packageunit/delete?id=` + id }) +} + +// 导出物品包装规格信息 Excel +export const exportPackageunit = async (params) => { + return await request.download({ url: `/wms/packageunit/export-excel`, params }) +} + +// 下载用户导入模板 +export const importTemplate = () => { + return request.download({ url: '/wms/packageunit/get-import-template' }) +} \ No newline at end of file diff --git a/src/views/wms/basicDataManage/itemManage/packageunit/index.vue b/src/views/wms/basicDataManage/itemManage/packageunit/index.vue new file mode 100644 index 000000000..1a6fde523 --- /dev/null +++ b/src/views/wms/basicDataManage/itemManage/packageunit/index.vue @@ -0,0 +1,244 @@ + + + + + + + + + + + + + + + {{ row.code }} + + + + + + + + + + + + + + + + + + + diff --git a/src/views/wms/basicDataManage/itemManage/packageunit/packageunit.data.ts b/src/views/wms/basicDataManage/itemManage/packageunit/packageunit.data.ts new file mode 100644 index 000000000..355ef86cb --- /dev/null +++ b/src/views/wms/basicDataManage/itemManage/packageunit/packageunit.data.ts @@ -0,0 +1,180 @@ +import type { CrudSchema } from '@/hooks/web/useCrudSchemas' +import { dateFormatter } from '@/utils/formatTime' + +// 表单校验 +export const PackageunitRules = reactive({ + code: [required], + name: [required], + available: [required], + concurrencyStamp: [required], + desc: [required], +}) + +export const Packageunit = useCrudSchemas(reactive([ + { + label: 'id', + field: 'id', + sort: 'custom', + isForm: false, + }, + { + label: '包装代码', + field: 'code', + sort: 'custom', + isSearch: true, + }, + { + label: '包装名称', + field: 'name', + sort: 'custom', + isSearch: true, + }, + { + label: '长', + field: 'length', + sort: 'custom', + form: { + component: 'InputNumber', + value: 0 + }, + }, + { + label: '宽', + field: 'width', + sort: 'custom', + form: { + component: 'InputNumber', + value: 0 + }, + }, + { + label: '高', + field: 'height', + sort: 'custom', + form: { + component: 'InputNumber', + value: 0 + }, + }, + { + label: '重量', + field: 'weight', + sort: 'custom', + form: { + component: 'InputNumber', + value: 0 + }, + }, + { + label: '单位', + field: 'unit', + sort: 'custom', + }, + { + label: '是否可用', + field: 'available', + sort: 'custom', + }, + { + label: '生效时间', + field: 'activeTime', + sort: 'custom', + formatter: dateFormatter, + form: { + component: 'DatePicker', + componentProps: { + type: 'datetime', + valueFormat: 'x' + } + }, + }, + { + label: '失效时间', + field: 'expireTime', + sort: 'custom', + formatter: dateFormatter, + form: { + component: 'DatePicker', + componentProps: { + type: 'datetime', + valueFormat: 'x' + } + }, + }, + { + label: '备注', + field: 'remark', + sort: 'custom', + }, + { + label: '创建时间', + field: 'createTime', + sort: 'custom', + formatter: dateFormatter, + isForm: false, + }, + { + label: '删除时间', + field: 'deletionTime', + sort: 'custom', + formatter: dateFormatter, + form: { + component: 'DatePicker', + componentProps: { + type: 'datetime', + valueFormat: 'x' + } + }, + }, + { + label: '删除者ID', + field: 'deleterId', + sort: 'custom', + }, + { + label: '扩展属性', + field: 'extraProperties', + sort: 'custom', + }, + { + label: '并发乐观锁', + field: 'concurrencyStamp', + sort: 'custom', + form: { + component: 'InputNumber', + value: 0 + }, + }, + { + label: '地点ID', + field: 'siteId', + sort: 'custom', + }, + { + label: '包装描述', + field: 'desc', + sort: 'custom', + isSearch: true, + }, + { + label: '是否重复使用', + field: 'reuse', + sort: 'custom', + isSearch: true, + }, + { + label: '是否管理包装库存', + field: 'manageBalance', + sort: 'custom', + isSearch: true, + }, + { + label: '操作', + field: 'action', + isForm: false, + table: { + width: 150, + fixed: 'right' + } + } +])) From 46e1ff51305ad923d6445c00c255ece6809ca8b1 Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Sun, 4 Feb 2024 14:15:50 +0800 Subject: [PATCH 002/108] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplierManage/supplier/supplier.data.ts | 14 +++++++++++++- .../supplierdeliverRequestMain/index.vue | 5 +++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/views/wms/basicDataManage/supplierManage/supplier/supplier.data.ts b/src/views/wms/basicDataManage/supplierManage/supplier/supplier.data.ts index f57a56433..29733915b 100644 --- a/src/views/wms/basicDataManage/supplierManage/supplier/supplier.data.ts +++ b/src/views/wms/basicDataManage/supplierManage/supplier/supplier.data.ts @@ -2,7 +2,7 @@ import type { CrudSchema } from '@/hooks/web/useCrudSchemas' import { dateFormatter } from '@/utils/formatTime' const { t } = useI18n() // 国际化 -import {validateHanset,validateFax,validatePostCode,validateYS} from '@/utils/validator' +import {validateHanset,validateFax,validatePostCode,validateEmail,validateYS} from '@/utils/validator' /** * @returns {Array} 供应商 @@ -91,6 +91,14 @@ export const Supplier = useCrudSchemas(reactive([ width: 150 } }, + { + label: '联系人邮件', + field: 'email', + sort: 'custom', + table: { + width: 150 + } + }, { label:'银行', field: 'bank', @@ -289,6 +297,10 @@ export const SupplierRules = reactive({ contacts: [ { max: 50, message: '不得超过50个字符', trigger: 'blur' } ], + email: [ + { max: 128, message: '不得超过128个字符', trigger: 'blur' }, + { validator:validateEmail, message: '请输入正确的邮箱格式', trigger: 'blur'} + ], bank: [ { max: 50, message: '不得超过50个字符', trigger: 'blur' } ], diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue index 98f7f111d..2c9ca00b5 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue @@ -119,7 +119,6 @@ import { } from './supplierdeliverRequestMain.data' import * as SupplierdeliverRequestMainApi from '@/api/wms/supplierdeliverRequestMain' import * as SupplierdeliverRequestDetailApi from '@/api/wms/supplierdeliverRequestDetail' -import * as PurchasePlanDetailApi from '@/api/wms/purchasePlanDetail' import * as defaultButtons from '@/utils/disposition/defaultButtons' import point from '@/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/point.vue' // import * as PackageApi from '@/api/wms/package' @@ -154,7 +153,6 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => row['poLine'] = val[0]['poLine'] row['uom'] = val[0]['uom'] } - } else { const setV = {} setV[formField] = val[0][searchField] @@ -162,6 +160,9 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => // 清空子表数据 tableData.value = [] // 重置明细数据 } + if(formField == 'supplierCode'){ + console.log("supplierCode:",val[0]) + } formRef.setValues(setV) } }) From a7d54d7faa360bb60466e2a8217f3d5008450618 Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Sun, 4 Feb 2024 15:22:13 +0800 Subject: [PATCH 003/108] =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplierdeliver/supplierdeliverRequestMain/index.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue index 2c9ca00b5..8186d8ac3 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue @@ -161,7 +161,10 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => tableData.value = [] // 重置明细数据 } if(formField == 'supplierCode'){ - console.log("supplierCode:",val[0]) + //console.log("supplierCode:",val[0]) + setV['contactName'] = val[0]['contacts'] + setV['contactPhone'] = val[0]['phone'] + setV['contactEmail'] = val[0]['email'] } formRef.setValues(setV) } From bb8804451bacff8fe6c5aaa02b46123e2af06a96 Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Sun, 4 Feb 2024 15:51:34 +0800 Subject: [PATCH 004/108] =?UTF-8?q?=E4=BF=9D=E9=9A=9C=E8=A1=A8=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../{itempackaging => itempackage}/index.ts | 18 +++++++++--------- .../{itempackaging => itempackage}/index.vue | 1 + .../itempackaging.data.ts | 2 +- .../labelManage/manufacturePackage/index.vue | 1 + .../labelManage/purchasePackage/index.vue | 1 + 5 files changed, 13 insertions(+), 10 deletions(-) rename src/api/wms/{itempackaging => itempackage}/index.ts (63%) rename src/views/wms/basicDataManage/itemManage/{itempackaging => itempackage}/index.vue (99%) rename src/views/wms/basicDataManage/itemManage/{itempackaging => itempackage}/itempackaging.data.ts (98%) diff --git a/src/api/wms/itempackaging/index.ts b/src/api/wms/itempackage/index.ts similarity index 63% rename from src/api/wms/itempackaging/index.ts rename to src/api/wms/itempackage/index.ts index 523423101..943c50f52 100644 --- a/src/api/wms/itempackaging/index.ts +++ b/src/api/wms/itempackage/index.ts @@ -24,42 +24,42 @@ export const getItempackagingPage = async (params) => { if (params.isSearch) { delete params.isSearch const data = {...params} - return request.post({ url: '/wms/itempackaging/senior', data }) + return request.post({ url: '/wms/itempackage/senior', data }) } else { - return await request.get({ url: `/wms/itempackaging/page`, params }) + return await request.get({ url: `/wms/itempackage/page`, params }) } } // 查询物料包装信息 详情 export const getItempackaging = async (id: number) => { - return await request.get({ url: `/wms/itempackaging/get?id=` + id }) + return await request.get({ url: `/wms/itempackage/get?id=` + id }) } // 新增物料包装信息 export const createItempackaging = async (data: ItempackagingVO) => { - return await request.post({ url: `/wms/itempackaging/create`, data }) + return await request.post({ url: `/wms/itempackage/create`, data }) } // 修改物料包装信息 export const updateItempackaging = async (data: ItempackagingVO) => { - return await request.put({ url: `/wms/itempackaging/update`, data }) + return await request.put({ url: `/wms/itempackage/update`, data }) } // 删除物料包装信息 export const deleteItempackaging = async (id: number) => { - return await request.delete({ url: `/wms/itempackaging/delete?id=` + id }) + return await request.delete({ url: `/wms/itempackage/delete?id=` + id }) } // 导出物料包装信息 Excel export const exportItempackaging = async (params) => { if (params.isSearch) { const data = {...params} - return await request.downloadPost({ url: `/wms/itempackaging/export-excel-senior`, data }) + return await request.downloadPost({ url: `/wms/itempackage/export-excel-senior`, data }) } else { - return await request.download({ url: `/wms/itempackaging/export-excel`, params }) + return await request.download({ url: `/wms/itempackage/export-excel`, params }) } } // 下载用户导入模板 export const importTemplate = () => { - return request.download({ url: '/wms/itempackaging/get-import-template' }) + return request.download({ url: '/wms/itempackage/get-import-template' }) } diff --git a/src/views/wms/basicDataManage/itemManage/itempackaging/index.vue b/src/views/wms/basicDataManage/itemManage/itempackage/index.vue similarity index 99% rename from src/views/wms/basicDataManage/itemManage/itempackaging/index.vue rename to src/views/wms/basicDataManage/itemManage/itempackage/index.vue index 1119d950c..793495c4d 100644 --- a/src/views/wms/basicDataManage/itemManage/itempackaging/index.vue +++ b/src/views/wms/basicDataManage/itemManage/itempackage/index.vue @@ -281,3 +281,4 @@ onMounted(async () => { importTemplateData.templateUrl = await ItempackagingApi.importTemplate() }) +@/api/wms/itempackage \ No newline at end of file diff --git a/src/views/wms/basicDataManage/itemManage/itempackaging/itempackaging.data.ts b/src/views/wms/basicDataManage/itemManage/itempackage/itempackaging.data.ts similarity index 98% rename from src/views/wms/basicDataManage/itemManage/itempackaging/itempackaging.data.ts rename to src/views/wms/basicDataManage/itemManage/itempackage/itempackaging.data.ts index 3a320a280..fb9cfdf8a 100644 --- a/src/views/wms/basicDataManage/itemManage/itempackaging/itempackaging.data.ts +++ b/src/views/wms/basicDataManage/itemManage/itempackage/itempackaging.data.ts @@ -1,7 +1,7 @@ import type { CrudSchema } from '@/hooks/web/useCrudSchemas' import { dateFormatter } from '@/utils/formatTime' import * as ItembasicApi from '@/api/wms/itembasic' -import { Itembasic } from './../itembasic/itembasic.data' +import { Itembasic } from '../itembasic/itembasic.data' const { t } = useI18n() // 国际化 diff --git a/src/views/wms/basicDataManage/labelManage/manufacturePackage/index.vue b/src/views/wms/basicDataManage/labelManage/manufacturePackage/index.vue index f1d5a3b17..144a316f8 100644 --- a/src/views/wms/basicDataManage/labelManage/manufacturePackage/index.vue +++ b/src/views/wms/basicDataManage/labelManage/manufacturePackage/index.vue @@ -304,3 +304,4 @@ onMounted(async () => { getList() }) +@/api/wms/itempackage \ No newline at end of file diff --git a/src/views/wms/basicDataManage/labelManage/purchasePackage/index.vue b/src/views/wms/basicDataManage/labelManage/purchasePackage/index.vue index ae1df17dd..db3e1cdb7 100644 --- a/src/views/wms/basicDataManage/labelManage/purchasePackage/index.vue +++ b/src/views/wms/basicDataManage/labelManage/purchasePackage/index.vue @@ -304,3 +304,4 @@ onMounted(async () => { getList() }) +@/api/wms/itempackage \ No newline at end of file From d2ab8bbcb207f3b2835991df6c0fe953eb2d601f Mon Sep 17 00:00:00 2001 From: chenfang Date: Sun, 4 Feb 2024 16:58:41 +0800 Subject: [PATCH 005/108] =?UTF-8?q?=E7=94=9F=E6=88=90=E4=BB=A3=E7=A0=81=20?= =?UTF-8?q?=E7=89=A9=E6=96=99=E4=BB=93=E5=BA=93=E9=BB=98=E8=AE=A4=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E7=AE=A1=E7=90=86/=E7=89=A9=E6=96=99=E5=BA=93?= =?UTF-8?q?=E5=8C=BA=E9=85=8D=E7=BD=AE=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/itemarea/index.ts | 64 +++++ src/api/wms/itemwarehouse/index.ts | 54 ++++ .../wms/basicDataManage/itemarea/index.vue | 244 ++++++++++++++++++ .../basicDataManage/itemarea/itemarea.data.ts | 167 ++++++++++++ .../basicDataManage/itemwarehouse/index.vue | 244 ++++++++++++++++++ .../itemwarehouse/itemwarehouse.data.ts | 126 +++++++++ 6 files changed, 899 insertions(+) create mode 100644 src/api/wms/itemarea/index.ts create mode 100644 src/api/wms/itemwarehouse/index.ts create mode 100644 src/views/wms/basicDataManage/itemarea/index.vue create mode 100644 src/views/wms/basicDataManage/itemarea/itemarea.data.ts create mode 100644 src/views/wms/basicDataManage/itemwarehouse/index.vue create mode 100644 src/views/wms/basicDataManage/itemwarehouse/itemwarehouse.data.ts diff --git a/src/api/wms/itemarea/index.ts b/src/api/wms/itemarea/index.ts new file mode 100644 index 000000000..8da52d432 --- /dev/null +++ b/src/api/wms/itemarea/index.ts @@ -0,0 +1,64 @@ +import request from '@/config/axios' + +export interface ItemareaVO { + id: number + itemCode: string + areaCode: string + inPackUnit: string + outPackUnit: string + maxQty: number + minQty: number + safeQty: number + autoRepleinsh: string + repleinshFromArea: string + repleinshQty: number + needReceive: string + available: string + activeTime: Date + expireTime: Date + remark: string + manageMode: string + newlyToOutpackunit: string + surplusToOutpackunit: string +} + +// 查询物料库区配置列表 +export const getItemareaPage = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/wms/itemarea/senior', data }) + } else { + return await request.get({ url: `/wms/itemarea/page`, params }) + } +} + +// 查询物料库区配置详情 +export const getItemarea = async (id: number) => { + return await request.get({ url: `/wms/itemarea/get?id=` + id }) +} + +// 新增物料库区配置 +export const createItemarea = async (data: ItemareaVO) => { + return await request.post({ url: `/wms/itemarea/create`, data }) +} + +// 修改物料库区配置 +export const updateItemarea = async (data: ItemareaVO) => { + return await request.put({ url: `/wms/itemarea/update`, data }) +} + +// 删除物料库区配置 +export const deleteItemarea = async (id: number) => { + return await request.delete({ url: `/wms/itemarea/delete?id=` + id }) +} + +// 导出物料库区配置 Excel +export const exportItemarea = async (params) => { + return await request.download({ url: `/wms/itemarea/export-excel`, params }) +} + +// 下载用户导入模板 +export const importTemplate = () => { + return request.download({ url: '/wms/itemarea/get-import-template' }) +} \ No newline at end of file diff --git a/src/api/wms/itemwarehouse/index.ts b/src/api/wms/itemwarehouse/index.ts new file mode 100644 index 000000000..b1f3e17d1 --- /dev/null +++ b/src/api/wms/itemwarehouse/index.ts @@ -0,0 +1,54 @@ +import request from '@/config/axios' + +export interface ItemwarehouseVO { + id: number + itemCode: string + warehouseCode: string + manageMode: string + packUnit: string + available: string + activeTime: Date + expireTime: Date + remark: string +} + +// 查询物料仓库默认配置列表 +export const getItemwarehousePage = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/wms/itemwarehouse/senior', data }) + } else { + return await request.get({ url: `/wms/itemwarehouse/page`, params }) + } +} + +// 查询物料仓库默认配置详情 +export const getItemwarehouse = async (id: number) => { + return await request.get({ url: `/wms/itemwarehouse/get?id=` + id }) +} + +// 新增物料仓库默认配置 +export const createItemwarehouse = async (data: ItemwarehouseVO) => { + return await request.post({ url: `/wms/itemwarehouse/create`, data }) +} + +// 修改物料仓库默认配置 +export const updateItemwarehouse = async (data: ItemwarehouseVO) => { + return await request.put({ url: `/wms/itemwarehouse/update`, data }) +} + +// 删除物料仓库默认配置 +export const deleteItemwarehouse = async (id: number) => { + return await request.delete({ url: `/wms/itemwarehouse/delete?id=` + id }) +} + +// 导出物料仓库默认配置 Excel +export const exportItemwarehouse = async (params) => { + return await request.download({ url: `/wms/itemwarehouse/export-excel`, params }) +} + +// 下载用户导入模板 +export const importTemplate = () => { + return request.download({ url: '/wms/itemwarehouse/get-import-template' }) +} \ No newline at end of file diff --git a/src/views/wms/basicDataManage/itemarea/index.vue b/src/views/wms/basicDataManage/itemarea/index.vue new file mode 100644 index 000000000..e96747b24 --- /dev/null +++ b/src/views/wms/basicDataManage/itemarea/index.vue @@ -0,0 +1,244 @@ + + + + + + + + + + + + + + + {{ row.code }} + + + + + + + + + + + + + + + + + + + diff --git a/src/views/wms/basicDataManage/itemarea/itemarea.data.ts b/src/views/wms/basicDataManage/itemarea/itemarea.data.ts new file mode 100644 index 000000000..334cb5361 --- /dev/null +++ b/src/views/wms/basicDataManage/itemarea/itemarea.data.ts @@ -0,0 +1,167 @@ +import type { CrudSchema } from '@/hooks/web/useCrudSchemas' +import { dateFormatter } from '@/utils/formatTime' + +// 表单校验 +export const ItemareaRules = reactive({ + itemCode: [required], + areaCode: [required], + inPackUnit: [required], + outPackUnit: [required], + needReceive: [required], + available: [required], + manageMode: [required], +}) + +export const Itemarea = useCrudSchemas(reactive([ + { + label: 'id', + field: 'id', + sort: 'custom', + isForm: false, + }, + { + label: '物品代码', + field: 'itemCode', + sort: 'custom', + isSearch: true, + }, + { + label: '区域代码', + field: 'areaCode', + sort: 'custom', + isSearch: true, + }, + { + label: '入库包装规格', + field: 'inPackUnit', + sort: 'custom', + }, + { + label: '出库包装规格', + field: 'outPackUnit', + sort: 'custom', + }, + { + label: '最高库存数量(0 为无限)', + field: 'maxQty', + sort: 'custom', + }, + { + label: '最低库存数量', + field: 'minQty', + sort: 'custom', + }, + { + label: '安全预警库存数量', + field: 'safeQty', + sort: 'custom', + }, + { + label: '是否自动补料', + field: 'autoRepleinsh', + sort: 'custom', + }, + { + label: '补料来源库区', + field: 'repleinshFromArea', + sort: 'custom', + }, + { + label: '补料数量', + field: 'repleinshQty', + sort: 'custom', + }, + { + label: '需要接收确认', + field: 'needReceive', + sort: 'custom', + }, + { + label: '是否可用', + field: 'available', + sort: 'custom', + isSearch: true, + }, + { + label: '生效时间', + field: 'activeTime', + sort: 'custom', + formatter: dateFormatter, + form: { + component: 'DatePicker', + componentProps: { + type: 'datetime', + valueFormat: 'x' + } + }, + }, + { + label: '失效时间', + field: 'expireTime', + sort: 'custom', + formatter: dateFormatter, + form: { + component: 'DatePicker', + componentProps: { + type: 'datetime', + valueFormat: 'x' + } + }, + }, + { + label: '备注', + field: 'remark', + sort: 'custom', + }, + { + label: '创建时间', + field: 'createTime', + sort: 'custom', + formatter: dateFormatter, + isForm: false, + }, + { + label: '创建者ID', + field: 'creator', + sort: 'custom', + isForm: false, + }, + { + label: '最后更新时间', + field: 'updateTime', + sort: 'custom', + formatter: dateFormatter, + isForm: false, + }, + { + label: '最后更新者ID', + field: 'updater', + sort: 'custom', + isForm: false, + }, + { + label: '管理精度', + field: 'manageMode', + sort: 'custom', + isSearch: true, + }, + { + label: '入库后库存自动转换为出库包装规格', + field: 'newlyToOutpackunit', + sort: 'custom', + }, + { + label: '出库后剩余库存自动转换为出库包装规格 出库后剩余库存自动转换为出库包装规格', + field: 'surplusToOutpackunit', + sort: 'custom', + }, + { + label: '操作', + field: 'action', + isForm: false, + table: { + width: 150, + fixed: 'right' + } + } +])) diff --git a/src/views/wms/basicDataManage/itemwarehouse/index.vue b/src/views/wms/basicDataManage/itemwarehouse/index.vue new file mode 100644 index 000000000..853a864d8 --- /dev/null +++ b/src/views/wms/basicDataManage/itemwarehouse/index.vue @@ -0,0 +1,244 @@ + + + + + + + + + + + + + + + {{ row.code }} + + + + + + + + + + + + + + + + + + + diff --git a/src/views/wms/basicDataManage/itemwarehouse/itemwarehouse.data.ts b/src/views/wms/basicDataManage/itemwarehouse/itemwarehouse.data.ts new file mode 100644 index 000000000..f9da3514c --- /dev/null +++ b/src/views/wms/basicDataManage/itemwarehouse/itemwarehouse.data.ts @@ -0,0 +1,126 @@ +import type { CrudSchema } from '@/hooks/web/useCrudSchemas' +import { dateFormatter } from '@/utils/formatTime' + +// 表单校验 +export const ItemwarehouseRules = reactive({ + itemCode: [required], + warehouseCode: [required], + manageMode: [required], + packUnit: [required], + available: [required], +}) + +export const Itemwarehouse = useCrudSchemas(reactive([ + { + label: 'id', + field: 'id', + sort: 'custom', + isForm: false, + }, + { + label: '物品代码', + field: 'itemCode', + sort: 'custom', + isSearch: true, + }, + { + label: '区域代码', + field: 'warehouseCode', + sort: 'custom', + isSearch: true, + }, + { + label: '管理精度', + field: 'manageMode', + sort: 'custom', + isSearch: true, + }, + { + label: '入库包装规格', + field: 'packUnit', + sort: 'custom', + }, + { + label: '是否可用', + field: 'available', + sort: 'custom', + }, + { + label: '生效时间', + field: 'activeTime', + sort: 'custom', + formatter: dateFormatter, + form: { + component: 'DatePicker', + componentProps: { + type: 'datetime', + valueFormat: 'x' + } + }, + }, + { + label: '失效时间', + field: 'expireTime', + sort: 'custom', + formatter: dateFormatter, + form: { + component: 'DatePicker', + componentProps: { + type: 'datetime', + valueFormat: 'x' + } + }, + }, + { + label: '备注', + field: 'remark', + sort: 'custom', + }, + { + label: '创建时间', + field: 'createTime', + sort: 'custom', + formatter: dateFormatter, + isForm: false, + }, + { + label: '删除时间', + field: 'deletionTime', + sort: 'custom', + formatter: dateFormatter, + isForm: false, + }, + { + label: '删除者ID', + field: 'deleterId', + sort: 'custom', + isForm: false, + }, + { + label: '扩展属性', + field: 'extraProperties', + sort: 'custom', + isForm: false, + }, + { + label: '并发乐观锁', + field: 'concurrencyStamp', + sort: 'custom', + isForm: false, + }, + { + label: '地点ID', + field: 'siteId', + sort: 'custom', + isForm: false, + }, + { + label: '操作', + field: 'action', + isForm: false, + table: { + width: 150, + fixed: 'right' + } + } +])) From 7f35d7f46baf0627e74bfd3269b02eea46a7e620 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Sun, 4 Feb 2024 17:23:16 +0800 Subject: [PATCH 006/108] =?UTF-8?q?=E5=85=A5=E5=87=BA=20=E5=BA=93=E4=BD=8D?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=20=E4=BF=AE=E6=94=B9=20=E5=BA=93=E5=8C=BA?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/businesstype/index.ts | 4 ++-- src/api/wms/containerBindRecordMain/index.ts | 4 ++-- src/api/wms/containerInitRecordMain/index.ts | 4 ++-- src/api/wms/containerRepairRecordMain/index.ts | 4 ++-- src/api/wms/containerUnbindRecordMain/index.ts | 4 ++-- src/api/wms/countJobMain/index.ts | 4 ++-- src/api/wms/customerreceiptRecordMain/index.ts | 4 ++-- src/api/wms/customerreceiptRequestMain/index.ts | 4 ++-- src/api/wms/customerreturnJobMain/index.ts | 4 ++-- src/api/wms/customerreturnRecordMain/index.ts | 4 ++-- src/api/wms/customerreturnRequestMain/index.ts | 4 ++-- src/api/wms/customersettleRecordMain/index.ts | 2 +- src/api/wms/customersettleRequestMain/index.ts | 2 +- src/api/wms/deliverJobMain/index.ts | 4 ++-- src/api/wms/deliverRecordMain/index.ts | 4 ++-- src/api/wms/deliverRequestMain/index.ts | 4 ++-- src/api/wms/inspectJobMain/index.ts | 4 ++-- src/api/wms/inspectRecordMain/index.ts | 2 +- src/api/wms/inspectRequestMain/index.ts | 2 +- src/api/wms/inventorymoveJobMain/index.ts | 4 ++-- src/api/wms/inventorymoveRecordMain/index.ts | 4 ++-- src/api/wms/inventorymoveRequestMain/index.ts | 4 ++-- src/api/wms/issueJobMain/index.ts | 4 ++-- src/api/wms/issueRecordMain/index.ts | 4 ++-- src/api/wms/issueRequestMain/index.ts | 4 ++-- src/api/wms/pickJobMain/index.ts | 4 ++-- src/api/wms/pickRecordMain/index.ts | 4 ++-- src/api/wms/pickRequestMain/index.ts | 4 ++-- src/api/wms/productdismantleJobMain/index.ts | 4 ++-- src/api/wms/productdismantleRecordMain/index.ts | 2 +- src/api/wms/productdismantleRequestMain/index.ts | 2 +- src/api/wms/productionreceiptJobMain/index.ts | 4 ++-- src/api/wms/productionreceiptRecordMain/index.ts | 4 ++-- src/api/wms/productionreturnJobMain/index.ts | 4 ++-- src/api/wms/productionreturnRecordMain/index.ts | 4 ++-- src/api/wms/productionreturnRequestMain/index.ts | 4 ++-- .../wms/productionreturnRequestMainNo/index.ts | 4 ++-- src/api/wms/productputawayJobMain/index.ts | 4 ++-- src/api/wms/productputawayRecordMain/index.ts | 4 ++-- src/api/wms/productputawayRequestMain/index.ts | 4 ++-- src/api/wms/productreceiptJobMain/index.ts | 4 ++-- src/api/wms/productreceiptRecordMain/index.ts | 2 +- src/api/wms/productreceiptRequestMain/index.ts | 2 +- src/api/wms/productrepairRecordMain/index.ts | 2 +- src/api/wms/productrepairRequestMain/index.ts | 2 +- src/api/wms/productscrapJobMain/index.ts | 4 ++-- src/api/wms/productscrapRecordMain/index.ts | 2 +- src/api/wms/productscrapRequestMain/index.ts | 2 +- src/api/wms/purchasereceiptJobMain/index.ts | 4 ++-- src/api/wms/purchasereceiptRecordMain/index.ts | 4 ++-- src/api/wms/purchasereceiptRequestMain/index.ts | 4 ++-- src/api/wms/purchasereturnJobMain/index.ts | 4 ++-- src/api/wms/purchasereturnRecordMain/index.ts | 4 ++-- src/api/wms/purchasereturnRequestMain/index.ts | 4 ++-- src/api/wms/putawayJobMain/index.ts | 4 ++-- src/api/wms/putawayRecordMain/index.ts | 4 ++-- src/api/wms/putawayRequestMain/index.ts | 4 ++-- src/api/wms/repleinshJobMain/index.ts | 4 ++-- src/api/wms/repleinshRecordMain/index.ts | 4 ++-- src/api/wms/repleinshRequestMain/index.ts | 4 ++-- src/api/wms/scrapJobMain/index.ts | 4 ++-- src/api/wms/scrapRecordMain/index.ts | 2 +- src/api/wms/scrapRequestMain/index.ts | 2 +- src/api/wms/transferissueJobMain/index.ts | 4 ++-- src/api/wms/transferissueRecordMain/index.ts | 4 ++-- src/api/wms/transferissueRequestMain/index.ts | 4 ++-- src/api/wms/transferreceiptJobMain/index.ts | 4 ++-- src/api/wms/transferreceiptRecordMain/index.ts | 4 ++-- src/api/wms/transferreceiptRequestMain/index.ts | 4 ++-- src/api/wms/unplannedissueJobMain/index.ts | 4 ++-- src/api/wms/unplannedissueRecordMain/index.ts | 2 +- src/api/wms/unplannedissueRequestMain/index.ts | 2 +- src/api/wms/unplannedreceiptJobMain/index.ts | 4 ++-- src/api/wms/unplannedreceiptRecordMain/index.ts | 2 +- src/api/wms/unplannedreceiptRequestMain/index.ts | 2 +- src/views/Home/components/produce.vue | 4 ++-- .../businesstype/businesstype.data.ts | 8 ++++---- .../documentSetting/businesstype/index.vue | 16 ++++++++-------- .../count/countJobMain/countJobMain.data.ts | 8 ++++---- .../customerreceiptRecordMain.data.ts | 16 ++++++++-------- .../customerreceiptRequestMain.data.ts | 16 ++++++++-------- .../customerreturnJobMain.data.ts | 16 ++++++++-------- .../customerreturnJobMain/index.vue | 4 ++-- .../customerreturnRecordMain.data.ts | 16 ++++++++-------- .../customerreturnRequestMain.data.ts | 8 ++++---- .../customersettleRecordMain.data.ts | 8 ++++---- .../customersettleRequestMain.data.ts | 8 ++++---- .../deliverJobMain/deliverJobMain.data.ts | 16 ++++++++-------- .../deliver/deliverJobMain/index.vue | 4 ++-- .../deliverRecordMain/deliverRecordMain.data.ts | 16 ++++++++-------- .../deliverRequestMain.data.ts | 8 ++++---- .../scrap/scrapJobMain/scrapJobMain.data.ts | 12 ++++++------ .../scrapRecordMain/scrapRecordMain.data.ts | 8 ++++---- .../scrapRequestMain/scrapRequestMain.data.ts | 4 ++-- .../transferissueJobMain.data.ts | 16 ++++++++-------- .../transferissueRecordMain.data.ts | 16 ++++++++-------- .../transferissueRequestMain.data.ts | 8 ++++---- .../transferreceiptJobMain.data.ts | 16 ++++++++-------- .../transferreceiptRecordMain.data.ts | 16 ++++++++-------- .../transferreceiptRequestMain.data.ts | 16 ++++++++-------- .../unplannedissueJobMain.data.ts | 12 ++++++------ .../unplannedissueRecordMain.data.ts | 8 ++++---- .../unplannedissueRequestMain.data.ts | 4 ++-- .../unplannedreceiptJobMain.data.ts | 12 ++++++------ .../unplannedreceiptRecordMain.data.ts | 8 ++++---- .../unplannedreceiptRequestMain.data.ts | 4 ++-- .../wms/issueManage/issue/issueJobMain/index.vue | 4 ++-- .../issue/issueJobMain/issueJobMain.data.ts | 16 ++++++++-------- .../issueRecordMain/issueRecordMain.data.ts | 14 +++++++------- .../issueRequestMain/issueRequestMain.data.ts | 8 ++++---- .../pick/pickJobMain/pickJobMain.data.ts | 16 ++++++++-------- .../pick/pickRecordMain/pickRecordMain.data.ts | 16 ++++++++-------- .../pick/pickRequestMain/pickRequestMain.data.ts | 16 ++++++++-------- .../productionreceiptJobMain/index.vue | 4 ++-- .../productionreceiptJobMain.data.ts | 16 ++++++++-------- .../productionreceiptRecordMain.data.ts | 16 ++++++++-------- .../productionreturnJobMain/index.vue | 4 ++-- .../productionreturnJobMain.data.ts | 16 ++++++++-------- .../productionreturnRecordMain.data.ts | 16 ++++++++-------- .../productionreturnRequestMain.data.ts | 8 ++++---- .../repleinsh/repleinshJobMain/index.vue | 4 ++-- .../repleinshJobMain/repleinshJobMain.data.ts | 16 ++++++++-------- .../repleinshRecordMain.data.ts | 16 ++++++++-------- .../repleinshRequestMain.data.ts | 16 ++++++++-------- .../inventorymoveJobMain.data.ts | 16 ++++++++-------- .../inventorymoveRecordMain.data.ts | 16 ++++++++-------- .../inventorymoveRequestMain.data.ts | 8 ++++---- .../productdismantleJobMain.data.ts | 12 ++++++------ .../productdismantleRecordMain.data.ts | 8 ++++---- .../productdismantleRequestMain.data.ts | 4 ++-- .../productputawayJobMain/index.vue | 4 ++-- .../productputawayJobMain.data.ts | 16 ++++++++-------- .../productputawayRecordMain.data.ts | 16 ++++++++-------- .../productputawayRequestMain.data.ts | 8 ++++---- .../productreceiptJobMain/index.vue | 4 ++-- .../productreceiptJobMain.data.ts | 12 ++++++------ .../productreceiptRecordMain.data.ts | 8 ++++---- .../productreceiptRequestMain.data.ts | 4 ++-- .../productrepairRecordMain.data.ts | 8 ++++---- .../productrepairRequestMain.data.ts | 4 ++-- .../productscrapJobMain.data.ts | 12 ++++++------ .../productscrapRecordMain.data.ts | 8 ++++---- .../productscrapRequestMain.data.ts | 4 ++-- .../inspectJobMain/inspectJobMain.data.ts | 8 ++++---- .../inspectRecordMain/inspectRecordMain.data.ts | 8 ++++---- .../inspectRequestMain.data.ts | 12 ++++++------ .../purchasereceiptJobMain.data.ts | 12 ++++++------ .../purchasereceiptRecordMain.data.ts | 10 +++++----- .../purchasereceiptRequestMain.data.ts | 12 ++++++------ .../purchasereturnJobMain.data.ts | 12 ++++++------ .../purchasereturnRecordMain.data.ts | 12 ++++++------ .../purchasereturnRequestMain/index.vue | 6 +++--- .../purchasereturnRequestMain.data.ts | 12 ++++++------ .../putawayJobMain/putawayJobMain.data.ts | 16 ++++++++-------- .../putawayRecordMain/putawayRecordMain.data.ts | 16 ++++++++-------- .../putawayRequestMain.data.ts | 16 ++++++++-------- 156 files changed, 571 insertions(+), 571 deletions(-) diff --git a/src/api/wms/businesstype/index.ts b/src/api/wms/businesstype/index.ts index 58d9723f3..09f9dddef 100644 --- a/src/api/wms/businesstype/index.ts +++ b/src/api/wms/businesstype/index.ts @@ -6,8 +6,8 @@ export interface BusinesstypeVO { description: string itemTypes: string itemStatuses: string - outLocationTypes: string - inLocationTypes: string + outAreaTypes: string + inAreaTypes: string outAreaCodes: string inAreaCodes: string outInventoryStatuses: string diff --git a/src/api/wms/containerBindRecordMain/index.ts b/src/api/wms/containerBindRecordMain/index.ts index 7fa35ac2d..be7cca676 100644 --- a/src/api/wms/containerBindRecordMain/index.ts +++ b/src/api/wms/containerBindRecordMain/index.ts @@ -21,8 +21,8 @@ export interface ContainerBindRecordMainVO { extraProperties: string siteId: string code: string - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string fromAreaCodes: string toAreaCodes: string } diff --git a/src/api/wms/containerInitRecordMain/index.ts b/src/api/wms/containerInitRecordMain/index.ts index 0c9c565f1..9bcb441d4 100644 --- a/src/api/wms/containerInitRecordMain/index.ts +++ b/src/api/wms/containerInitRecordMain/index.ts @@ -20,8 +20,8 @@ export interface ContainerInitRecordMainVO { extraProperties: string siteId: string code: string - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string fromAreaCodes: string toAreaCodes: string } diff --git a/src/api/wms/containerRepairRecordMain/index.ts b/src/api/wms/containerRepairRecordMain/index.ts index 82fbc5501..8754af5fd 100644 --- a/src/api/wms/containerRepairRecordMain/index.ts +++ b/src/api/wms/containerRepairRecordMain/index.ts @@ -21,8 +21,8 @@ export interface ContainerRepairRecordMainVO { extraProperties: string siteId: string code: string - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string fromAreaCodes: string toAreaCodes: string } diff --git a/src/api/wms/containerUnbindRecordMain/index.ts b/src/api/wms/containerUnbindRecordMain/index.ts index 4e6849cd6..1dc49d431 100644 --- a/src/api/wms/containerUnbindRecordMain/index.ts +++ b/src/api/wms/containerUnbindRecordMain/index.ts @@ -21,8 +21,8 @@ export interface ContainerUnbindRecordMainVO { extraProperties: string siteId: string code: string - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string fromAreaCodes: string toAreaCodes: string } diff --git a/src/api/wms/countJobMain/index.ts b/src/api/wms/countJobMain/index.ts index 48ce99185..e2de4e5f8 100644 --- a/src/api/wms/countJobMain/index.ts +++ b/src/api/wms/countJobMain/index.ts @@ -20,8 +20,8 @@ export interface CountJobMainVO { acceptTime: Date completeUserId: string completeTime: Date - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string number: string businessType: string remark: string diff --git a/src/api/wms/customerreceiptRecordMain/index.ts b/src/api/wms/customerreceiptRecordMain/index.ts index 77dbc2637..73e8e3475 100644 --- a/src/api/wms/customerreceiptRecordMain/index.ts +++ b/src/api/wms/customerreceiptRecordMain/index.ts @@ -25,8 +25,8 @@ export interface CustomerreceiptRecordMainVO { createTime: Date creator: string code: string - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string fromAreaCodes: string toAreaCodes: string available: string diff --git a/src/api/wms/customerreceiptRequestMain/index.ts b/src/api/wms/customerreceiptRequestMain/index.ts index bc61e21be..a933b873c 100644 --- a/src/api/wms/customerreceiptRequestMain/index.ts +++ b/src/api/wms/customerreceiptRequestMain/index.ts @@ -21,8 +21,8 @@ export interface CustomerreceiptRequestMainVO { status: string updateTime: Date updater: string - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string fromAreaCodes: string toAreaCodes: string autoCommit: string diff --git a/src/api/wms/customerreturnJobMain/index.ts b/src/api/wms/customerreturnJobMain/index.ts index ae00479d0..cc2ca4f54 100644 --- a/src/api/wms/customerreturnJobMain/index.ts +++ b/src/api/wms/customerreturnJobMain/index.ts @@ -26,8 +26,8 @@ export interface CustomerreturnJobMainVO { acceptTime: Date completeUserId: string completeTime: Date - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string number: string businessType: string remark: string diff --git a/src/api/wms/customerreturnRecordMain/index.ts b/src/api/wms/customerreturnRecordMain/index.ts index 233d37ab7..7dc032395 100644 --- a/src/api/wms/customerreturnRecordMain/index.ts +++ b/src/api/wms/customerreturnRecordMain/index.ts @@ -26,8 +26,8 @@ export interface CustomerreturnRecordMainVO { createTime: Date creatorId: string code: string - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string toAreaCodes: string toDockCode: string available: string diff --git a/src/api/wms/customerreturnRequestMain/index.ts b/src/api/wms/customerreturnRequestMain/index.ts index df34747a2..35a99a1fc 100644 --- a/src/api/wms/customerreturnRequestMain/index.ts +++ b/src/api/wms/customerreturnRequestMain/index.ts @@ -21,10 +21,10 @@ export interface CustomerreturnRequestMainVO { updateTime: Date updater: string fromWarehouseCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string toWarehouseCode: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string toDockCode: string autoCommit: string diff --git a/src/api/wms/customersettleRecordMain/index.ts b/src/api/wms/customersettleRecordMain/index.ts index 2e03ae027..daaa33fce 100644 --- a/src/api/wms/customersettleRecordMain/index.ts +++ b/src/api/wms/customersettleRecordMain/index.ts @@ -20,7 +20,7 @@ export interface CustomersettleRecordMainVO { creator: string remark: string fromWarehouseCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string available: string } diff --git a/src/api/wms/customersettleRequestMain/index.ts b/src/api/wms/customersettleRequestMain/index.ts index 06d9f50ee..a291458e3 100644 --- a/src/api/wms/customersettleRequestMain/index.ts +++ b/src/api/wms/customersettleRequestMain/index.ts @@ -5,7 +5,7 @@ export interface CustomersettleRequestMainVO { deliverPlanNumber: string customerCode: string fromWarehouseCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string number: string businessType: string diff --git a/src/api/wms/deliverJobMain/index.ts b/src/api/wms/deliverJobMain/index.ts index a539279c8..5be903729 100644 --- a/src/api/wms/deliverJobMain/index.ts +++ b/src/api/wms/deliverJobMain/index.ts @@ -26,8 +26,8 @@ export interface DeliverJobMainVO { acceptTime: Date completeUserId: string completeTime: Date - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string number: string businessType: string remark: string diff --git a/src/api/wms/deliverRecordMain/index.ts b/src/api/wms/deliverRecordMain/index.ts index 4ab528802..405efa539 100644 --- a/src/api/wms/deliverRecordMain/index.ts +++ b/src/api/wms/deliverRecordMain/index.ts @@ -26,9 +26,9 @@ export interface DeliverRecordMainVO { createTime: Date creator: string code: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string fromDockCode: string available: string diff --git a/src/api/wms/deliverRequestMain/index.ts b/src/api/wms/deliverRequestMain/index.ts index 350a1f20b..03f544ed9 100644 --- a/src/api/wms/deliverRequestMain/index.ts +++ b/src/api/wms/deliverRequestMain/index.ts @@ -10,7 +10,7 @@ export interface DeliverRequestMainVO { vehiclePlateNumber: string fromWarehouseCode: string toWarehouseCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string number: string businessType: string @@ -23,7 +23,7 @@ export interface DeliverRequestMainVO { status: string updateTime: Date updater: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string fromDockCode: string autoCommit: string diff --git a/src/api/wms/inspectJobMain/index.ts b/src/api/wms/inspectJobMain/index.ts index 1b3a9ee82..54e95146c 100644 --- a/src/api/wms/inspectJobMain/index.ts +++ b/src/api/wms/inspectJobMain/index.ts @@ -19,8 +19,8 @@ export interface InspectJobMainVO { acceptTime: Date completeUserId: string completeTime: Date - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string number: string businessType: string remark: string diff --git a/src/api/wms/inspectRecordMain/index.ts b/src/api/wms/inspectRecordMain/index.ts index 381950a0c..6f3788867 100644 --- a/src/api/wms/inspectRecordMain/index.ts +++ b/src/api/wms/inspectRecordMain/index.ts @@ -37,7 +37,7 @@ export interface InspectRecordMainVO { ownerCode: string available: string sampleQty: number - fromLocationTypes: string + fromAreaTypes: string } // 查询检验记录主列表 diff --git a/src/api/wms/inspectRequestMain/index.ts b/src/api/wms/inspectRequestMain/index.ts index 699ee6ccf..c4f71cc48 100644 --- a/src/api/wms/inspectRequestMain/index.ts +++ b/src/api/wms/inspectRequestMain/index.ts @@ -7,7 +7,7 @@ export interface InspectRequestMainVO { businessType: string fromWarehouseCode: string fromAreaCodes: string - fromLocationTypes: string + fromAreaTypes: string remark: string createTime: Date creator: string diff --git a/src/api/wms/inventorymoveJobMain/index.ts b/src/api/wms/inventorymoveJobMain/index.ts index 14262e35a..83eb4f4e5 100644 --- a/src/api/wms/inventorymoveJobMain/index.ts +++ b/src/api/wms/inventorymoveJobMain/index.ts @@ -18,8 +18,8 @@ export interface InventorymoveJobMainVO { acceptTime: Date completeUserId: string completeTime: Date - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string number: string businessType: string remark: string diff --git a/src/api/wms/inventorymoveRecordMain/index.ts b/src/api/wms/inventorymoveRecordMain/index.ts index bd278e955..2f351b719 100644 --- a/src/api/wms/inventorymoveRecordMain/index.ts +++ b/src/api/wms/inventorymoveRecordMain/index.ts @@ -19,10 +19,10 @@ export interface InventorymoveRecordMainVO { createTime: Date creator: string fromWarehouseCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string toWarehouseCode: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string available: string } diff --git a/src/api/wms/inventorymoveRequestMain/index.ts b/src/api/wms/inventorymoveRequestMain/index.ts index 3844cc96b..55e3537bc 100644 --- a/src/api/wms/inventorymoveRequestMain/index.ts +++ b/src/api/wms/inventorymoveRequestMain/index.ts @@ -13,10 +13,10 @@ export interface InventorymoveRequestMainVO { updateTime: Date updater: string fromWarehouseOde: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string toWarehouseCode: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string useOnTheWayLocation: string autoCommit: string diff --git a/src/api/wms/issueJobMain/index.ts b/src/api/wms/issueJobMain/index.ts index 0c4f54292..d47210412 100644 --- a/src/api/wms/issueJobMain/index.ts +++ b/src/api/wms/issueJobMain/index.ts @@ -19,8 +19,8 @@ export interface IssueJobMainVO { acceptTime: Date completeUserName: string completeTime: Date - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string number: string businessType: string remark: string diff --git a/src/api/wms/issueRecordMain/index.ts b/src/api/wms/issueRecordMain/index.ts index 3d5a553f3..634893289 100644 --- a/src/api/wms/issueRecordMain/index.ts +++ b/src/api/wms/issueRecordMain/index.ts @@ -19,10 +19,10 @@ export interface IssueRecordMainVO { creator: string code: string fromWarehouseCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string toWarehouseCode: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string useOnTheWayLocation: string available: string diff --git a/src/api/wms/issueRequestMain/index.ts b/src/api/wms/issueRequestMain/index.ts index 11bec6a23..efaf03d24 100644 --- a/src/api/wms/issueRequestMain/index.ts +++ b/src/api/wms/issueRequestMain/index.ts @@ -4,8 +4,8 @@ export interface IssueRequestMainVO { workshopCode: string fromWarehouseCode: string toWarehouseCode: string - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string fromAreaCodes: string toAreaCodes: string number: string diff --git a/src/api/wms/pickJobMain/index.ts b/src/api/wms/pickJobMain/index.ts index 3f52ed878..bb4e84ace 100644 --- a/src/api/wms/pickJobMain/index.ts +++ b/src/api/wms/pickJobMain/index.ts @@ -16,8 +16,8 @@ export interface PickJobMainVO { acceptTime: Date completeUserId: string completeTime: Date - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string number: string businessType: string remark: string diff --git a/src/api/wms/pickRecordMain/index.ts b/src/api/wms/pickRecordMain/index.ts index 97ea9cea6..96a5635e9 100644 --- a/src/api/wms/pickRecordMain/index.ts +++ b/src/api/wms/pickRecordMain/index.ts @@ -18,10 +18,10 @@ export interface PickRecordMainVO { creator: string code: string fromWarehouseCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string toWarehouseCode: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string available: string } diff --git a/src/api/wms/pickRequestMain/index.ts b/src/api/wms/pickRequestMain/index.ts index 5344d4df3..277ef1448 100644 --- a/src/api/wms/pickRequestMain/index.ts +++ b/src/api/wms/pickRequestMain/index.ts @@ -2,7 +2,7 @@ import request from '@/config/axios' export interface PickRequestMainVO { fromWarehouseCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreas: string number: string businessType: string @@ -16,7 +16,7 @@ export interface PickRequestMainVO { updateTime: Date updater: string toWarehouseCode: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string autoCommit: string autoAgree: string diff --git a/src/api/wms/productdismantleJobMain/index.ts b/src/api/wms/productdismantleJobMain/index.ts index 353653c77..b2dddc5e7 100644 --- a/src/api/wms/productdismantleJobMain/index.ts +++ b/src/api/wms/productdismantleJobMain/index.ts @@ -20,8 +20,8 @@ export interface ProductdismantleJobMainVO { acceptTime: Date completeUserId: string completeTime: Date - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string number: string businessType: string remark: string diff --git a/src/api/wms/productdismantleRecordMain/index.ts b/src/api/wms/productdismantleRecordMain/index.ts index b5de74274..4628be7a3 100644 --- a/src/api/wms/productdismantleRecordMain/index.ts +++ b/src/api/wms/productdismantleRecordMain/index.ts @@ -20,7 +20,7 @@ export interface ProductdismantleRecordMainVO { creator: string code: string fromWarehouseCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string available: string } diff --git a/src/api/wms/productdismantleRequestMain/index.ts b/src/api/wms/productdismantleRequestMain/index.ts index 1319d18ea..e4af1dd06 100644 --- a/src/api/wms/productdismantleRequestMain/index.ts +++ b/src/api/wms/productdismantleRequestMain/index.ts @@ -5,7 +5,7 @@ export interface ProductdismantleRequestMainVO { team: string shift: string fromWarehouseCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string number: string businessType: string diff --git a/src/api/wms/productionreceiptJobMain/index.ts b/src/api/wms/productionreceiptJobMain/index.ts index 471ddba7c..4096d39b7 100644 --- a/src/api/wms/productionreceiptJobMain/index.ts +++ b/src/api/wms/productionreceiptJobMain/index.ts @@ -19,8 +19,8 @@ export interface ProductionreceiptJobMainVO { acceptTime: Date completeUserId: string completeTime: Date - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string number: string businessType: string remark: string diff --git a/src/api/wms/productionreceiptRecordMain/index.ts b/src/api/wms/productionreceiptRecordMain/index.ts index ebc176e93..cd2002af1 100644 --- a/src/api/wms/productionreceiptRecordMain/index.ts +++ b/src/api/wms/productionreceiptRecordMain/index.ts @@ -19,10 +19,10 @@ export interface ProductionreceiptRecordMainVO { creator: string code: string fromWarehouseCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string toWarehouseCode: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string useOnTheWayLocation: string available: string diff --git a/src/api/wms/productionreturnJobMain/index.ts b/src/api/wms/productionreturnJobMain/index.ts index 79c2f9605..0848605bd 100644 --- a/src/api/wms/productionreturnJobMain/index.ts +++ b/src/api/wms/productionreturnJobMain/index.ts @@ -19,8 +19,8 @@ export interface ProductionreturnJobMainVO { acceptTime: Date completeUserId: string completeTime: Date - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string number: string businessType: string remark: string diff --git a/src/api/wms/productionreturnRecordMain/index.ts b/src/api/wms/productionreturnRecordMain/index.ts index 2615d1a32..328415e2c 100644 --- a/src/api/wms/productionreturnRecordMain/index.ts +++ b/src/api/wms/productionreturnRecordMain/index.ts @@ -19,10 +19,10 @@ export interface ProductionreturnRecordMainVO { creator: string code: string fromWarehouseCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string toWarehouseCode: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string available: string } diff --git a/src/api/wms/productionreturnRequestMain/index.ts b/src/api/wms/productionreturnRequestMain/index.ts index e6e47d953..04a6c8ad8 100644 --- a/src/api/wms/productionreturnRequestMain/index.ts +++ b/src/api/wms/productionreturnRequestMain/index.ts @@ -3,7 +3,7 @@ import request from '@/config/axios' export interface ProductionreturnRequestMainVO { workshopCode: string fromWarehouseCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string number: string businessType: string @@ -17,7 +17,7 @@ export interface ProductionreturnRequestMainVO { updateTime: Date updater: string toWarehouseCode: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string autoCommit: string autoAgree: string diff --git a/src/api/wms/productionreturnRequestMainNo/index.ts b/src/api/wms/productionreturnRequestMainNo/index.ts index 8f369cd96..b42ba45d1 100644 --- a/src/api/wms/productionreturnRequestMainNo/index.ts +++ b/src/api/wms/productionreturnRequestMainNo/index.ts @@ -3,7 +3,7 @@ import request from '@/config/axios' export interface ProductionreturnRequestMainVO { workshopCode: string fromWarehouseCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string number: string businessType: string @@ -17,7 +17,7 @@ export interface ProductionreturnRequestMainVO { updateTime: Date updater: string toWarehouseCode: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string autoCommit: string autoAgree: string diff --git a/src/api/wms/productputawayJobMain/index.ts b/src/api/wms/productputawayJobMain/index.ts index c70270ac4..9789444e8 100644 --- a/src/api/wms/productputawayJobMain/index.ts +++ b/src/api/wms/productputawayJobMain/index.ts @@ -7,8 +7,8 @@ export interface ProductputawayJobMainVO { toWarehouseCode: string fromAreaCodes: string toAreaCodes: string - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string completetime: Date requestTime: Date requestDueTime: Date diff --git a/src/api/wms/productputawayRecordMain/index.ts b/src/api/wms/productputawayRecordMain/index.ts index ea3fcb63d..d6eaaa8ff 100644 --- a/src/api/wms/productputawayRecordMain/index.ts +++ b/src/api/wms/productputawayRecordMain/index.ts @@ -19,10 +19,10 @@ export interface ProductputawayRecordMainVO { creator: string code: string fromWarehouseCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string toWarehouseCode: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string ruleUserId: number available: string diff --git a/src/api/wms/productputawayRequestMain/index.ts b/src/api/wms/productputawayRequestMain/index.ts index 72640c600..7975d1ea5 100644 --- a/src/api/wms/productputawayRequestMain/index.ts +++ b/src/api/wms/productputawayRequestMain/index.ts @@ -5,8 +5,8 @@ export interface ProductputawayRequestMainVO { supplierCode: string fromWarehouseCode: string toWarehouseCode: string - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string fromAreaCodes: string toAreaCodes: string number: string diff --git a/src/api/wms/productreceiptJobMain/index.ts b/src/api/wms/productreceiptJobMain/index.ts index b22dae6b4..234af4f77 100644 --- a/src/api/wms/productreceiptJobMain/index.ts +++ b/src/api/wms/productreceiptJobMain/index.ts @@ -23,8 +23,8 @@ export interface ProductreceiptJobMainVO { completeTime: Date toWarehouseCode: string toAreaCodes: string - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string number: string businessType: string remark: string diff --git a/src/api/wms/productreceiptRecordMain/index.ts b/src/api/wms/productreceiptRecordMain/index.ts index acd866722..a2704ace6 100644 --- a/src/api/wms/productreceiptRecordMain/index.ts +++ b/src/api/wms/productreceiptRecordMain/index.ts @@ -22,7 +22,7 @@ export interface ProductreceiptRecordMainVO { creator: string code: string toWarehouseCode: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string available: string } diff --git a/src/api/wms/productreceiptRequestMain/index.ts b/src/api/wms/productreceiptRequestMain/index.ts index 3934a8155..dbb1cc187 100644 --- a/src/api/wms/productreceiptRequestMain/index.ts +++ b/src/api/wms/productreceiptRequestMain/index.ts @@ -6,7 +6,7 @@ export interface ProductreceiptRequestMainVO { team: string shift: string toWarehouseCode: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string number: string businessType: string diff --git a/src/api/wms/productrepairRecordMain/index.ts b/src/api/wms/productrepairRecordMain/index.ts index 6f3e66ad5..0fd2d39cd 100644 --- a/src/api/wms/productrepairRecordMain/index.ts +++ b/src/api/wms/productrepairRecordMain/index.ts @@ -20,7 +20,7 @@ export interface ProductrepairRecordMainVO { creator: string code: string fromWarehouseCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string available: string } diff --git a/src/api/wms/productrepairRequestMain/index.ts b/src/api/wms/productrepairRequestMain/index.ts index 17eb6d660..0a5fb8315 100644 --- a/src/api/wms/productrepairRequestMain/index.ts +++ b/src/api/wms/productrepairRequestMain/index.ts @@ -16,7 +16,7 @@ export interface ProductrepairRequestMainVO { status: string updateTime: Date updater: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string autoCommit: string autoAgree: string diff --git a/src/api/wms/productscrapJobMain/index.ts b/src/api/wms/productscrapJobMain/index.ts index 49f77589c..d4c094196 100644 --- a/src/api/wms/productscrapJobMain/index.ts +++ b/src/api/wms/productscrapJobMain/index.ts @@ -17,8 +17,8 @@ export interface ProductscrapJobMainVO { acceptTime: Date completeUserId: string completeTime: Date - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string number: string businessType: string remark: string diff --git a/src/api/wms/productscrapRecordMain/index.ts b/src/api/wms/productscrapRecordMain/index.ts index 7d415eadf..9d111f89f 100644 --- a/src/api/wms/productscrapRecordMain/index.ts +++ b/src/api/wms/productscrapRecordMain/index.ts @@ -18,7 +18,7 @@ export interface ProductscrapRecordMainVO { createTime: Date creator: string fromWarehouseCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string ruleUserId: number available: string diff --git a/src/api/wms/productscrapRequestMain/index.ts b/src/api/wms/productscrapRequestMain/index.ts index 3a468e448..48f4db18d 100644 --- a/src/api/wms/productscrapRequestMain/index.ts +++ b/src/api/wms/productscrapRequestMain/index.ts @@ -13,7 +13,7 @@ export interface ProductscrapRequestMainVO { status: string updateTime: Date updater: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string autoCommit: string autoAgree: string diff --git a/src/api/wms/purchasereceiptJobMain/index.ts b/src/api/wms/purchasereceiptJobMain/index.ts index 3e2f9a27d..ac751a5b6 100644 --- a/src/api/wms/purchasereceiptJobMain/index.ts +++ b/src/api/wms/purchasereceiptJobMain/index.ts @@ -26,8 +26,8 @@ export interface PurchasereceiptJobMainVO { acceptTime: Date completeUserId: string completeTime: Date - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string number: string businessType: string remark: string diff --git a/src/api/wms/purchasereceiptRecordMain/index.ts b/src/api/wms/purchasereceiptRecordMain/index.ts index 7c61327e9..fb50c380b 100644 --- a/src/api/wms/purchasereceiptRecordMain/index.ts +++ b/src/api/wms/purchasereceiptRecordMain/index.ts @@ -26,8 +26,8 @@ export interface PurchasereceiptRecordMainVO { createTime: Date creator: string code: string - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string fromAreaCodes: string toAreaCodes: string available: string diff --git a/src/api/wms/purchasereceiptRequestMain/index.ts b/src/api/wms/purchasereceiptRequestMain/index.ts index 4aa84e577..e41ef3286 100644 --- a/src/api/wms/purchasereceiptRequestMain/index.ts +++ b/src/api/wms/purchasereceiptRequestMain/index.ts @@ -8,8 +8,8 @@ export interface PurchasereceiptRequestMainVO { transferMode: string fromWarehouseCode: string toWarehouseCode: string - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string fromAreaCodes: string toAreaCodes: string toDockCode: string diff --git a/src/api/wms/purchasereturnJobMain/index.ts b/src/api/wms/purchasereturnJobMain/index.ts index 0c093ba40..6b43ab046 100644 --- a/src/api/wms/purchasereturnJobMain/index.ts +++ b/src/api/wms/purchasereturnJobMain/index.ts @@ -26,8 +26,8 @@ export interface PurchasereturnJobMainVO { acceptTime: Date completeUserId: string completeTime: Date - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string number: string businessType: string remark: string diff --git a/src/api/wms/purchasereturnRecordMain/index.ts b/src/api/wms/purchasereturnRecordMain/index.ts index 5cd951cf8..b08fddfe7 100644 --- a/src/api/wms/purchasereturnRecordMain/index.ts +++ b/src/api/wms/purchasereturnRecordMain/index.ts @@ -27,8 +27,8 @@ export interface PurchasereturnRecordMainVO { createTime: Date creator: string code: string - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string fromAreaCodes: string toAreaCodes: string available: string diff --git a/src/api/wms/purchasereturnRequestMain/index.ts b/src/api/wms/purchasereturnRequestMain/index.ts index a521cf627..d6b4a3b7c 100644 --- a/src/api/wms/purchasereturnRequestMain/index.ts +++ b/src/api/wms/purchasereturnRequestMain/index.ts @@ -21,10 +21,10 @@ export interface PurchasereturnRequestMainVO { status: string updateTime: Date updater: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string fromDockCode: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string autoCommit: string autoAgree: string diff --git a/src/api/wms/putawayJobMain/index.ts b/src/api/wms/putawayJobMain/index.ts index adc2cadfc..88959b43f 100644 --- a/src/api/wms/putawayJobMain/index.ts +++ b/src/api/wms/putawayJobMain/index.ts @@ -19,8 +19,8 @@ export interface PutawayJobMainVO { acceptTime: Date completeUserId: string completeTime: Date - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string number: string businessType: string remark: string diff --git a/src/api/wms/putawayRecordMain/index.ts b/src/api/wms/putawayRecordMain/index.ts index c8b1cda50..36507e3d6 100644 --- a/src/api/wms/putawayRecordMain/index.ts +++ b/src/api/wms/putawayRecordMain/index.ts @@ -19,10 +19,10 @@ export interface PutawayRecordMainVO { creator: string code: string fromWarehouseCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string toWarehouseCode: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string available: string } diff --git a/src/api/wms/putawayRequestMain/index.ts b/src/api/wms/putawayRequestMain/index.ts index af4ba1618..7db4cc062 100644 --- a/src/api/wms/putawayRequestMain/index.ts +++ b/src/api/wms/putawayRequestMain/index.ts @@ -3,7 +3,7 @@ import request from '@/config/axios' export interface PutawayRequestMainVO { supplierCode: string fromWarehouseCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string number: string businessType: string @@ -17,7 +17,7 @@ export interface PutawayRequestMainVO { updateTime: Date updater: string toWarehouseCode: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string autoCommit: string autoAgree: string diff --git a/src/api/wms/repleinshJobMain/index.ts b/src/api/wms/repleinshJobMain/index.ts index 7be585cda..2869a7745 100644 --- a/src/api/wms/repleinshJobMain/index.ts +++ b/src/api/wms/repleinshJobMain/index.ts @@ -16,8 +16,8 @@ export interface RepleinshJobMainVO { acceptTime: Date completeUserId: string completeTime: Date - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string number: string businessType: string remark: string diff --git a/src/api/wms/repleinshRecordMain/index.ts b/src/api/wms/repleinshRecordMain/index.ts index b1557d57d..654f84618 100644 --- a/src/api/wms/repleinshRecordMain/index.ts +++ b/src/api/wms/repleinshRecordMain/index.ts @@ -18,10 +18,10 @@ export interface RepleinshRecordMainVO { creator: string code: string fromWarehouseCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string toWarehouseCode: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string available: string } diff --git a/src/api/wms/repleinshRequestMain/index.ts b/src/api/wms/repleinshRequestMain/index.ts index 5a30d78cc..78ad4d484 100644 --- a/src/api/wms/repleinshRequestMain/index.ts +++ b/src/api/wms/repleinshRequestMain/index.ts @@ -2,7 +2,7 @@ import request from '@/config/axios' export interface RepleinshRequestMainVO { fomWarehouseCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string number: string businessType: string @@ -16,7 +16,7 @@ export interface RepleinshRequestMainVO { updateTime: Date updater: string toWarehouseCode: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string autoCommit: string autoAgree: string diff --git a/src/api/wms/scrapJobMain/index.ts b/src/api/wms/scrapJobMain/index.ts index 3cc50a9a2..bcdd51ea8 100644 --- a/src/api/wms/scrapJobMain/index.ts +++ b/src/api/wms/scrapJobMain/index.ts @@ -17,8 +17,8 @@ export interface ScrapJobMainVO { acceptTime: Date completeUserId: string completeTime: Date - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string number: string businessType: string remark: string diff --git a/src/api/wms/scrapRecordMain/index.ts b/src/api/wms/scrapRecordMain/index.ts index 57f2a8b76..bd1caffc3 100644 --- a/src/api/wms/scrapRecordMain/index.ts +++ b/src/api/wms/scrapRecordMain/index.ts @@ -18,7 +18,7 @@ export interface ScrapRecordMainVO { createTime: Date creator: string fromWarehouseCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string available: string } diff --git a/src/api/wms/scrapRequestMain/index.ts b/src/api/wms/scrapRequestMain/index.ts index 6a6ef1f40..b4ca02457 100644 --- a/src/api/wms/scrapRequestMain/index.ts +++ b/src/api/wms/scrapRequestMain/index.ts @@ -13,7 +13,7 @@ export interface ScrapRequestMainVO { status: string updateTime: Date updater: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string autoCommit: string autoAgree: string diff --git a/src/api/wms/transferissueJobMain/index.ts b/src/api/wms/transferissueJobMain/index.ts index 53e7e3293..047e832ee 100644 --- a/src/api/wms/transferissueJobMain/index.ts +++ b/src/api/wms/transferissueJobMain/index.ts @@ -27,8 +27,8 @@ export interface TransferissueJobMainVO { acceptTime: Date completeUserId: string completeTime: Date - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string fromAreaCodes: string fromDockCode: string toAreaCodes: string diff --git a/src/api/wms/transferissueRecordMain/index.ts b/src/api/wms/transferissueRecordMain/index.ts index 7433ba3ce..a1eab49e8 100644 --- a/src/api/wms/transferissueRecordMain/index.ts +++ b/src/api/wms/transferissueRecordMain/index.ts @@ -23,9 +23,9 @@ export interface TransferissueRecordMainVO { createTime: Date creator: string fromDockCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string available: string } diff --git a/src/api/wms/transferissueRequestMain/index.ts b/src/api/wms/transferissueRequestMain/index.ts index 28425411a..4aee7771f 100644 --- a/src/api/wms/transferissueRequestMain/index.ts +++ b/src/api/wms/transferissueRequestMain/index.ts @@ -17,10 +17,10 @@ export interface TransferissueRequestMainVO { updater: string fromWarehouseCode: string fromDockCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string toWarehouseCode: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string autoCommit: string autoAgree: string diff --git a/src/api/wms/transferreceiptJobMain/index.ts b/src/api/wms/transferreceiptJobMain/index.ts index d2538c3b8..1cf66f552 100644 --- a/src/api/wms/transferreceiptJobMain/index.ts +++ b/src/api/wms/transferreceiptJobMain/index.ts @@ -22,8 +22,8 @@ export interface TransferreceiptJobMainVO { acceptTime: Date completeUserId: string completeTime: Date - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string number: string businessType: string remark: string diff --git a/src/api/wms/transferreceiptRecordMain/index.ts b/src/api/wms/transferreceiptRecordMain/index.ts index ec41b4208..915394535 100644 --- a/src/api/wms/transferreceiptRecordMain/index.ts +++ b/src/api/wms/transferreceiptRecordMain/index.ts @@ -23,10 +23,10 @@ export interface TransferreceiptRecordMainVO { remark: string createTime: Date creator: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string toDockCode: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string available: string } diff --git a/src/api/wms/transferreceiptRequestMain/index.ts b/src/api/wms/transferreceiptRequestMain/index.ts index dcf0e539d..d7462f636 100644 --- a/src/api/wms/transferreceiptRequestMain/index.ts +++ b/src/api/wms/transferreceiptRequestMain/index.ts @@ -17,10 +17,10 @@ export interface TransferreceiptRequestMainVO { updater: string fromWarehouseCode: string toDockCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string toWarehouseCode: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string autoCommit: string autoAgree: string diff --git a/src/api/wms/unplannedissueJobMain/index.ts b/src/api/wms/unplannedissueJobMain/index.ts index ce835fe53..0d4d1ecd1 100644 --- a/src/api/wms/unplannedissueJobMain/index.ts +++ b/src/api/wms/unplannedissueJobMain/index.ts @@ -17,8 +17,8 @@ export interface UnplannedissueJobMainVO { acceptTime: Date completeUserId: string completeTime: Date - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string number: string businessType: string remark: string diff --git a/src/api/wms/unplannedissueRecordMain/index.ts b/src/api/wms/unplannedissueRecordMain/index.ts index c0544e0c0..61ee92037 100644 --- a/src/api/wms/unplannedissueRecordMain/index.ts +++ b/src/api/wms/unplannedissueRecordMain/index.ts @@ -18,7 +18,7 @@ export interface UnplannedissueRecordMainVO { createTime: Date creatorId: string fromWarehouseCode: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string fromDockCode: string available: string diff --git a/src/api/wms/unplannedissueRequestMain/index.ts b/src/api/wms/unplannedissueRequestMain/index.ts index b0a4f096e..62738b340 100644 --- a/src/api/wms/unplannedissueRequestMain/index.ts +++ b/src/api/wms/unplannedissueRequestMain/index.ts @@ -14,7 +14,7 @@ export interface UnplannedissueRequestMainVO { updateTime: Date updater: string concurrencyStamp: string - fromLocationTypes: string + fromAreaTypes: string fromAreaCodes: string autoCommit: string autoAgree: string diff --git a/src/api/wms/unplannedreceiptJobMain/index.ts b/src/api/wms/unplannedreceiptJobMain/index.ts index 88e2f8e66..c76d24506 100644 --- a/src/api/wms/unplannedreceiptJobMain/index.ts +++ b/src/api/wms/unplannedreceiptJobMain/index.ts @@ -17,8 +17,8 @@ export interface UnplannedreceiptJobMainVO { acceptTime: Date completeUserId: string completeTime: Date - fromLocationTypes: string - toLocationTypes: string + fromAreaTypes: string + toAreaTypes: string number: string businessType: string remark: string diff --git a/src/api/wms/unplannedreceiptRecordMain/index.ts b/src/api/wms/unplannedreceiptRecordMain/index.ts index e54a19f47..f9ebbc157 100644 --- a/src/api/wms/unplannedreceiptRecordMain/index.ts +++ b/src/api/wms/unplannedreceiptRecordMain/index.ts @@ -18,7 +18,7 @@ export interface UnplannedreceiptRecordMainVO { createTime: Date creator: string toWarehouseCode: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string available: string } diff --git a/src/api/wms/unplannedreceiptRequestMain/index.ts b/src/api/wms/unplannedreceiptRequestMain/index.ts index 30b024382..67966664e 100644 --- a/src/api/wms/unplannedreceiptRequestMain/index.ts +++ b/src/api/wms/unplannedreceiptRequestMain/index.ts @@ -13,7 +13,7 @@ export interface UnplannedreceiptRequestMainVO { status: string updateTime: Date updater: string - toLocationTypes: string + toAreaTypes: string toAreaCodes: string autoCommit: string autoAgree: string diff --git a/src/views/Home/components/produce.vue b/src/views/Home/components/produce.vue index c289ec0c0..294bc28ef 100644 --- a/src/views/Home/components/produce.vue +++ b/src/views/Home/components/produce.vue @@ -95,8 +95,8 @@ {{ formatDate(scope.row.acceptTime) }} - - + + diff --git a/src/views/wms/basicDataManage/documentSetting/businesstype/businesstype.data.ts b/src/views/wms/basicDataManage/documentSetting/businesstype/businesstype.data.ts index c96b667d7..f43c86d90 100644 --- a/src/views/wms/basicDataManage/documentSetting/businesstype/businesstype.data.ts +++ b/src/views/wms/basicDataManage/documentSetting/businesstype/businesstype.data.ts @@ -76,8 +76,8 @@ export const Businesstype = useCrudSchemas(reactive([ }, }, { - label: '出库库位类型范围', - field: 'outLocationTypes', + label: '出库库区类型范围', + field: 'outAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -93,8 +93,8 @@ export const Businesstype = useCrudSchemas(reactive([ } }, { - label: '入库库位类型范围', - field: 'inLocationTypes', + label: '入库库区类型范围', + field: 'inAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, diff --git a/src/views/wms/basicDataManage/documentSetting/businesstype/index.vue b/src/views/wms/basicDataManage/documentSetting/businesstype/index.vue index f78defa36..e39ebaa09 100644 --- a/src/views/wms/basicDataManage/documentSetting/businesstype/index.vue +++ b/src/views/wms/basicDataManage/documentSetting/businesstype/index.vue @@ -157,8 +157,8 @@ const buttonTableClick = async (val, row) => { // 编辑 const rowSplit = JSON.parse(JSON.stringify(row)) rowSplit.itemTypes = rowSplit.itemTypes.split(',') - rowSplit.outLocationTypes = rowSplit.outLocationTypes.split(',') - rowSplit.inLocationTypes = rowSplit.inLocationTypes.split(',') + rowSplit.outAreaTypes = rowSplit.outAreaTypes.split(',') + rowSplit.inAreaTypes = rowSplit.inAreaTypes.split(',') rowSplit.outInventoryStatuses = rowSplit.outInventoryStatuses.split(',') rowSplit.inInventoryStatuses = rowSplit.inInventoryStatuses.split(',') openForm('update', rowSplit) @@ -188,8 +188,8 @@ const formsSuccess = async (formType, data) => { if (data.activeTime == 0) data.activeTime = null if (data.expireTime == 0) data.expireTime = null data.itemTypes = data.itemTypes.join(',') - data.outLocationTypes = data.outLocationTypes.join(',') - data.inLocationTypes = data.inLocationTypes.join(',') + data.outAreaTypes = data.outAreaTypes.join(',') + data.inAreaTypes = data.inAreaTypes.join(',') data.outInventoryStatuses = data.outInventoryStatuses.join(',') data.inInventoryStatuses = data.inInventoryStatuses.join(',') if (formType === 'create') { @@ -201,8 +201,8 @@ const formsSuccess = async (formType, data) => { }) .catch(() => { data.itemTypes = data.itemTypes.split(',') - data.outLocationTypes = data.outLocationTypes.split(',') - data.inLocationTypes = data.inLocationTypes.split(',') + data.outAreaTypes = data.outAreaTypes.split(',') + data.inAreaTypes = data.inAreaTypes.split(',') data.outInventoryStatuses = data.outInventoryStatuses.split(',') data.inInventoryStatuses = data.inInventoryStatuses.split(',') }) @@ -215,8 +215,8 @@ const formsSuccess = async (formType, data) => { }) .catch(() => { data.itemTypes = data.itemTypes.split(',') - data.outLocationTypes = data.outLocationTypes.split(',') - data.inLocationTypes = data.inLocationTypes.split(',') + data.outAreaTypes = data.outAreaTypes.split(',') + data.inAreaTypes = data.inAreaTypes.split(',') data.outInventoryStatuses = data.outInventoryStatuses.split(',') data.inInventoryStatuses = data.inInventoryStatuses.split(',') }) diff --git a/src/views/wms/countManage/count/countJobMain/countJobMain.data.ts b/src/views/wms/countManage/count/countJobMain/countJobMain.data.ts index b39f68b92..cb8edd7ab 100644 --- a/src/views/wms/countManage/count/countJobMain/countJobMain.data.ts +++ b/src/views/wms/countManage/count/countJobMain/countJobMain.data.ts @@ -141,8 +141,8 @@ export const CountJobMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -152,8 +152,8 @@ export const CountJobMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, diff --git a/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/customerreceiptRecordMain.data.ts b/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/customerreceiptRecordMain.data.ts index 1824332ad..d2efa582c 100644 --- a/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/customerreceiptRecordMain.data.ts +++ b/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/customerreceiptRecordMain.data.ts @@ -177,8 +177,8 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -196,8 +196,8 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -337,8 +337,8 @@ export const CustomerreceiptRecordMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], fromAreaCodes: [ { required: true, message: '请选择从库区代码范围', trigger: 'change' } @@ -346,8 +346,8 @@ export const CustomerreceiptRecordMainRules = reactive({ toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], outTransaction: [ { required: true, message: '请输入出库事务类型', trigger: 'blur' } diff --git a/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts b/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts index 1825c13e1..e27551486 100644 --- a/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts +++ b/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts @@ -172,8 +172,8 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -184,8 +184,8 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -425,8 +425,8 @@ export const CustomerreceiptRequestMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], fromAreaCodes: [ { required: true, message: '请选择从库区代码范围', trigger: 'change' } @@ -434,8 +434,8 @@ export const CustomerreceiptRequestMainRules = reactive({ toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } diff --git a/src/views/wms/deliversettlementManage/customerreturn/customerreturnJobMain/customerreturnJobMain.data.ts b/src/views/wms/deliversettlementManage/customerreturn/customerreturnJobMain/customerreturnJobMain.data.ts index de1cfb150..fc6620b5a 100644 --- a/src/views/wms/deliversettlementManage/customerreturn/customerreturnJobMain/customerreturnJobMain.data.ts +++ b/src/views/wms/deliversettlementManage/customerreturn/customerreturnJobMain/customerreturnJobMain.data.ts @@ -179,8 +179,8 @@ export const CustomerreturnJobMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -190,8 +190,8 @@ export const CustomerreturnJobMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -606,8 +606,8 @@ export const CustomerreturnJobMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请输入从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], fromAreaCodes: [ { required: true, message: '请选择从库区代码范围', trigger: 'change' } @@ -615,8 +615,8 @@ export const CustomerreturnJobMainRules = reactive({ toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], toAreaCodes: [ { required: true, message: '请选择到库区代码范围', trigger: 'change' } diff --git a/src/views/wms/deliversettlementManage/customerreturn/customerreturnJobMain/index.vue b/src/views/wms/deliversettlementManage/customerreturn/customerreturnJobMain/index.vue index cda3d6df7..e6470c66e 100644 --- a/src/views/wms/deliversettlementManage/customerreturn/customerreturnJobMain/index.vue +++ b/src/views/wms/deliversettlementManage/customerreturn/customerreturnJobMain/index.vue @@ -218,8 +218,8 @@ const buttonTableClick = async (val, row) => { "acceptTime": null, "completeUserId": null, "completeTime": null, - "fromLocationTypes": "INSP,HOLD,SCRAP", - "toLocationTypes": "HOLD,INSP,SEMI,RAW", + "fromAreaTypes": "INSP,HOLD,SCRAP", + "toAreaTypes": "HOLD,INSP,SEMI,RAW", "number": "JOB2520231220-0007", "businessType": "CustomerRejectJob", "remark": "", diff --git a/src/views/wms/deliversettlementManage/customerreturn/customerreturnRecordMain/customerreturnRecordMain.data.ts b/src/views/wms/deliversettlementManage/customerreturn/customerreturnRecordMain/customerreturnRecordMain.data.ts index 574780e6f..9ed0a517c 100644 --- a/src/views/wms/deliversettlementManage/customerreturn/customerreturnRecordMain/customerreturnRecordMain.data.ts +++ b/src/views/wms/deliversettlementManage/customerreturn/customerreturnRecordMain/customerreturnRecordMain.data.ts @@ -186,8 +186,8 @@ export const CustomerreturnRecordMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -205,8 +205,8 @@ export const CustomerreturnRecordMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -354,8 +354,8 @@ export const CustomerreturnRecordMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], fromAreaCodes: [ { required: true, message: '请选择从库区代码范围', trigger: 'change' } @@ -363,8 +363,8 @@ export const CustomerreturnRecordMainRules = reactive({ toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], toAreaCodes: [ { required: true, message: '请选择到库区代码范围', trigger: 'change' } diff --git a/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts b/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts index 6c90539c5..df3853b4b 100644 --- a/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts +++ b/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts @@ -283,8 +283,8 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([ isForm: false, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -295,8 +295,8 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([ isForm: false, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, diff --git a/src/views/wms/deliversettlementManage/customersettle/customersettleRecordMain/customersettleRecordMain.data.ts b/src/views/wms/deliversettlementManage/customersettle/customersettleRecordMain/customersettleRecordMain.data.ts index e7c7ef467..65bf1038c 100644 --- a/src/views/wms/deliversettlementManage/customersettle/customersettleRecordMain/customersettleRecordMain.data.ts +++ b/src/views/wms/deliversettlementManage/customersettle/customersettleRecordMain/customersettleRecordMain.data.ts @@ -138,8 +138,8 @@ export const CustomersettleRecordMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -276,8 +276,8 @@ export const CustomersettleRecordMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], fromAreaCodes: [ { required: true, message: '请选择从库区代码范围', trigger: 'change' } diff --git a/src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts b/src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts index 4ff422381..e56974435 100644 --- a/src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts +++ b/src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts @@ -132,8 +132,8 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([ isForm: false, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -384,8 +384,8 @@ export const CustomersettleRequestMainRules = reactive({ // fromWarehouseCode: [ // { required: true, message: '请选择从仓库代码', trigger: 'change' } // ], - // fromLocationTypes: [ - // { required: true, message: '请选择从库位类型范围', trigger: 'change' } + // fromAreaTypes: [ + // { required: true, message: '请选择从库区类型范围', trigger: 'change' } // ], // fromAreaCodes: [ // { required: true, message: '请选择从库区代码范围', trigger: 'change' } diff --git a/src/views/wms/deliversettlementManage/deliver/deliverJobMain/deliverJobMain.data.ts b/src/views/wms/deliversettlementManage/deliver/deliverJobMain/deliverJobMain.data.ts index 751070b25..0e2d55a35 100644 --- a/src/views/wms/deliversettlementManage/deliver/deliverJobMain/deliverJobMain.data.ts +++ b/src/views/wms/deliversettlementManage/deliver/deliverJobMain/deliverJobMain.data.ts @@ -178,8 +178,8 @@ export const DeliverJobMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -189,8 +189,8 @@ export const DeliverJobMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -605,8 +605,8 @@ export const DeliverJobMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请输入从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], fromAreaCodes: [ { required: true, message: '请选择从库区代码范围', trigger: 'change' } @@ -614,8 +614,8 @@ export const DeliverJobMainRules = reactive({ toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], requestTime: [ { required: true, message: '请输入申请时间', trigger: 'change' } diff --git a/src/views/wms/deliversettlementManage/deliver/deliverJobMain/index.vue b/src/views/wms/deliversettlementManage/deliver/deliverJobMain/index.vue index a385125b3..b013abb1d 100644 --- a/src/views/wms/deliversettlementManage/deliver/deliverJobMain/index.vue +++ b/src/views/wms/deliversettlementManage/deliver/deliverJobMain/index.vue @@ -217,8 +217,8 @@ const buttonTableClick = async (val, row) => { "acceptTime": 1703207934000, "completeUserId": null, "completeTime": null, - "fromLocationTypes": "FG", - "toLocationTypes": "CUST", + "fromAreaTypes": "FG", + "toAreaTypes": "CUST", "number": "JOB2420231222-0006", "businessType": "DeliverJob", "remark": "", diff --git a/src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts b/src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts index ed80943d0..52f3b9f6b 100644 --- a/src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts +++ b/src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts @@ -186,8 +186,8 @@ export const DeliverRecordMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -197,8 +197,8 @@ export const DeliverRecordMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -354,8 +354,8 @@ export const DeliverRecordMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], fromAreaCodes: [ { required: true, message: '请选择从库区代码范围', trigger: 'change' } @@ -363,8 +363,8 @@ export const DeliverRecordMainRules = reactive({ toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], outTransaction: [ { required: true, message: '请输入出库事务类型', trigger: 'blur' } diff --git a/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts b/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts index f0233ac24..c14b575d6 100644 --- a/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts +++ b/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts @@ -270,8 +270,8 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ isForm: false, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -282,8 +282,8 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ isForm: false, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, diff --git a/src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts b/src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts index 80683014d..aa885a2d7 100644 --- a/src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts +++ b/src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts @@ -113,8 +113,8 @@ export const ScrapJobMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -124,8 +124,8 @@ export const ScrapJobMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -510,8 +510,8 @@ export const ScrapJobMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], fromAreaCodes: [ { required: true, message: '请选择从库区代码范围', trigger: 'change' } diff --git a/src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts b/src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts index 158fb9d00..e7e9322b2 100644 --- a/src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts +++ b/src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts @@ -122,8 +122,8 @@ export const ScrapRecordMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -253,8 +253,8 @@ export const ScrapRecordMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], fromAreaCodes: [ { required: true, message: '请选择从库区代码范围', trigger: 'change' } diff --git a/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts b/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts index 339591b3a..a48c9afd5 100644 --- a/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts +++ b/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts @@ -143,8 +143,8 @@ export const ScrapRequestMain = useCrudSchemas(reactive([ } }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, diff --git a/src/views/wms/inventoryjobManage/transferissue/transferissueJobMain/transferissueJobMain.data.ts b/src/views/wms/inventoryjobManage/transferissue/transferissueJobMain/transferissueJobMain.data.ts index fda01bbc9..f9732cda2 100644 --- a/src/views/wms/inventoryjobManage/transferissue/transferissueJobMain/transferissueJobMain.data.ts +++ b/src/views/wms/inventoryjobManage/transferissue/transferissueJobMain/transferissueJobMain.data.ts @@ -183,8 +183,8 @@ export const TransferissueJobMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -195,8 +195,8 @@ export const TransferissueJobMain = useCrudSchemas(reactive([ isSearch: true, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -567,8 +567,8 @@ export const TransferissueJobMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], fromAreaCodes: [ { required: true, message: '请选择从库区代码范围', trigger: 'change' } @@ -576,8 +576,8 @@ export const TransferissueJobMainRules = reactive({ toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], toAreaCodes: [ { required: true, message: '请选择到库区代码范围', trigger: 'change' } diff --git a/src/views/wms/inventoryjobManage/transferissue/transferissueRecordMain/transferissueRecordMain.data.ts b/src/views/wms/inventoryjobManage/transferissue/transferissueRecordMain/transferissueRecordMain.data.ts index 578d5d25e..5afa093c3 100644 --- a/src/views/wms/inventoryjobManage/transferissue/transferissueRecordMain/transferissueRecordMain.data.ts +++ b/src/views/wms/inventoryjobManage/transferissue/transferissueRecordMain/transferissueRecordMain.data.ts @@ -154,8 +154,8 @@ export const TransferissueRecordMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -165,8 +165,8 @@ export const TransferissueRecordMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -316,8 +316,8 @@ export const TransferissueRecordMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], fromAreaCodes: [ { required: true, message: '请选择从库区代码范围', trigger: 'change' } @@ -325,8 +325,8 @@ export const TransferissueRecordMainRules = reactive({ toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], toAreaCodes: [ { required: true, message: '请选择到库区代码范围', trigger: 'change' } diff --git a/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts b/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts index ab656bd87..4a7dc626e 100644 --- a/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts +++ b/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts @@ -226,8 +226,8 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([ } }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -239,8 +239,8 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([ isForm: false, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, diff --git a/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptJobMain/transferreceiptJobMain.data.ts b/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptJobMain/transferreceiptJobMain.data.ts index 68d5282bb..de51eb88b 100644 --- a/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptJobMain/transferreceiptJobMain.data.ts +++ b/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptJobMain/transferreceiptJobMain.data.ts @@ -138,8 +138,8 @@ export const TransferreceiptJobMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -149,8 +149,8 @@ export const TransferreceiptJobMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -559,8 +559,8 @@ export const TransferreceiptJobMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], fromAreaCodes: [ { required: true, message: '请选择从库区代码范围', trigger: 'change' } @@ -568,8 +568,8 @@ export const TransferreceiptJobMainRules = reactive({ toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], toAreaCodes: [ { required: true, message: '请选择到库区代码范围', trigger: 'change' } diff --git a/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRecordMain/transferreceiptRecordMain.data.ts b/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRecordMain/transferreceiptRecordMain.data.ts index 051f19e7a..5b04795ba 100644 --- a/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRecordMain/transferreceiptRecordMain.data.ts +++ b/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRecordMain/transferreceiptRecordMain.data.ts @@ -162,8 +162,8 @@ export const TransferreceiptRecordMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -173,8 +173,8 @@ export const TransferreceiptRecordMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -324,8 +324,8 @@ export const TransferreceiptRecordMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], fromAreaCodes: [ { required: true, message: '请选择从库区代码范围', trigger: 'change' } @@ -333,8 +333,8 @@ export const TransferreceiptRecordMainRules = reactive({ toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], toAreaCodes: [ { required: true, message: '请选择到库区代码范围', trigger: 'change' } diff --git a/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts b/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts index 607aa3fb6..b73e61948 100644 --- a/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts +++ b/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts @@ -136,8 +136,8 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -147,8 +147,8 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -385,8 +385,8 @@ export const TransferreceiptRequestMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], fromAreaCode: [ { required: true, message: '请选择从库区代码范围', trigger: 'change' } @@ -394,8 +394,8 @@ export const TransferreceiptRequestMainRules = reactive({ toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], toAreaCodes: [ { required: true, message: '请选择到库区代码范围', trigger: 'change' } diff --git a/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueJobMain/unplannedissueJobMain.data.ts b/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueJobMain/unplannedissueJobMain.data.ts index dbe124612..451d7ae69 100644 --- a/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueJobMain/unplannedissueJobMain.data.ts +++ b/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueJobMain/unplannedissueJobMain.data.ts @@ -121,8 +121,8 @@ export const UnplannedissueJobMain = useCrudSchemas(reactive([ // }, // }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isSearch: true, @@ -133,8 +133,8 @@ export const UnplannedissueJobMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -511,8 +511,8 @@ export const UnplannedissueJobMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], fromAreaCodes: [ { required: true, message: '请选择从库区代码范围', trigger: 'change' } diff --git a/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRecordMain/unplannedissueRecordMain.data.ts b/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRecordMain/unplannedissueRecordMain.data.ts index 37ef06d92..2056f1b16 100644 --- a/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRecordMain/unplannedissueRecordMain.data.ts +++ b/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRecordMain/unplannedissueRecordMain.data.ts @@ -122,8 +122,8 @@ export const UnplannedissueRecordMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -265,8 +265,8 @@ export const UnplannedissueRecordMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], fromAreaCodes: [ { required: true, message: '请选择从库区代码范围', trigger: 'change' } diff --git a/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts b/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts index b1509aaab..9ee200687 100644 --- a/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts +++ b/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts @@ -110,8 +110,8 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([ isForm: false, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, diff --git a/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptJobMain/unplannedreceiptJobMain.data.ts b/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptJobMain/unplannedreceiptJobMain.data.ts index 17e70ea8c..d5345e82c 100644 --- a/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptJobMain/unplannedreceiptJobMain.data.ts +++ b/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptJobMain/unplannedreceiptJobMain.data.ts @@ -121,8 +121,8 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive([ // }, // }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isSearch: true, @@ -133,8 +133,8 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -511,8 +511,8 @@ export const UnplannedreceiptJobMainRules = reactive({ toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], toAreaCodes: [ { required: true, message: '请选择到库区代码范围', trigger: 'change' } diff --git a/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRecordMain/unplannedreceiptRecordMain.data.ts b/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRecordMain/unplannedreceiptRecordMain.data.ts index 5835c425a..6668e06e3 100644 --- a/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRecordMain/unplannedreceiptRecordMain.data.ts +++ b/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRecordMain/unplannedreceiptRecordMain.data.ts @@ -122,8 +122,8 @@ export const UnplannedreceiptRecordMain = useCrudSchemas(reactive( }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -257,8 +257,8 @@ export const UnplannedreceiptRecordMainRules = reactive({ toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], toAreaCodes: [ { required: true, message: '请选择到库区代码范围', trigger: 'change' } diff --git a/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts b/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts index ae6a18bc3..705dddd19 100644 --- a/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts +++ b/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts @@ -150,8 +150,8 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive } }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isSearch: true, diff --git a/src/views/wms/issueManage/issue/issueJobMain/index.vue b/src/views/wms/issueManage/issue/issueJobMain/index.vue index 52c538f31..3d61a23a2 100644 --- a/src/views/wms/issueManage/issue/issueJobMain/index.vue +++ b/src/views/wms/issueManage/issue/issueJobMain/index.vue @@ -194,8 +194,8 @@ const buttonTableClick = async (val, row) => { acceptTime: 1700562156000, completeUserName: null, completeTime: null, - fromLocationTypes: "RAW,SEMI", - toLocationTypes: "WIP", + fromAreaTypes: "RAW,SEMI", + toAreaTypes: "WIP", number: "JOB0620231121-0001", businessType: "Issue", remark: null, diff --git a/src/views/wms/issueManage/issue/issueJobMain/issueJobMain.data.ts b/src/views/wms/issueManage/issue/issueJobMain/issueJobMain.data.ts index 0c1912d8f..a717a5a46 100644 --- a/src/views/wms/issueManage/issue/issueJobMain/issueJobMain.data.ts +++ b/src/views/wms/issueManage/issue/issueJobMain/issueJobMain.data.ts @@ -234,8 +234,8 @@ export const IssueJobMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isSearch: true, @@ -246,8 +246,8 @@ export const IssueJobMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -546,14 +546,14 @@ export const IssueJobMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], requestTime: [ { required: true, message: '请输入申请时间', trigger: 'change' } diff --git a/src/views/wms/issueManage/issue/issueRecordMain/issueRecordMain.data.ts b/src/views/wms/issueManage/issue/issueRecordMain/issueRecordMain.data.ts index ac4e3198b..2c3747890 100644 --- a/src/views/wms/issueManage/issue/issueRecordMain/issueRecordMain.data.ts +++ b/src/views/wms/issueManage/issue/issueRecordMain/issueRecordMain.data.ts @@ -217,8 +217,8 @@ export const IssueRecordMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -244,8 +244,8 @@ export const IssueRecordMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -311,13 +311,13 @@ export const IssueRecordMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ + toAreaTypes: [ { required: true, message: '请选择库位类型范围', trigger: 'change' } ], outTransaction: [ diff --git a/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts b/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts index 798ea0e11..cca25af26 100644 --- a/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts +++ b/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts @@ -140,8 +140,8 @@ export const IssueRequestMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isSearch: true, @@ -153,8 +153,8 @@ export const IssueRequestMain = useCrudSchemas(reactive([ isForm: false }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, diff --git a/src/views/wms/issueManage/pick/pickJobMain/pickJobMain.data.ts b/src/views/wms/issueManage/pick/pickJobMain/pickJobMain.data.ts index b993d41ac..e95e63b59 100644 --- a/src/views/wms/issueManage/pick/pickJobMain/pickJobMain.data.ts +++ b/src/views/wms/issueManage/pick/pickJobMain/pickJobMain.data.ts @@ -227,8 +227,8 @@ export const PickJobMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isSearch: true, @@ -239,8 +239,8 @@ export const PickJobMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -527,14 +527,14 @@ export const PickJobMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], requestTime: [ { required: true, message: '请输入申请时间', trigger: 'change' } diff --git a/src/views/wms/issueManage/pick/pickRecordMain/pickRecordMain.data.ts b/src/views/wms/issueManage/pick/pickRecordMain/pickRecordMain.data.ts index 0b9568b57..542b3a255 100644 --- a/src/views/wms/issueManage/pick/pickRecordMain/pickRecordMain.data.ts +++ b/src/views/wms/issueManage/pick/pickRecordMain/pickRecordMain.data.ts @@ -217,8 +217,8 @@ export const PickRecordMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -236,8 +236,8 @@ export const PickRecordMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -284,14 +284,14 @@ export const PickRecordMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], outTransaction: [ { required: true, message: '请输入出库事务类型', trigger: 'blur' } diff --git a/src/views/wms/issueManage/pick/pickRequestMain/pickRequestMain.data.ts b/src/views/wms/issueManage/pick/pickRequestMain/pickRequestMain.data.ts index 3d0b1efc4..aaa991059 100644 --- a/src/views/wms/issueManage/pick/pickRequestMain/pickRequestMain.data.ts +++ b/src/views/wms/issueManage/pick/pickRequestMain/pickRequestMain.data.ts @@ -46,8 +46,8 @@ export const PickRequestMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -74,8 +74,8 @@ export const PickRequestMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -354,14 +354,14 @@ export const PickRequestMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请输入从仓库代码', trigger: 'blur' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], toWarehouseCode: [ { required: true, message: '请输入到仓库代码', trigger: 'blur' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } diff --git a/src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/index.vue b/src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/index.vue index 53dfc428a..ff0b642a2 100644 --- a/src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/index.vue +++ b/src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/index.vue @@ -179,8 +179,8 @@ const buttonTableClick = async (val, row) => { "acceptTime": 1700737729000, "completeUserId": null, "completeTime": null, - "fromLocationTypes": "RAW,SEMI", - "toLocationTypes": "WIP", + "fromAreaTypes": "RAW,SEMI", + "toAreaTypes": "WIP", "number": "JOB2920231123-0001", "businessType": "ProductionReceipt", "remark": null, diff --git a/src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/productionreceiptJobMain.data.ts b/src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/productionreceiptJobMain.data.ts index 653947e97..0efd84e62 100644 --- a/src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/productionreceiptJobMain.data.ts +++ b/src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/productionreceiptJobMain.data.ts @@ -239,8 +239,8 @@ export const ProductionreceiptJobMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -250,8 +250,8 @@ export const ProductionreceiptJobMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -550,14 +550,14 @@ export const ProductionreceiptJobMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], }) diff --git a/src/views/wms/issueManage/productionreceipt/productionreceiptRecordMain/productionreceiptRecordMain.data.ts b/src/views/wms/issueManage/productionreceipt/productionreceiptRecordMain/productionreceiptRecordMain.data.ts index e73a6f6fb..3c8892336 100644 --- a/src/views/wms/issueManage/productionreceipt/productionreceiptRecordMain/productionreceiptRecordMain.data.ts +++ b/src/views/wms/issueManage/productionreceipt/productionreceiptRecordMain/productionreceiptRecordMain.data.ts @@ -209,8 +209,8 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -236,8 +236,8 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -303,14 +303,14 @@ export const ProductionreceiptRecordMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], outTransaction: [ { required: true, message: '请输入出库事务类型', trigger: 'blur' } diff --git a/src/views/wms/issueManage/productionreturn/productionreturnJobMain/index.vue b/src/views/wms/issueManage/productionreturn/productionreturnJobMain/index.vue index 60d845ae7..9557fe216 100644 --- a/src/views/wms/issueManage/productionreturn/productionreturnJobMain/index.vue +++ b/src/views/wms/issueManage/productionreturn/productionreturnJobMain/index.vue @@ -187,8 +187,8 @@ const buttonTableClick = async (val, row) => { "acceptTime": 1701856251000, "completeUserId": null, "completeTime": null, - "fromLocationTypes": "WIP", - "toLocationTypes": "HOLD", + "fromAreaTypes": "WIP", + "toAreaTypes": "HOLD", "number": "JOB2820231206-0013", "businessType": "ReturnToHold", "remark": "", diff --git a/src/views/wms/issueManage/productionreturn/productionreturnJobMain/productionreturnJobMain.data.ts b/src/views/wms/issueManage/productionreturn/productionreturnJobMain/productionreturnJobMain.data.ts index 2967b04ac..d3a6f0b7b 100644 --- a/src/views/wms/issueManage/productionreturn/productionreturnJobMain/productionreturnJobMain.data.ts +++ b/src/views/wms/issueManage/productionreturn/productionreturnJobMain/productionreturnJobMain.data.ts @@ -243,8 +243,8 @@ export const ProductionreturnJobMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -254,8 +254,8 @@ export const ProductionreturnJobMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -534,14 +534,14 @@ export const ProductionreturnJobMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], requestTime: [ { required: true, message: '请输入申请时间', trigger: 'change' } diff --git a/src/views/wms/issueManage/productionreturn/productionreturnRecordMain/productionreturnRecordMain.data.ts b/src/views/wms/issueManage/productionreturn/productionreturnRecordMain/productionreturnRecordMain.data.ts index 91eb4f3bc..51d5e4d0e 100644 --- a/src/views/wms/issueManage/productionreturn/productionreturnRecordMain/productionreturnRecordMain.data.ts +++ b/src/views/wms/issueManage/productionreturn/productionreturnRecordMain/productionreturnRecordMain.data.ts @@ -217,8 +217,8 @@ export const ProductionreturnRecordMain = useCrudSchemas(reactive( }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -244,8 +244,8 @@ export const ProductionreturnRecordMain = useCrudSchemas(reactive( }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -292,14 +292,14 @@ export const ProductionreturnRecordMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], outTransaction: [ { required: true, message: '请输入出库事务类型', trigger: 'blur' } diff --git a/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts b/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts index 3ce0b65a1..136c8c633 100644 --- a/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts +++ b/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts @@ -144,8 +144,8 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -156,8 +156,8 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive isForm: false, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isSearch: true, diff --git a/src/views/wms/issueManage/repleinsh/repleinshJobMain/index.vue b/src/views/wms/issueManage/repleinsh/repleinshJobMain/index.vue index f36efa431..1c7fefc2f 100644 --- a/src/views/wms/issueManage/repleinsh/repleinshJobMain/index.vue +++ b/src/views/wms/issueManage/repleinsh/repleinshJobMain/index.vue @@ -192,8 +192,8 @@ const buttonTableClick = async (val, row) => { "acceptTime": 1701159181000, "completeUserId": null, "completeTime": null, - "fromLocationTypes": "RAW,SEMI", - "toLocationTypes": "WIP", + "fromAreaTypes": "RAW,SEMI", + "toAreaTypes": "WIP", "number": "JOB0720231128-0001", "businessType": "Repleinment", "remark": null, diff --git a/src/views/wms/issueManage/repleinsh/repleinshJobMain/repleinshJobMain.data.ts b/src/views/wms/issueManage/repleinsh/repleinshJobMain/repleinshJobMain.data.ts index 54311d734..75b6b2db0 100644 --- a/src/views/wms/issueManage/repleinsh/repleinshJobMain/repleinshJobMain.data.ts +++ b/src/views/wms/issueManage/repleinsh/repleinshJobMain/repleinshJobMain.data.ts @@ -227,8 +227,8 @@ export const RepleinshJobMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isSearch: true, @@ -239,8 +239,8 @@ export const RepleinshJobMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -527,14 +527,14 @@ export const RepleinshJobMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], requestTime: [ { required: true, message: '请输入申请时间', trigger: 'change' } diff --git a/src/views/wms/issueManage/repleinsh/repleinshRecordMain/repleinshRecordMain.data.ts b/src/views/wms/issueManage/repleinsh/repleinshRecordMain/repleinshRecordMain.data.ts index 2b25edc06..8f7c9dcfe 100644 --- a/src/views/wms/issueManage/repleinsh/repleinshRecordMain/repleinshRecordMain.data.ts +++ b/src/views/wms/issueManage/repleinsh/repleinshRecordMain/repleinshRecordMain.data.ts @@ -217,8 +217,8 @@ export const RepleinshRecordMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -236,8 +236,8 @@ export const RepleinshRecordMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -284,14 +284,14 @@ export const RepleinshRecordMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], outTransaction: [ { required: true, message: '请输入出库事务类型', trigger: 'blur' } diff --git a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts index 5b68ade91..e6e34b506 100644 --- a/src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts +++ b/src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts @@ -71,8 +71,8 @@ export const RepleinshRequestMain = useCrudSchemas(reactive([ } }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -106,8 +106,8 @@ export const RepleinshRequestMain = useCrudSchemas(reactive([ } }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -392,14 +392,14 @@ export const RepleinshRequestMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请输入从仓库代码', trigger: 'blur' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], toWarehouseCode: [ { required: true, message: '请输入到仓库代码', trigger: 'blur' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveJobMain/inventorymoveJobMain.data.ts b/src/views/wms/moveManage/inventorymove/inventorymoveJobMain/inventorymoveJobMain.data.ts index 0d5f5b842..58ae0273a 100644 --- a/src/views/wms/moveManage/inventorymove/inventorymoveJobMain/inventorymoveJobMain.data.ts +++ b/src/views/wms/moveManage/inventorymove/inventorymoveJobMain/inventorymoveJobMain.data.ts @@ -147,8 +147,8 @@ export const InventorymoveJobMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isSearch: true, @@ -159,8 +159,8 @@ export const InventorymoveJobMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isSearch: true, @@ -546,14 +546,14 @@ export const InventorymoveJobMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], requestTime: [ { required: true, message: '请输入申请时间', trigger: 'change' } diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/inventorymoveRecordMain.data.ts b/src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/inventorymoveRecordMain.data.ts index acc6f3bbe..b960e0722 100644 --- a/src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/inventorymoveRecordMain.data.ts +++ b/src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/inventorymoveRecordMain.data.ts @@ -149,8 +149,8 @@ export const InventorymoveRecordMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -160,8 +160,8 @@ export const InventorymoveRecordMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -303,8 +303,8 @@ export const InventorymoveRecordMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], fromAreaCodes: [ { required: true, message: '请选择从库区代码范围', trigger: 'change' } @@ -312,8 +312,8 @@ export const InventorymoveRecordMainRules = reactive({ toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], outTransaction: [ { required: true, message: '请输入出库事务类型', trigger: 'blur' } diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/inventorymoveRequestMain.data.ts b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/inventorymoveRequestMain.data.ts index 606f2311e..2b3cbd2e9 100644 --- a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/inventorymoveRequestMain.data.ts +++ b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/inventorymoveRequestMain.data.ts @@ -145,8 +145,8 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', // dictType: DICT_TYPE.LOCATION_TYPE, // dictClass: 'string', isTable: true, @@ -175,8 +175,8 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive([ isForm: false, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', // dictType: DICT_TYPE.LOCATION_TYPE, // dictClass: 'string', isTable: true, diff --git a/src/views/wms/productionManage/productdismantle/productdismantleJobMain/productdismantleJobMain.data.ts b/src/views/wms/productionManage/productdismantle/productdismantleJobMain/productdismantleJobMain.data.ts index 947f82120..e5f90da52 100644 --- a/src/views/wms/productionManage/productdismantle/productdismantleJobMain/productdismantleJobMain.data.ts +++ b/src/views/wms/productionManage/productdismantle/productdismantleJobMain/productdismantleJobMain.data.ts @@ -251,8 +251,8 @@ export const ProductdismantleJobMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -262,8 +262,8 @@ export const ProductdismantleJobMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -534,8 +534,8 @@ export const ProductdismantleJobMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], fromAreaCodes: [ { required: true, message: '请选择从库区代码范围', trigger: 'change' } diff --git a/src/views/wms/productionManage/productdismantle/productdismantleRecordMain/productdismantleRecordMain.data.ts b/src/views/wms/productionManage/productdismantle/productdismantleRecordMain/productdismantleRecordMain.data.ts index edde86cb6..f89e58be6 100644 --- a/src/views/wms/productionManage/productdismantle/productdismantleRecordMain/productdismantleRecordMain.data.ts +++ b/src/views/wms/productionManage/productdismantle/productdismantleRecordMain/productdismantleRecordMain.data.ts @@ -225,8 +225,8 @@ export const ProductdismantleRecordMain = useCrudSchemas(reactive( }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -273,8 +273,8 @@ export const ProductdismantleRecordMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], fromAreaCodes: [ { required: true, message: '请选择从库区代码范围', trigger: 'change' } diff --git a/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts b/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts index 43eec67b2..a66327cb4 100644 --- a/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts +++ b/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts @@ -144,8 +144,8 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive isForm: false }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, diff --git a/src/views/wms/productionManage/productputaway/productputawayJobMain/index.vue b/src/views/wms/productionManage/productputaway/productputawayJobMain/index.vue index 5cfc67d11..c519832a2 100644 --- a/src/views/wms/productionManage/productputaway/productputawayJobMain/index.vue +++ b/src/views/wms/productionManage/productputaway/productputawayJobMain/index.vue @@ -169,8 +169,8 @@ const buttonTableClick = async (val, row) => { "toWarehouseCode": null, "fromAreaCodes": "", "toAreaCodes": "", - "fromLocationTypes": "WIP,RAW", - "toLocationTypes": "SEMI,FG", + "fromAreaTypes": "WIP,RAW", + "toAreaTypes": "SEMI,FG", "completetime": 1702545291000, "requestTime": 1702524283000, "requestDueTime": 1689562428000, diff --git a/src/views/wms/productionManage/productputaway/productputawayJobMain/productputawayJobMain.data.ts b/src/views/wms/productionManage/productputaway/productputawayJobMain/productputawayJobMain.data.ts index e5b3c7d85..d18610695 100644 --- a/src/views/wms/productionManage/productputaway/productputawayJobMain/productputawayJobMain.data.ts +++ b/src/views/wms/productionManage/productputaway/productputawayJobMain/productputawayJobMain.data.ts @@ -235,8 +235,8 @@ export const ProductputawayJobMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -246,8 +246,8 @@ export const ProductputawayJobMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isSearch: true, @@ -535,14 +535,14 @@ export const ProductputawayJobMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], requestTime: [ { required: true, message: '请输入申请时间', trigger: 'change' } diff --git a/src/views/wms/productionManage/productputaway/productputawayRecordMain/productputawayRecordMain.data.ts b/src/views/wms/productionManage/productputaway/productputawayRecordMain/productputawayRecordMain.data.ts index df1d4faf1..c214b6708 100644 --- a/src/views/wms/productionManage/productputaway/productputawayRecordMain/productputawayRecordMain.data.ts +++ b/src/views/wms/productionManage/productputaway/productputawayRecordMain/productputawayRecordMain.data.ts @@ -225,8 +225,8 @@ export const ProductputawayRecordMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -244,8 +244,8 @@ export const ProductputawayRecordMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -292,14 +292,14 @@ export const ProductputawayRecordMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], outTransaction: [ { required: true, message: '请输入出库事务类型', trigger: 'blur' } diff --git a/src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts b/src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts index 8c815f51a..fbf1089de 100644 --- a/src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts +++ b/src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts @@ -61,8 +61,8 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ isForm: false, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -258,8 +258,8 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ isForm: false, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isSearch: true, diff --git a/src/views/wms/productionManage/productreceipt/productreceiptJobMain/index.vue b/src/views/wms/productionManage/productreceipt/productreceiptJobMain/index.vue index 4a5a9dea8..f939f8ee8 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptJobMain/index.vue +++ b/src/views/wms/productionManage/productreceipt/productreceiptJobMain/index.vue @@ -193,8 +193,8 @@ const buttonTableClick = async (val, row) => { "completeTime": 1702377036000, "toWarehouseCode": null, "toAreaCodes": "", - "fromLocationTypes": "WIP", - "toLocationTypes": "WIP", + "fromAreaTypes": "WIP", + "toAreaTypes": "WIP", "number": "JOB2120231212-0001", "businessType": "ProductReceipt", "remark": null, diff --git a/src/views/wms/productionManage/productreceipt/productreceiptJobMain/productreceiptJobMain.data.ts b/src/views/wms/productionManage/productreceipt/productreceiptJobMain/productreceiptJobMain.data.ts index 98cef4df0..567ccfb51 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptJobMain/productreceiptJobMain.data.ts +++ b/src/views/wms/productionManage/productreceipt/productreceiptJobMain/productreceiptJobMain.data.ts @@ -259,8 +259,8 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -270,8 +270,8 @@ export const ProductreceiptJobMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -542,8 +542,8 @@ export const ProductreceiptJobMainRules = reactive({ toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], toAreaCodes: [ { required: true, message: '请选择到库区代码范围', trigger: 'change' } diff --git a/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts b/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts index 0fbad8065..e43a132f4 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts +++ b/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts @@ -241,8 +241,8 @@ export const ProductreceiptRecordMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -289,8 +289,8 @@ export const ProductreceiptRecordMainRules = reactive({ toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], toAreaCodes: [ { required: true, message: '请选择到库区代码范围', trigger: 'change' } diff --git a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts index 4aece033c..c31cb9e42 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts +++ b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts @@ -154,8 +154,8 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ isForm: false, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, diff --git a/src/views/wms/productionManage/productrepair/productrepairRecordMain/productrepairRecordMain.data.ts b/src/views/wms/productionManage/productrepair/productrepairRecordMain/productrepairRecordMain.data.ts index c0a55f07d..90d463846 100644 --- a/src/views/wms/productionManage/productrepair/productrepairRecordMain/productrepairRecordMain.data.ts +++ b/src/views/wms/productionManage/productrepair/productrepairRecordMain/productrepairRecordMain.data.ts @@ -226,8 +226,8 @@ export const ProductrepairRecordMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -274,8 +274,8 @@ export const ProductrepairRecordMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], fromAreaCodes: [ { required: true, message: '请选择从库区代码范围', trigger: 'change' } diff --git a/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts b/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts index 8779257d1..43acfe255 100644 --- a/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts +++ b/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts @@ -144,8 +144,8 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive([ isForm: false, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, diff --git a/src/views/wms/productionManage/productscrap/productscrapJobMain/productscrapJobMain.data.ts b/src/views/wms/productionManage/productscrap/productscrapJobMain/productscrapJobMain.data.ts index 282fbeb6b..5e8580e09 100644 --- a/src/views/wms/productionManage/productscrap/productscrapJobMain/productscrapJobMain.data.ts +++ b/src/views/wms/productionManage/productscrap/productscrapJobMain/productscrapJobMain.data.ts @@ -227,8 +227,8 @@ export const ProductscrapJobMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -238,8 +238,8 @@ export const ProductscrapJobMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -510,8 +510,8 @@ export const ProductscrapJobMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], fromAreaCodes: [ { required: true, message: '请选择从库区代码范围', trigger: 'change' } diff --git a/src/views/wms/productionManage/productscrap/productscrapRecordMain/productscrapRecordMain.data.ts b/src/views/wms/productionManage/productscrap/productscrapRecordMain/productscrapRecordMain.data.ts index a9215df24..dd898c40f 100644 --- a/src/views/wms/productionManage/productscrap/productscrapRecordMain/productscrapRecordMain.data.ts +++ b/src/views/wms/productionManage/productscrap/productscrapRecordMain/productscrapRecordMain.data.ts @@ -255,8 +255,8 @@ export const ProductscrapRecordMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -303,8 +303,8 @@ export const ProductscrapRecordMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], fromAreaCodes: [ { required: true, message: '请选择从库区代码范围', trigger: 'change' } diff --git a/src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts b/src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts index 50cad5b10..aaa5e90b8 100644 --- a/src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts +++ b/src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts @@ -146,8 +146,8 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive([ isTable: false }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, diff --git a/src/views/wms/purchasereceiptManage/inspect/inspectJobMain/inspectJobMain.data.ts b/src/views/wms/purchasereceiptManage/inspect/inspectJobMain/inspectJobMain.data.ts index e9473ede4..b0449ffc6 100644 --- a/src/views/wms/purchasereceiptManage/inspect/inspectJobMain/inspectJobMain.data.ts +++ b/src/views/wms/purchasereceiptManage/inspect/inspectJobMain/inspectJobMain.data.ts @@ -215,8 +215,8 @@ export const InspectJobMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -226,8 +226,8 @@ export const InspectJobMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, diff --git a/src/views/wms/purchasereceiptManage/inspect/inspectRecordMain/inspectRecordMain.data.ts b/src/views/wms/purchasereceiptManage/inspect/inspectRecordMain/inspectRecordMain.data.ts index da7294a36..503c00bde 100644 --- a/src/views/wms/purchasereceiptManage/inspect/inspectRecordMain/inspectRecordMain.data.ts +++ b/src/views/wms/purchasereceiptManage/inspect/inspectRecordMain/inspectRecordMain.data.ts @@ -367,8 +367,8 @@ export const InspectRecordMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', isTable: true, dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', @@ -429,8 +429,8 @@ export const InspectRecordMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], poNumber: [ { required: true, message: '请选择订单号', trigger: 'change' } diff --git a/src/views/wms/purchasereceiptManage/inspect/inspectRequestMain/inspectRequestMain.data.ts b/src/views/wms/purchasereceiptManage/inspect/inspectRequestMain/inspectRequestMain.data.ts index 8dd05f90f..1075e5de4 100644 --- a/src/views/wms/purchasereceiptManage/inspect/inspectRequestMain/inspectRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/inspect/inspectRequestMain/inspectRequestMain.data.ts @@ -182,8 +182,8 @@ export const InspectRequestMain = useCrudSchemas(reactive([ isForm: false, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -194,8 +194,8 @@ export const InspectRequestMain = useCrudSchemas(reactive([ isForm: false, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -476,8 +476,8 @@ export const InspectRequestMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请输入从仓库代码', trigger: 'blur' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], poNumber: [ { required: true, message: '请输入订单号', trigger: 'blur' } diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/purchasereceiptJobMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/purchasereceiptJobMain.data.ts index 8309ee828..dff08fb6c 100644 --- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/purchasereceiptJobMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/purchasereceiptJobMain.data.ts @@ -284,8 +284,8 @@ export const PurchasereceiptJobMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -295,8 +295,8 @@ export const PurchasereceiptJobMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -578,8 +578,8 @@ export const PurchasereceiptJobMainRules = reactive({ toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], requestTime: [ { required: true, message: '请输入申请时间', trigger: 'change' } diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/purchasereceiptRecordMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/purchasereceiptRecordMain.data.ts index d73aa5e0a..90c8c9b75 100644 --- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/purchasereceiptRecordMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/purchasereceiptRecordMain.data.ts @@ -108,8 +108,8 @@ export const PurchasereceiptRecordMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -119,8 +119,8 @@ export const PurchasereceiptRecordMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -346,7 +346,7 @@ export const PurchasereceiptRecordMainRules = reactive({ toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ + toAreaTypes: [ { required: true, message: '请选择到库位类型服务', trigger: 'change' } ], outTransaction: [ diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts index 9b71b9ff1..36857bb98 100644 --- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts @@ -127,8 +127,8 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( isForm: false, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -139,8 +139,8 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( isForm: false, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -416,8 +416,8 @@ export const PurchasereceiptRequestMainRules = reactive({ toWarehouseCode: [ { required: true, message: '请输入到仓库代码', trigger: 'blur' } ], - toLocationTypes: [ - { required: true, message: '请输入到库位类型范围', trigger: 'blur' } + toAreaTypes: [ + { required: true, message: '请输入到库区类型范围', trigger: 'blur' } ], departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnJobMain/purchasereturnJobMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnJobMain/purchasereturnJobMain.data.ts index 320f9c738..8ef069828 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnJobMain/purchasereturnJobMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnJobMain/purchasereturnJobMain.data.ts @@ -105,8 +105,8 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isSearch: false, @@ -117,8 +117,8 @@ export const PurchasereturnJobMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -574,8 +574,8 @@ export const PurchasereturnJobMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], requestTime: [ { required: true, message: '请输入申请时间', trigger: 'change' } diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/purchasereturnRecordMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/purchasereturnRecordMain.data.ts index f264a560f..283ce0138 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/purchasereturnRecordMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRecordMain/purchasereturnRecordMain.data.ts @@ -130,8 +130,8 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -141,8 +141,8 @@ export const PurchasereturnRecordMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -343,8 +343,8 @@ export const PurchasereturnRecordMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], outTransaction: [ { required: true, message: '请输入出库事务类型', trigger: 'blur' } diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue index 098be8463..0308e6729 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue @@ -153,7 +153,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => row['fromLocationGroupCode'] = val[0]['locationGroupCode'] row['toLocationGroupCode'] = null row['toWarehouseCode'] = null - row['toLocationTypes'] = null + row['toAreaTypes'] = null row['fromAreaCode'] = val[0]['areaCode'] row['toAreaCode'] = val[0]['toAreaCode'] row['fromQwnerCode'] = val[0]['fromQwnerCode'] @@ -200,7 +200,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => item.containerNumber = item.toContainerNumber item.toLocationGroupCode = null item.toWarehouseCode = null - item.toLocationTypes = null + item.toAreaTypes = null item.toLocationCode = null // item.fromLocationCode = item.fromLocationCode // item.fromLocationGroupCode = item.fromLocationGroupCode @@ -266,7 +266,7 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef) => { setV['fromLocationGroupCode'] = val[0]['locationGroupCode'] setV['toLocationGroupCode'] = null setV['toWarehouseCode'] = null - setV['toLocationTypes'] = null + setV['toAreaTypes'] = null setV['fromAreaCode'] = val[0]['areaCode'] setV['toAreaCode'] = val[0]['toAreaCode'] setV['fromQwnerCode'] = val[0]['fromQwnerCode'] diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts index 194494102..32befcda0 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts @@ -154,8 +154,8 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ isForm: false, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -166,8 +166,8 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ isForm: false, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -454,8 +454,8 @@ export const PurchasereturnRequestMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请输入从仓库代码', trigger: 'blur' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } diff --git a/src/views/wms/purchasereceiptManage/putaway/putawayJobMain/putawayJobMain.data.ts b/src/views/wms/purchasereceiptManage/putaway/putawayJobMain/putawayJobMain.data.ts index 991a7525f..5b573fa20 100644 --- a/src/views/wms/purchasereceiptManage/putaway/putawayJobMain/putawayJobMain.data.ts +++ b/src/views/wms/purchasereceiptManage/putaway/putawayJobMain/putawayJobMain.data.ts @@ -208,8 +208,8 @@ export const PutawayJobMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -219,8 +219,8 @@ export const PutawayJobMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -507,14 +507,14 @@ export const PutawayJobMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], requestTime: [ { required: true, message: '请输入申请时间', trigger: 'change' } diff --git a/src/views/wms/purchasereceiptManage/putaway/putawayRecordMain/putawayRecordMain.data.ts b/src/views/wms/purchasereceiptManage/putaway/putawayRecordMain/putawayRecordMain.data.ts index a354c19f5..11df17942 100644 --- a/src/views/wms/purchasereceiptManage/putaway/putawayRecordMain/putawayRecordMain.data.ts +++ b/src/views/wms/purchasereceiptManage/putaway/putawayRecordMain/putawayRecordMain.data.ts @@ -225,8 +225,8 @@ export const PutawayRecordMain = useCrudSchemas(reactive([ }, }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -244,8 +244,8 @@ export const PutawayRecordMain = useCrudSchemas(reactive([ }, }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -292,14 +292,14 @@ export const PutawayRecordMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请选择从仓库代码', trigger: 'change' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], toWarehouseCode: [ { required: true, message: '请选择到仓库代码', trigger: 'change' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], outTransaction: [ { required: true, message: '请输入出库事务类型', trigger: 'blur' } diff --git a/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts b/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts index 0c293a674..7bacb2bb1 100644 --- a/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts @@ -71,8 +71,8 @@ export const PutawayRequestMain = useCrudSchemas(reactive([ // isForm: false, // }, { - label: '从库位类型范围', - field: 'fromLocationTypes', + label: '从库区类型范围', + field: 'fromAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -313,8 +313,8 @@ export const PutawayRequestMain = useCrudSchemas(reactive([ } }, { - label: '到库位类型范围', - field: 'toLocationTypes', + label: '到库区类型范围', + field: 'toAreaTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', isTable: true, @@ -430,14 +430,14 @@ export const PutawayRequestMainRules = reactive({ fromWarehouseCode: [ { required: true, message: '请输入从仓库代码', trigger: 'blur' } ], - fromLocationTypes: [ - { required: true, message: '请选择从库位类型范围', trigger: 'change' } + fromAreaTypes: [ + { required: true, message: '请选择从库区类型范围', trigger: 'change' } ], toWarehouseCode: [ { required: true, message: '请输入到仓库代码', trigger: 'blur' } ], - toLocationTypes: [ - { required: true, message: '请选择到库位类型范围', trigger: 'change' } + toAreaTypes: [ + { required: true, message: '请选择到库区类型范围', trigger: 'change' } ], departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } From b3d32863645bb26e7945dd3bc623bceb82136354 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Mon, 5 Feb 2024 09:39:07 +0800 Subject: [PATCH 007/108] =?UTF-8?q?=E5=BA=93=E4=BD=8D=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E9=9A=90=E8=97=8F=20=E8=A1=A5=E5=85=A8=E5=BA=93=E5=8C=BA?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E5=AD=97=E5=85=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../areabasic/areabasic.data.ts | 3 ++ .../factoryModeling/location/location.data.ts | 30 +++++++++---------- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/src/views/wms/basicDataManage/factoryModeling/areabasic/areabasic.data.ts b/src/views/wms/basicDataManage/factoryModeling/areabasic/areabasic.data.ts index 14bf2a9c3..630c69b7b 100644 --- a/src/views/wms/basicDataManage/factoryModeling/areabasic/areabasic.data.ts +++ b/src/views/wms/basicDataManage/factoryModeling/areabasic/areabasic.data.ts @@ -225,4 +225,7 @@ export const AreaRules = reactive({ available: [ { required: true, message: '请选择是否可用', trigger: 'change' } ], + type: [ + { required: true, message: '请选择类型', trigger: 'change' } + ], }) \ No newline at end of file diff --git a/src/views/wms/basicDataManage/factoryModeling/location/location.data.ts b/src/views/wms/basicDataManage/factoryModeling/location/location.data.ts index d92288446..8c8308e31 100644 --- a/src/views/wms/basicDataManage/factoryModeling/location/location.data.ts +++ b/src/views/wms/basicDataManage/factoryModeling/location/location.data.ts @@ -130,18 +130,18 @@ export const Location = useCrudSchemas(reactive([ width: 150 } }, - { - label: '类型', - field: 'type', - dictType: DICT_TYPE.LOCATION_TYPE, - dictClass: 'string', - isSearch: true, - isTable: true, - sort: 'custom', - table: { - width: 150 - }, - }, + // { + // label: '类型', + // field: 'type', + // dictType: DICT_TYPE.LOCATION_TYPE, + // dictClass: 'string', + // isSearch: true, + // isTable: true, + // sort: 'custom', + // table: { + // width: 150 + // }, + // }, { label: '巷道', field: 'aisle', @@ -396,9 +396,9 @@ export const LocationRules = reactive({ erpLocationCode: [ { required: true, message: '请选择ERP库位类型', trigger: 'change' } ], - type: [ - { required: true, message: '请选择类型', trigger: 'change' } - ], + // type: [ + // { required: true, message: '请选择类型', trigger: 'change' } + // ], pickPriority: [ { required: true, message: '请输入拣料优先级', trigger: 'blur' } ], From efa7026ec32256ad780a8b8ef797c4132e44067e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Mon, 5 Feb 2024 10:19:16 +0800 Subject: [PATCH 008/108] =?UTF-8?q?=E5=8C=85=E8=A3=85=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wms/inventoryinitRecordDetail/index.ts | 4 +- .../wms/inventoryinitRequestDetail/index.ts | 4 +- src/api/wms/issueJobDetail/index.ts | 4 +- src/api/wms/itempackage/index.ts | 4 +- src/api/wms/package/index.ts | 4 +- .../wms/productdismantleJobDetail/index.ts | 4 +- .../productdismantleRequestDetaila/index.ts | 4 +- src/api/wms/productreceiptJobDetail/index.ts | 4 +- .../wms/productreceiptRecordDetail/index.ts | 4 +- .../wms/productreceiptRequestDetail/index.ts | 4 +- src/api/wms/purchaseDetail/index.ts | 4 +- src/api/wms/purchasereceiptJobDetail/index.ts | 4 +- .../wms/purchasereceiptRecordDetail/index.ts | 4 +- .../wms/purchasereceiptRequestDetail/index.ts | 4 +- src/api/wms/saleDetail/index.ts | 4 +- .../wms/supplierdeliverRecordDetail/index.ts | 4 +- .../wms/supplierdeliverRequestDetail/index.ts | 4 +- .../wms/supplierinvoiceRecordDeatil/index.ts | 4 +- .../wms/supplierinvoiceRequestDetail/index.ts | 4 +- src/utils/disposition/formFields.ts | 4 +- src/utils/disposition/tableDetailsColumns.ts | 98 +++++++++---------- src/utils/disposition/tableSummaryColumns.ts | 8 +- .../itempackage/itempackaging.data.ts | 8 +- .../labelManage/manufacturePackage/index.vue | 4 +- .../manufacturePackage.data.ts | 8 +- .../labelManage/purchasePackage/index.vue | 4 +- .../purchasePackage/purchasePackage.data.ts | 8 +- .../deliverplan/saleMain/saleMain.data.ts | 16 +-- .../inventoryManage/package/package.data.ts | 8 +- .../inventoryinitRecordMain.data.ts | 16 +-- .../inventoryinitRequestMain.data.ts | 8 +- .../issueManage/issue/issueJobMain/index.vue | 4 +- .../issue/issueJobMain/issueJobMain.data.ts | 8 +- .../productdismantleJobMain.data.ts | 16 +-- .../productdismantleRequestMain.data.ts | 8 +- .../productreceiptJobMain/index.vue | 4 +- .../productreceiptJobMain.data.ts | 16 +-- .../productreceiptRecordMain.data.ts | 16 +-- .../productreceiptRequestMain.data.ts | 8 +- .../purchasereceiptJobMain.data.ts | 16 +-- .../purchasereceiptRecordMain.data.ts | 16 +-- .../purchasereceiptRequestMain.data.ts | 16 +-- .../purchaseMain/purchaseMain.data.ts | 16 +-- .../supplierPackage/supplierPackage.data.ts | 8 +- .../supplierdeliverRecordMain.data.ts | 16 +-- .../supplierdeliverRequestMain/index.vue | 8 +- .../supplierdeliverRequestMain.data.ts | 16 +-- .../supplierinvoiceRecordMain.data.ts | 8 +- .../supplierinvoiceRequestMain.data.ts | 8 +- 49 files changed, 237 insertions(+), 237 deletions(-) diff --git a/src/api/wms/inventoryinitRecordDetail/index.ts b/src/api/wms/inventoryinitRecordDetail/index.ts index 5d16c26f6..c789ca497 100644 --- a/src/api/wms/inventoryinitRecordDetail/index.ts +++ b/src/api/wms/inventoryinitRecordDetail/index.ts @@ -13,8 +13,8 @@ export interface InventoryinitRecordDetailVO { locationCode: string locationGroupCode: string areaCode: string - stdPackQty: number - stdPackUnit: string + packQty: number + packUnit: string qty: number singlePrice: number amount: number diff --git a/src/api/wms/inventoryinitRequestDetail/index.ts b/src/api/wms/inventoryinitRequestDetail/index.ts index 70a7d1148..8962c3a06 100644 --- a/src/api/wms/inventoryinitRequestDetail/index.ts +++ b/src/api/wms/inventoryinitRequestDetail/index.ts @@ -13,8 +13,8 @@ export interface InventoryinitRequestDetailVO { locationCode: string locationGroupCode: string areaCode: string - stdPackQty: number - stdPackUnit: string + packQty: number + packUnit: string qty: number number: string remark: string diff --git a/src/api/wms/issueJobDetail/index.ts b/src/api/wms/issueJobDetail/index.ts index 1d9974af6..ab43085f0 100644 --- a/src/api/wms/issueJobDetail/index.ts +++ b/src/api/wms/issueJobDetail/index.ts @@ -14,8 +14,8 @@ export interface IssueJobDetailVO { itemName: string itemDesc1: string itemDesc2: string - stdPackQty: number - stdPackUnit: string + packQty: number + packUnit: string supplierQty: number supplierUom: string projectCode: string diff --git a/src/api/wms/itempackage/index.ts b/src/api/wms/itempackage/index.ts index 943c50f52..2a26e2141 100644 --- a/src/api/wms/itempackage/index.ts +++ b/src/api/wms/itempackage/index.ts @@ -3,8 +3,8 @@ import request from '@/config/axios' export interface ItempackagingVO { itemCode: string uom: string - stdPackUnit: string - stdPackQty: number + packUnit: string + packQty: number altPackUnit1: string altPackQty1: number altPackUnit2: string diff --git a/src/api/wms/package/index.ts b/src/api/wms/package/index.ts index 9de36a25a..d43f45766 100644 --- a/src/api/wms/package/index.ts +++ b/src/api/wms/package/index.ts @@ -16,8 +16,8 @@ export interface PackageVO { altUom: string altQty: number convertRate: number - stdPackQty: number - stdPackUnit: string + packQty: number + packUnit: string toWarehouseCode: string toDockCode: string toLocationCode: string diff --git a/src/api/wms/productdismantleJobDetail/index.ts b/src/api/wms/productdismantleJobDetail/index.ts index 8f9289f2d..bdd27c66f 100644 --- a/src/api/wms/productdismantleJobDetail/index.ts +++ b/src/api/wms/productdismantleJobDetail/index.ts @@ -10,8 +10,8 @@ export interface ProductdismantleJobDetailVO { produceDate: Date expireDate: Date inventoryStatus: string - stdPackQty: number - stdPackUnit: string + packQty: number + packUnit: string itemCode: string itemName: string itemDesc1: string diff --git a/src/api/wms/productdismantleRequestDetaila/index.ts b/src/api/wms/productdismantleRequestDetaila/index.ts index 6e079cdb5..edb9652c8 100644 --- a/src/api/wms/productdismantleRequestDetaila/index.ts +++ b/src/api/wms/productdismantleRequestDetaila/index.ts @@ -10,8 +10,8 @@ export interface ProductdismantleRequestDetailaVO { produceDate: Date expireDate: Date inventoryStatus: string - stdPackQty: number - stdPackUnit: string + packQty: number + packUnit: string number: string itemCode: string remark: string diff --git a/src/api/wms/productreceiptJobDetail/index.ts b/src/api/wms/productreceiptJobDetail/index.ts index 5b864f758..df00da6fa 100644 --- a/src/api/wms/productreceiptJobDetail/index.ts +++ b/src/api/wms/productreceiptJobDetail/index.ts @@ -13,8 +13,8 @@ export interface ProductreceiptJobDetailVO { toLocationCode: string woNumber: string woLine: string - stdPackQty: number - stdPackUnit: string + packQty: number + packUnit: string itemCode: string itemName: string itemDesc1: string diff --git a/src/api/wms/productreceiptRecordDetail/index.ts b/src/api/wms/productreceiptRecordDetail/index.ts index 766ae089f..8dafd938a 100644 --- a/src/api/wms/productreceiptRecordDetail/index.ts +++ b/src/api/wms/productreceiptRecordDetail/index.ts @@ -16,8 +16,8 @@ export interface ProductreceiptRecordDetailVO { toOwnerCode: string woNumber: string woLine: string - stdPackQty: number - stdPackUnit: string + packQty: number + packUnit: string number: string itemCode: string remark: string diff --git a/src/api/wms/productreceiptRequestDetail/index.ts b/src/api/wms/productreceiptRequestDetail/index.ts index 6f11ce799..f832fb50d 100644 --- a/src/api/wms/productreceiptRequestDetail/index.ts +++ b/src/api/wms/productreceiptRequestDetail/index.ts @@ -12,8 +12,8 @@ export interface ProductreceiptRequestDetailVO { inventoryStatus: string woNumber: string woLine: string - stdPackQty: number - stdPackUnit: string + packQty: number + packUnit: string number: string itemCode: string remark: string diff --git a/src/api/wms/purchaseDetail/index.ts b/src/api/wms/purchaseDetail/index.ts index 23e754226..f85c46731 100644 --- a/src/api/wms/purchaseDetail/index.ts +++ b/src/api/wms/purchaseDetail/index.ts @@ -4,8 +4,8 @@ export interface PurchaseDetailVO { lineNumber: string erpLocationCode: string projectCode: string - stdPackQty: number - stdPackUnit: string + packQty: number + packUnit: string supplierQty: number supplierUom: string convertRate: number diff --git a/src/api/wms/purchasereceiptJobDetail/index.ts b/src/api/wms/purchasereceiptJobDetail/index.ts index 6201fbe0c..17ea24a60 100644 --- a/src/api/wms/purchasereceiptJobDetail/index.ts +++ b/src/api/wms/purchasereceiptJobDetail/index.ts @@ -13,8 +13,8 @@ export interface PurchasereceiptJobDetailVO { toLocationCode: string poNumber: string poLine: string - stdPackQty: number - stdPackUnit: string + packQty: number + packUnit: string supplierQty: number supplierUom: string convertRate: number diff --git a/src/api/wms/purchasereceiptRecordDetail/index.ts b/src/api/wms/purchasereceiptRecordDetail/index.ts index 569de2b18..482b2ce57 100644 --- a/src/api/wms/purchasereceiptRecordDetail/index.ts +++ b/src/api/wms/purchasereceiptRecordDetail/index.ts @@ -19,8 +19,8 @@ export interface PurchasereceiptRecordDetailVO { toAreaCodes: string poNumber: string poLine: string - stdPackQty: number - stdPackUnit: string + packQty: number + packUnit: string qty: number uom: string supplierQty: number diff --git a/src/api/wms/purchasereceiptRequestDetail/index.ts b/src/api/wms/purchasereceiptRequestDetail/index.ts index 20f40f658..0a59972a8 100644 --- a/src/api/wms/purchasereceiptRequestDetail/index.ts +++ b/src/api/wms/purchasereceiptRequestDetail/index.ts @@ -12,8 +12,8 @@ export interface PurchasereceiptRequestDetailVO { fromLocationCode: string poNumber: string poLine: string - stdPackQty: number - stdPackUnit: string + packQty: number + packUnit: string supplierPackQty: number supplierPackUnit: string convertRate: number diff --git a/src/api/wms/saleDetail/index.ts b/src/api/wms/saleDetail/index.ts index a197299b1..79c182062 100644 --- a/src/api/wms/saleDetail/index.ts +++ b/src/api/wms/saleDetail/index.ts @@ -3,8 +3,8 @@ import request from '@/config/axios' export interface SaleDetailVO { lineNumber: string projectCode: string - stdPackQty: number - stdPackUnit: string + packQty: number + packUnit: string customerPackQty: number customerPackUnit: string convertRate: number diff --git a/src/api/wms/supplierdeliverRecordDetail/index.ts b/src/api/wms/supplierdeliverRecordDetail/index.ts index d346cbbd9..ec852973c 100644 --- a/src/api/wms/supplierdeliverRecordDetail/index.ts +++ b/src/api/wms/supplierdeliverRecordDetail/index.ts @@ -12,8 +12,8 @@ export interface SupplierdeliverRecordDetailVO { expireDate: Date poNumber: string poLine: string - stdPackQty: number - stdPackUnit: string + packQty: number + packUnit: string supplierQty: number supplierUom: string convertRate: number diff --git a/src/api/wms/supplierdeliverRequestDetail/index.ts b/src/api/wms/supplierdeliverRequestDetail/index.ts index e029b8883..214db6c78 100644 --- a/src/api/wms/supplierdeliverRequestDetail/index.ts +++ b/src/api/wms/supplierdeliverRequestDetail/index.ts @@ -10,8 +10,8 @@ export interface SupplierdeliverRequestDetailVO { expireDate: Date poNumber: string poLine: string - stdPackQty: number - stdPackUnit: string + packQty: number + packUnit: string supplierPackQty: number supplierPackUnit: string convertRate: number diff --git a/src/api/wms/supplierinvoiceRecordDeatil/index.ts b/src/api/wms/supplierinvoiceRecordDeatil/index.ts index f797d2f44..5c55d7a40 100644 --- a/src/api/wms/supplierinvoiceRecordDeatil/index.ts +++ b/src/api/wms/supplierinvoiceRecordDeatil/index.ts @@ -8,8 +8,8 @@ export interface SupplierinvoiceRecordDeatilVO { altBatch: string poNumber: string poLine: string - stdPackQty: number - stdPackUnit: string + packQty: number + packUnit: string supplierQty: number supplierUom: string convertRate: number diff --git a/src/api/wms/supplierinvoiceRequestDetail/index.ts b/src/api/wms/supplierinvoiceRequestDetail/index.ts index 8633e63b6..d256011f2 100644 --- a/src/api/wms/supplierinvoiceRequestDetail/index.ts +++ b/src/api/wms/supplierinvoiceRequestDetail/index.ts @@ -9,8 +9,8 @@ export interface SupplierinvoiceRequestDetailVO { altBatch: string poNumber: string poLine: string - stdPackQty: number - stdPackUnit: string + packQty: number + packUnit: string supplierPackQty: number supplierPackUnit: string convertRate: number diff --git a/src/utils/disposition/formFields.ts b/src/utils/disposition/formFields.ts index 91475875f..69ab06215 100644 --- a/src/utils/disposition/formFields.ts +++ b/src/utils/disposition/formFields.ts @@ -1745,7 +1745,7 @@ export const OuterPillarDeliverNote = [ { label: "版本", prop: 'version' }, { label: "工程变更通知单", prop: 'eco' }, { label: "标包计量单位", prop: 'stdPackUm' }, - { label: "标包数量", prop: 'stdPackQty' }, + { label: "包装数量", prop: 'packQty' }, { label: "替代计量单位", prop: 'extPackUm' }, { label: "替代包装数量", prop: 'extPackQty' }, { label: "备注", prop: 'remark' }, @@ -1940,7 +1940,7 @@ export const labelInfo = [ { label: "批次", prop: "lot" }, { label: "数量", prop: "qty", showProp: 'qty', type:'object' }, { label: "单位", prop: "qty", showProp: 'uom', type:'object' }, - { label: "标包数量", prop: "planQty", showProp: 'qty', type:'object' }, + { label: "包装数量", prop: "planQty", showProp: 'qty', type:'object' }, { label: "完整条码文本", prop: "fullBarcodeString" }, { label: "供应商代码", prop: 'supplierCode' }, { label: "供应商名称", prop: 'supplierName' }, diff --git a/src/utils/disposition/tableDetailsColumns.ts b/src/utils/disposition/tableDetailsColumns.ts index c3d90a00e..7db984905 100644 --- a/src/utils/disposition/tableDetailsColumns.ts +++ b/src/utils/disposition/tableDetailsColumns.ts @@ -10,8 +10,8 @@ { label: "订单行", prop: "poLine", }, { type:"object", label: "数量", prop: "qty", showProp:"qty", }, { type:"object", label: "单位", prop: "qty", showProp:"uom", }, - { type:"object", label: "标包数量", prop: "stdPack", showProp:"packQty", }, - { type:"object", label: "标包单位", prop: "stdPack", showProp:"packUom", }, + { type:"object", label: "包装数量", prop: "stdPack", showProp:"packQty", }, + { type:"object", label: "包装规格", prop: "stdPack", showProp:"packUom", }, { label: "转换率", prop: 'convertRate', }, { type: "filter", label: "是否寄存订单", prop: "isConsignment", filters: "whetherOrNot" }, { label: "备注", prop: 'remark', }, @@ -47,7 +47,7 @@ { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", width: "200px" }, { label: "E-LEVEL等级", prop: "itemEqLevel", width: "200px" }, { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", width: "200px" }, - { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty", width: "200px" }, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty", width: "200px" }, { type: "object", label: "标包计量单位", prop: "stdPack", showProp: "packUom", width: "200px" }, ] /** @@ -67,7 +67,7 @@ { label: "批次", prop: "lot", }, { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, { type: "object", label: "生产日期", prop: "batch", showProp: "produceDate", }, - { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty", }, { type: "object", label: "标包计量单位", prop: "stdPack", showProp: "packUom", }, ] /** @@ -77,7 +77,7 @@ { label: "itemCode", prop: "itemCode",fixed:"left", }, { type: "object", label: "物料名称", prop: "item", showProp: "name", }, { type: "object", valueType: Number, label: "到货数量", prop: "qty", showProp: "qty", }, - { type: "object", valueType: Number, label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", valueType: Number, label: "包装数量", prop: "stdPack", showProp: "packQty", }, { label: "每托数量", prop: "qtyPerPallet", }, { type: "object", label: "计量单位", prop: "qty", showProp: "uom", }, { type: "object", label: "物料描述1", prop: "item", showProp: "desc1", }, @@ -99,7 +99,7 @@ { type: "object", label: "物料名称", prop: "item", showProp: "name", }, // { type: "object", label: "到货数量", prop: "qty", showProp: "qty", }, { type: "object", label: "收货数量", prop: "qty", showProp: "qty", }, - { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty", }, { label: "订单号", prop: "poNumber", }, { label: "订单行", prop: "poLine", }, { label: "箱标签", prop: "packingCode", }, @@ -108,7 +108,7 @@ { type: "object", label: "物料描述1", prop: "item", showProp: "desc1", }, { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", }, { type: "object", label: "包装单位", prop: "qty", showProp: "uom", }, - { type: "object", label: "标包单位", prop: "stdPack", showProp: "packUom", }, + { type: "object", label: "包装规格", prop: "stdPack", showProp: "packUom", }, { label: "E-LEVEL等级", prop: "labelEqLevel" }, { label: "备注", prop: 'remark', }, ] @@ -120,12 +120,12 @@ { type: "object", label: "物料名称", prop: "item", showProp: "name", }, // { type: "object", label: "到货数量", prop: "qty", showProp: "qty", }, { type: "object", label: "收货数量", prop: "qty", showProp: "qty", }, - { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty", }, { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, { type: "object", label: "物料描述1", prop: "item", showProp: "desc1", }, { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", }, { type: "object", label: "包装单位", prop: "qty", showProp: "uom", }, - { type: "object", label: "标包单位", prop: "stdPack", showProp: "packUom", }, + { type: "object", label: "包装规格", prop: "stdPack", showProp: "packUom", }, { label: "备注", prop: 'remark', }, ] /** @@ -142,9 +142,9 @@ { type: "object", label: "退货数量", prop: "qty", showProp: "qty", }, { label: "批次", prop: "lot" }, { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, - { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty", }, // { type: "object", label: "包装单位", prop: "qty", showProp: "uom", }, - { type: "object", label: "标包单位", prop: "stdPack", showProp: "packUom", }, + { type: "object", label: "包装规格", prop: "stdPack", showProp: "packUom", }, // { label: "备注", prop: 'remark', }, ] /** @@ -154,7 +154,7 @@ { label: "itemCode", prop: "itemCode", fixed: "left", }, { label: "箱标签", prop: "toPackingCode", }, { type: "object", valueType: Number, label: "上架数量", prop: "qty", showProp: "qty", }, - { type: "object", valueType: Number, label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", valueType: Number, label: "包装数量", prop: "stdPack", showProp: "packQty", }, { type: "object", label: "物料名称", prop: "item", showProp: "name", }, { type: "object", label: "备料单位", prop: "qty", showProp: "uom", }, { label: "目标库位", prop: "toLocationCode", }, @@ -172,7 +172,7 @@ { label: "itemCode", prop: "itemCode",fixed: "left", }, { type: "object", valueType: Number, label: "要料数量", prop: "qty", showProp: "qty", }, { type: "object", label: "要料单位", prop: "qty", showProp: "uom", }, - { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty", }, { type: "object", label: "计量单位", prop: "stdPack", showProp: "packQty", }, { label: "请求库位", prop: "requestLocationCode", }, { label: "目标库位", prop: "toLocationCode", }, @@ -189,7 +189,7 @@ { label: "itemCode", prop: "itemCode",fixed: "left", }, // { label: "箱标签", type: "input", prop: "packingCode", }, { type: "object", valueType: Number, label: "发料数量", prop: "qty", showProp: "qty", }, - { type: "object", valueType: Number, label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", valueType: Number, label: "包装数量", prop: "stdPack", showProp: "packQty", }, { type: "object", label: "物料名称", prop: "item", showProp: "name", }, { type: "object", label: "发料单位", prop: "qty", showProp: "uom", }, { label: "请求库位", prop: "fromRequestLocationCode", }, @@ -212,7 +212,7 @@ { label: "itemCode", prop: "itemCode",fixed: "left", }, // { label: "箱标签", type: "input", prop: "packingCode", }, { type: "object", valueType: Number, label: "入库数量", prop: "qty", showProp: "qty", }, - { type: "object", valueType: Number, label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", valueType: Number, label: "包装数量", prop: "stdPack", showProp: "packQty", }, { type: "object", label: "物料名称", prop: "item", showProp: "name", }, { type: "object", label: "入库单位", prop: "qty", showProp: "uom", }, { label: "库位编号", prop: "locationCode", }, @@ -233,7 +233,7 @@ { label: "itemCode", prop: "itemCode",fixed: "left", }, // { label: "箱标签", type: "input", prop: "packingCode", }, { type: "object", valueType: Number, label: "出库数量", prop: "qty", showProp: "qty", }, - { type: "object", valueType: Number, label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", valueType: Number, label: "包装数量", prop: "stdPack", showProp: "packQty", }, { type: "object", label: "物料名称", prop: "item", showProp: "name", }, { type: "object", label: "出库单位", prop: "qty", showProp: "uom", }, { label: "库位编号", prop: "locationCode", }, @@ -254,7 +254,7 @@ { label: "itemCode", prop: "itemCode",fixed: "left", }, // { label: "箱标签", type: "input", prop: "packingCode", }, { type: "object", valueType: Number, label: "隔离数量", prop: "qty", showProp: "qty", }, - { type: "object", valueType: Number, label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", valueType: Number, label: "包装数量", prop: "stdPack", showProp: "packQty", }, { type: "object", label: "物料名称", prop: "item", showProp: "name", }, { type: "object", label: "隔离单位", prop: "qty", showProp: "uom", }, { label: "来源库位", prop: "fromLocationCode", }, @@ -276,7 +276,7 @@ { label: "itemCode", prop: "itemCode",fixed: "left", }, // { label: "箱标签", type: "input", prop: "packingCode", }, { type: "object", valueType: Number, label: "报废数量", prop: "qty", showProp: "qty", }, - { type: "object", valueType: Number, label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", valueType: Number, label: "包装数量", prop: "stdPack", showProp: "packQty", }, { type: "object", label: "物料名称", prop: "item", showProp: "name", }, { type: "object", label: "报废单位", prop: "qty", showProp: "uom", }, { label: "来源库位", prop: "fromLocationCode", }, @@ -299,9 +299,9 @@ { type: "object", label: "物料名称", prop: "item", showProp: "name", }, // { type: "object", label: "到货数量", prop: "qty", showProp: "qty", }, { type: "object", label: "发货数量", prop: "qty", showProp: "qty", }, - { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty", }, { type: "object", label: "包装单位", prop: "qty", showProp: "uom", }, - { type: "object", label: "标包单位", prop: "stdPack", showProp: "packUom", }, + { type: "object", label: "包装规格", prop: "stdPack", showProp: "packUom", }, { type: "object", label: "物料描述1", prop: "item", showProp: "desc1", }, { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", }, { label: "项目", prop: "project", }, @@ -315,7 +315,7 @@ export const DeliverRequest = [ { label: "itemCode", prop: "itemCode", fixed: "left",}, { type: "object", label: "发货数量", prop: "qty", showProp: "qty", }, - { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty", }, { type: "object", label: "物料名称", prop: "item", showProp: "name", }, { label: "目标库位", prop: "toLocationCode", }, { type: "dateTime", label: "过期时间", prop: "expiredTime", }, @@ -330,7 +330,7 @@ { label: "itemCode", prop: "itemCode", fixed: "left",}, // { label: "箱标签", type: "input", prop: "packingCode", }, { type: "object", valueType: Number, label: "发货数量", prop: "qty", showProp: "qty", }, - { type: "object", valueType: Number, label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", valueType: Number, label: "包装数量", prop: "stdPack", showProp: "packQty", }, { type: "object", label: "物料名称", prop: "item", showProp: "name", }, { type: "object", label: "发货单位", prop: "qty", showProp: "uom", }, { label: "目标库位", prop: "toLocationCode", }, @@ -491,8 +491,8 @@ { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", }, { type: "object", label: "备料数量", prop: "qty", showProp: "qty", }, { type: "object", label: "备料单位", prop: "qty", showProp: "uom", }, - { type: "object", label: "标包数量", prop: "stdPack", showProp: "qty", }, - { type: "object", label: "标包单位", prop: "stdPack", showProp: "uom", }, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "qty", }, + { type: "object", label: "包装规格", prop: "stdPack", showProp: "uom", }, { label: "目标库位", prop: "toLocationCode", }, { label: "工作中心", prop: "workStation", }, { type: "dateTime", label: "最晚时间", prop: "latestTime", }, @@ -509,7 +509,7 @@ { label: "库位编号", prop: "locationCode", }, { label: "原料库位", prop: "rawLocation", width: "100px" }, { type: "object", valueType: Number, label: "完工收货数量", prop: "qty", showProp: "qty", width: "100px" }, - { type: "object", valueType: Number, label: "标包数量", prop: "stdPack", showProp: "packQty", width: "100px" }, + { type: "object", valueType: Number, label: "包装数量", prop: "stdPack", showProp: "packQty", width: "100px" }, { type: "object", label: "完工收货单位", prop: "qty", showProp: "uom", width: "100px" }, { label: "箱标签", prop: "packingCode", }, { label: "托标签", prop: "containerCode", }, @@ -548,7 +548,7 @@ { type: "object", label: "物料描述1", prop: "item", showProp: "desc1", }, { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", }, { type: "object", valueType: Number, label: "消耗数量", prop: "rawQty", showProp: "qty", }, - { type: "object", label: "标包单位", prop: "rawQty", showProp: "uom", }, + { type: "object", label: "包装规格", prop: "rawQty", showProp: "uom", }, { label: "来源库位代码", prop: "rawLocation", }, { label: "箱标签", prop: "packingCode", }, { label: "托标签", prop: "rawContainerCode", }, @@ -568,7 +568,7 @@ { label: "库位编号", prop: "locationCode", }, { label: "原料库位编号", prop: "rawLocation", }, { type: "object", valueType: Number, label: "成品回收数量", prop: "qty", showProp: "qty", }, - { type: "object", valueType: Number, label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", valueType: Number, label: "包装数量", prop: "stdPack", showProp: "packQty", }, { label: "批次", prop: "lot", }, { type: "object", label: "成品回收单位", prop: "qty", showProp: "uom", }, { label: "箱标签", prop: "packingCode", }, @@ -588,7 +588,7 @@ { type: "object", label: "物料描述1", prop: "item", showProp: "desc1", }, { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", }, { type: "object", valueType: Number, label: "退库数量", prop: "qty", showProp: "qty", }, - { type: "object", valueType: Number, label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", valueType: Number, label: "包装数量", prop: "stdPack", showProp: "packQty", }, { type: "object", label: "退库单位", prop: "qty", showProp: "uom", }, { label: "来源库位", prop: "fromLocationCode", }, { label: "目标库位", prop: "toLocationCode", }, @@ -611,7 +611,7 @@ { type: "object", label: "物料描述1", prop: "item", showProp: "desc1", }, { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", }, { type: "object", valueType: Number, label: "退货数量", prop: "qty", showProp: "qty", }, - { type: "object", valueType: Number, label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", valueType: Number, label: "包装数量", prop: "stdPack", showProp: "packQty", }, { type: "object", label: "退货单位", prop: "qty", showProp: "uom", }, { label: "来源库位", prop: "fromLocationCode", }, { label: "目标库位", prop: "toLocationCode", }, @@ -632,7 +632,7 @@ { type: "object", label: "物料描述1", prop: "item", showProp: "desc1", }, { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", }, { type: "object", label: "数量", prop: "qty", showProp: "qty", }, - { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty", }, { label: "目标库位", prop: "toLocationCode", }, { label: "来源库位", prop: "fromLocationCode", }, { label: "目标仓库", prop: "toWarehouseCode", }, @@ -680,8 +680,8 @@ { type: "object", label: "收货数量", prop: "receiveQty", showProp: "qty", }, { type: "object", label: "收货单位", prop: "receiveQty", showProp: "uom",}, { type: "filter", filters: "inspectType", label: "检验类型", prop: "inspectType",}, - { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty",}, - { type: "object", label: "标包单位", prop: "stdPack", showProp: "packUom",}, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty",}, + { type: "object", label: "包装规格", prop: "stdPack", showProp: "packUom",}, { label: "订单号", prop: "poNumber",}, // { label: "订单行", prop: "poLine",}, { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, @@ -703,8 +703,8 @@ { type: "object", label: "收货数量", prop: "receiveQty", showProp: "qty", }, { type: "object", label: "收货单位", prop: "receiveQty", showProp: "uom",}, { type: "filter", filters: "taskType", label: "检验类型", prop: "inspectType",}, - { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty",}, - { type: "object", label: "标包单位", prop: "stdPack", showProp: "packUom",}, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty",}, + { type: "object", label: "包装规格", prop: "stdPack", showProp: "packUom",}, { label: "库位代码", prop: "locationCode",}, { label: "箱标签", prop: "packingCode",}, { label: "托标签", prop: "containerCode",}, @@ -722,7 +722,7 @@ { type: "object", label: "物料描述1", prop: "item", showProp: "desc1", }, { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", }, { type: "object", label: "质量异常数量", prop: "qty", showProp: "qty", }, - { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty", }, { type: "object", label: "质量异常单位", prop: "qty", showProp: "uom", }, { label: "异常类型", prop: "abnormalType", }, { label: "箱标签", prop: "packingCode",}, @@ -742,8 +742,8 @@ { type: "object", label: "实际收货数量", prop: "handledQty", showProp: "qty", }, { type: "object", label: "推荐收货数量", prop: "recommendQty", showProp: "qty", }, { type: "object", label: "收货单位", prop: "recommendQty", showProp: "uom",}, - { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty",}, - { type: "object", label: "标包单位", prop: "stdPack", showProp: "packUom",}, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty",}, + { type: "object", label: "包装规格", prop: "stdPack", showProp: "packUom",}, { label: "实际库位", prop: "handledLocationCode",}, { label: "推荐库位", prop: "recommendLocationCode",}, { label: "实际箱标签", prop: "handledPackingCode", }, @@ -1073,7 +1073,7 @@ export const ReceivingRecords = [ { type: "object", label: "物料描述1", prop: "item", showProp: "desc1", }, { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", }, { type: "object", label: "数量", prop: "qty", showProp: "qty", }, - { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty", }, { label: "箱标签", prop: "packingCode"}, { label: "托标签", prop: "containerCode"}, { label: "仓库", prop: "warehouseCode"}, @@ -1094,7 +1094,7 @@ export const ReceivingRecords = [ { type: "object", label: "物料描述1", prop: "item", showProp: "desc1", }, { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", }, { type: "object", label: "数量", prop: "qty", showProp: "qty", }, - // { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty", }, + // { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty", }, { label: "产品号", prop: "productNo" }, { label: "项目号", prop: "projectCode" }, { label: "原因", prop: "reason" }, @@ -1266,7 +1266,7 @@ export const SingleDoorPanelDeliverNote = [ { label: "来源托标签", prop: "toContainerCode" }, { type: "object", label: "发货数量", prop: "qty", showProp: "qty" }, { type: "object", label: "发货单位", prop: "qty", showProp: "uom" }, - { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty" }, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty" }, { label: "目标库位", prop: "toLocationCode" }, { label: "来源库位", prop: "fromLocationCode" }, { label: "目标仓库", prop: "toWarehouseCode" }, @@ -1298,8 +1298,8 @@ export const SingleDoorPanelProductReceiptNote = [ { label: "托标签", prop: "containerCode" }, { type: "object", label: "完工收货数量", prop: "qty", showProp: "qty" }, { type: "object", label: "完工单位", prop: "qty", showProp: "uom" }, - { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty" }, - { type: "object", label: "标包单位", prop: "stdPack", showProp: "packUom" }, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty" }, + { type: "object", label: "包装规格", prop: "stdPack", showProp: "packUom" }, { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch" }, { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate" }, { label: "库位", prop: "locationCode" }, @@ -1325,8 +1325,8 @@ export const SingleDoorPanelProductAdjust = [ { label: "仓库代码", prop: 'warehouseCode',}, { label: "数量", prop: 'qty', showProp: 'qty', type: 'object'}, { label: "单位", prop: 'qty', showProp: 'uom', type: 'object'}, - { label: "标包数量", prop: 'stdPack', showProp: 'packQty', type: 'object'}, - { label: "标包单位", prop: 'stdPack', showProp: 'packUom', type: 'object'}, + { label: "包装数量", prop: 'stdPack', showProp: 'packQty', type: 'object'}, + { label: "包装规格", prop: 'stdPack', showProp: 'packUom', type: 'object'}, { label: "库位代码", prop: 'locationCode',}, ] @@ -1343,8 +1343,8 @@ export const SingleDoorPanelProductAdjust = [ { label: "托标签", prop: "containerCode" }, { type: "object", label: "数量", prop: "qty", showProp: "qty" }, { type: "object", label: "单位", prop: "qty", showProp: "uom" }, - { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty" }, - { type: "object", label: "标包单位", prop: "stdPack", showProp: "packUom" }, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty" }, + { type: "object", label: "包装规格", prop: "stdPack", showProp: "packUom" }, { label: "目标仓库", prop: "toWarehouseCode" }, { label: "来源仓库", prop: "fromWarehouseCode" }, { label: "产品号", prop: "productNo" }, @@ -1365,8 +1365,8 @@ export const SingleDoorPanelCustomerReturnNote = [ { label: "仓库代码", prop: 'warehouseCode' }, { label: "数量", prop: 'qty', showProp: 'qty', type: 'object' }, { label: "单位", prop: 'qty', showProp: 'uom', type: 'object' }, - { label: "标包数量", prop: 'stdPack', showProp: 'packQty', type: 'object' }, - { label: "标包单位", prop: 'stdPack', showProp: 'packUom', type: 'object' }, + { label: "包装数量", prop: 'stdPack', showProp: 'packQty', type: 'object' }, + { label: "包装规格", prop: 'stdPack', showProp: 'packUom', type: 'object' }, { label: "库位代码", prop: 'locationCode' }, // { label: "生产线", prop: 'prodLine' }, // { label: "Bom版本", prop: "bomVersion" }, @@ -1384,7 +1384,7 @@ export const SingleDoorPanelCustomerReturnNote = [ { type: "object", label: "物料描述1", prop: "item", showProp: "desc1", }, { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", }, { type: "object", label: "数量", prop: "qty", showProp: "qty", }, - { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty", }, { label: "目标批次", prop: "toLot", }, { label: "来源批次", prop: "fromLot", }, { label: "目标库位", prop: "toLocationCode", }, diff --git a/src/utils/disposition/tableSummaryColumns.ts b/src/utils/disposition/tableSummaryColumns.ts index 580b2f7e0..98d55dc91 100644 --- a/src/utils/disposition/tableSummaryColumns.ts +++ b/src/utils/disposition/tableSummaryColumns.ts @@ -72,8 +72,8 @@ { type: "object", label: "收货数量", prop: "receiveQty", showProp: "qty", }, { type: "object", label: "收货单位", prop: "receiveQty", showProp: "uom",}, { type: "filter", filters: "taskType", label: "检验类型", prop: "inspectType",}, - { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty",}, - { type: "object", label: "标包单位", prop: "stdPack", showProp: "packUom",}, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty",}, + { type: "object", label: "包装规格", prop: "stdPack", showProp: "packUom",}, { label: "批次", prop: "lot", }, ] @@ -87,14 +87,14 @@ { type: "object", label: "物料描述2", prop: "item", showProp: "desc2", }, { label: "总数", prop: "summary" }, { type: "object", label: "收货数量", prop: "qty", showProp: "qty", }, - { type: "object", label: "标包数量", prop: "stdPack", showProp: "packQty", }, + { type: "object", label: "包装数量", prop: "stdPack", showProp: "packQty", }, { label: "订单号", prop: "poNumber", }, { label: "订单行", prop: "poLine", }, { label: "箱标签", prop: "packingCode", }, { label: "托标签", prop: "containerCode", }, { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, { type: "object", label: "包装单位", prop: "qty", showProp: "uom", }, - { type: "object", label: "标包单位", prop: "stdPack", showProp: "packUom", }, + { type: "object", label: "包装规格", prop: "stdPack", showProp: "packUom", }, { label: "E-LEVEL等级", prop: "labelEqLevel" }, { label: "备注", prop: 'remark', }, ] \ No newline at end of file diff --git a/src/views/wms/basicDataManage/itemManage/itempackage/itempackaging.data.ts b/src/views/wms/basicDataManage/itemManage/itempackage/itempackaging.data.ts index fb9cfdf8a..2af570304 100644 --- a/src/views/wms/basicDataManage/itemManage/itempackage/itempackaging.data.ts +++ b/src/views/wms/basicDataManage/itemManage/itempackage/itempackaging.data.ts @@ -51,7 +51,7 @@ export const Itempackaging = useCrudSchemas(reactive([ }, { label: '包装单位', - field: 'stdPackUnit', + field: 'packUnit', sort: 'custom', dictType: DICT_TYPE.PACK_UNIT, dictClass: 'string', @@ -63,7 +63,7 @@ export const Itempackaging = useCrudSchemas(reactive([ }, { label: '包装数量', - field: 'stdPackQty', + field: 'packQty', sort: 'custom', isSearch: true, table: { @@ -276,7 +276,7 @@ export const Itempackaging = useCrudSchemas(reactive([ export const ItempackagingRules = reactive({ itemCode: [{ required: true, message: '物料代码不能为空', trigger: 'change' }], uom: [{ required: true, message: '计量单位不能为空', trigger: 'change' }], - stdPackUnit: [{ required: true, message: '包装单位不能为空', trigger: 'change' }], - stdPackQty: [{ required: true, message: '包装数量不能为空', trigger: 'change' }], + packUnit: [{ required: true, message: '包装单位不能为空', trigger: 'change' }], + packQty: [{ required: true, message: '包装数量不能为空', trigger: 'change' }], available: [{ required: true, message: '是否可用不能为空', trigger: 'change' }] }) \ No newline at end of file diff --git a/src/views/wms/basicDataManage/labelManage/manufacturePackage/index.vue b/src/views/wms/basicDataManage/labelManage/manufacturePackage/index.vue index 144a316f8..0e9b3eb32 100644 --- a/src/views/wms/basicDataManage/labelManage/manufacturePackage/index.vue +++ b/src/views/wms/basicDataManage/labelManage/manufacturePackage/index.vue @@ -111,8 +111,8 @@ const searchTableSuccess = (formField, searchField, val, basicFormRef, type, row }).then(res => { if (res) { if (res.list.length > 0) { - setV['stdPackQty'] = res.list[0].stdPackQty - setV['stdPackUnit'] = res.list[0].stdPackUnit + setV['packQty'] = res.list[0].packQty + setV['packUnit'] = res.list[0].packUnit } } }) diff --git a/src/views/wms/basicDataManage/labelManage/manufacturePackage/manufacturePackage.data.ts b/src/views/wms/basicDataManage/labelManage/manufacturePackage/manufacturePackage.data.ts index 296e93f68..1305d6419 100644 --- a/src/views/wms/basicDataManage/labelManage/manufacturePackage/manufacturePackage.data.ts +++ b/src/views/wms/basicDataManage/labelManage/manufacturePackage/manufacturePackage.data.ts @@ -320,8 +320,8 @@ export const PackageInventory = useCrudSchemas(reactive([ }, }, { - label: '标包数量', - field: 'stdPackQty', + label: '包装数量', + field: 'packQty', sort: 'custom', table: { width: 150, @@ -336,8 +336,8 @@ export const PackageInventory = useCrudSchemas(reactive([ } }, { - label: '标包单位', - field: 'stdPackUnit', + label: '包装规格', + field: 'packUnit', sort: 'custom', dictType: DICT_TYPE.PACK_UNIT, dictClass: 'string', // 默认都是字符串类型其他暂不考虑 diff --git a/src/views/wms/basicDataManage/labelManage/purchasePackage/index.vue b/src/views/wms/basicDataManage/labelManage/purchasePackage/index.vue index db3e1cdb7..b65e361e4 100644 --- a/src/views/wms/basicDataManage/labelManage/purchasePackage/index.vue +++ b/src/views/wms/basicDataManage/labelManage/purchasePackage/index.vue @@ -111,8 +111,8 @@ const searchTableSuccess = (formField, searchField, val, basicFormRef, type, row }).then(res => { if (res) { if (res.list.length > 0) { - setV['stdPackQty'] = res.list[0].stdPackQty - setV['stdPackUnit'] = res.list[0].stdPackUnit + setV['packQty'] = res.list[0].packQty + setV['packUnit'] = res.list[0].packUnit } } }) diff --git a/src/views/wms/basicDataManage/labelManage/purchasePackage/purchasePackage.data.ts b/src/views/wms/basicDataManage/labelManage/purchasePackage/purchasePackage.data.ts index d5a04a2cd..7f43c5459 100644 --- a/src/views/wms/basicDataManage/labelManage/purchasePackage/purchasePackage.data.ts +++ b/src/views/wms/basicDataManage/labelManage/purchasePackage/purchasePackage.data.ts @@ -329,8 +329,8 @@ export const PackageInventory = useCrudSchemas(reactive([ }, }, { - label: '标包数量', - field: 'stdPackQty', + label: '包装数量', + field: 'packQty', sort: 'custom', table: { width: 150, @@ -345,8 +345,8 @@ export const PackageInventory = useCrudSchemas(reactive([ } }, { - label: '标包单位', - field: 'stdPackUnit', + label: '包装规格', + field: 'packUnit', sort: 'custom', dictType: DICT_TYPE.PACK_UNIT, dictClass: 'string', // 默认都是字符串类型其他暂不考虑 diff --git a/src/views/wms/deliversettlementManage/deliverplan/saleMain/saleMain.data.ts b/src/views/wms/deliversettlementManage/deliverplan/saleMain/saleMain.data.ts index 8dc5953e7..9ced4a3ad 100644 --- a/src/views/wms/deliversettlementManage/deliverplan/saleMain/saleMain.data.ts +++ b/src/views/wms/deliversettlementManage/deliverplan/saleMain/saleMain.data.ts @@ -333,8 +333,8 @@ export const SaleDetail = useCrudSchemas(reactive([ isTableForm: false, }, { - label: '标包数量', - field: 'stdPackQty', + label: '包装数量', + field: 'packQty', sort: 'custom', table: { width: 150 @@ -353,8 +353,8 @@ export const SaleDetail = useCrudSchemas(reactive([ } }, { - label: '标包单位', - field: 'stdPackUnit', + label: '包装规格', + field: 'packUnit', dictType: DICT_TYPE.PACK_UNIT, dictClass: 'string', isTable: true, @@ -716,11 +716,11 @@ export const SaleDetailRules = reactive({ { required: true, message: '请输入行号', trigger: 'blur' }, { max: 50, message: '不得超过50个字符', trigger: 'blur' } ], - stdPackQty: [ - { required: true, message: '请输入标包数量', trigger: 'blur' } + packQty: [ + { required: true, message: '请输入包装数量', trigger: 'blur' } ], - stdPackUnit: [ - { required: true, message: '请选择标包单位', trigger: 'change' } + packUnit: [ + { required: true, message: '请选择包装规格', trigger: 'change' } ], convertRate: [ { required: true, message: '请输入转换率', trigger: 'blur' } diff --git a/src/views/wms/inventoryManage/package/package.data.ts b/src/views/wms/inventoryManage/package/package.data.ts index 09049d38f..1f6f169fc 100644 --- a/src/views/wms/inventoryManage/package/package.data.ts +++ b/src/views/wms/inventoryManage/package/package.data.ts @@ -184,16 +184,16 @@ export const Package = useCrudSchemas(reactive([ }, }, { - label: '标包数量', - field: 'stdPackQty', + label: '包装数量', + field: 'packQty', sort: 'custom', table: { width: 150, }, }, { - label: '标包单位', - field: 'stdPackUnit', + label: '包装规格', + field: 'packUnit', sort: 'custom', dictType: DICT_TYPE.PACK_UNIT, dictClass: 'string', // 默认都是字符串类型其他暂不考虑 diff --git a/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRecordMain/inventoryinitRecordMain.data.ts b/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRecordMain/inventoryinitRecordMain.data.ts index 29062b593..f3aa5210a 100644 --- a/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRecordMain/inventoryinitRecordMain.data.ts +++ b/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRecordMain/inventoryinitRecordMain.data.ts @@ -355,8 +355,8 @@ export const InventoryinitRecordDetail = useCrudSchemas(reactive([ }, }, { - label: '标包数量', - field: 'stdPackQty', + label: '包装数量', + field: 'packQty', sort: 'custom', table: { width: 150 @@ -366,8 +366,8 @@ export const InventoryinitRecordDetail = useCrudSchemas(reactive([ } }, { - label: '标包单位', - field: 'stdPackUnit', + label: '包装规格', + field: 'packUnit', dictType: DICT_TYPE.PACK_UNIT, dictClass: 'string', isTable: true, @@ -614,11 +614,11 @@ export const InventoryinitRecordDetailRules = reactive({ areaCode: [ { required: true, message: '请选择库区代码', trigger: 'change' } ], - stdPackQty: [ - { required: true, message: '请输入标包数量', trigger: 'blur' } + packQty: [ + { required: true, message: '请输入包装数量', trigger: 'blur' } ], - stdPackUnit: [ - { required: true, message: '请选择标包单位', trigger: 'change' } + packUnit: [ + { required: true, message: '请选择包装规格', trigger: 'change' } ], number: [ { required: true, message: '请输入单据号', trigger: 'blur' } diff --git a/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/inventoryinitRequestMain.data.ts b/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/inventoryinitRequestMain.data.ts index 34c4d8138..933dd44d2 100644 --- a/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/inventoryinitRequestMain.data.ts +++ b/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/inventoryinitRequestMain.data.ts @@ -505,8 +505,8 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive( } }, { - label: '标包数量', - field: 'stdPackQty', + label: '包装数量', + field: 'packQty', sort: 'custom', table: { width: 150 @@ -527,8 +527,8 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive( isForm: false, }, { - label: '标包单位', - field: 'stdPackUnit', + label: '包装规格', + field: 'packUnit', dictType: DICT_TYPE.PACK_UNIT, dictClass: 'string', isTable: true, diff --git a/src/views/wms/issueManage/issue/issueJobMain/index.vue b/src/views/wms/issueManage/issue/issueJobMain/index.vue index 3d61a23a2..551c2f5d8 100644 --- a/src/views/wms/issueManage/issue/issueJobMain/index.vue +++ b/src/views/wms/issueManage/issue/issueJobMain/index.vue @@ -229,8 +229,8 @@ const buttonTableClick = async (val, row) => { itemName: "物料01", itemDesc1: "", itemDesc2: "", - stdPackQty: null, - stdPackUnit: null, + packQty: null, + packUnit: null, supplierQty: null, supplierUom: null, projectCode: "xm01", diff --git a/src/views/wms/issueManage/issue/issueJobMain/issueJobMain.data.ts b/src/views/wms/issueManage/issue/issueJobMain/issueJobMain.data.ts index a717a5a46..588b100e2 100644 --- a/src/views/wms/issueManage/issue/issueJobMain/issueJobMain.data.ts +++ b/src/views/wms/issueManage/issue/issueJobMain/issueJobMain.data.ts @@ -705,8 +705,8 @@ export const IssueJobDetail = useCrudSchemas(reactive([ }, }, { - label: '标包数量', - field: 'stdPackQty', + label: '包装数量', + field: 'packQty', sort: 'custom', table: { width: 150 @@ -716,8 +716,8 @@ export const IssueJobDetail = useCrudSchemas(reactive([ } }, { - label: '标包单位', - field: 'stdPackUnit', + label: '包装规格', + field: 'packUnit', dictType: DICT_TYPE.PACK_UNIT, dictClass: 'string', isTable: true, diff --git a/src/views/wms/productionManage/productdismantle/productdismantleJobMain/productdismantleJobMain.data.ts b/src/views/wms/productionManage/productdismantle/productdismantleJobMain/productdismantleJobMain.data.ts index e5f90da52..ec4a40e2e 100644 --- a/src/views/wms/productionManage/productdismantle/productdismantleJobMain/productdismantleJobMain.data.ts +++ b/src/views/wms/productionManage/productdismantle/productdismantleJobMain/productdismantleJobMain.data.ts @@ -682,8 +682,8 @@ export const ProductdismantleJobDetail = useCrudSchemas(reactive([ }, }, { - label: '标包数量', - field: 'stdPackQty', + label: '包装数量', + field: 'packQty', sort: 'custom', table: { width: 150 @@ -693,8 +693,8 @@ export const ProductdismantleJobDetail = useCrudSchemas(reactive([ } }, { - label: '标包单位', - field: 'stdPackUnit', + label: '包装规格', + field: 'packUnit', dictType: DICT_TYPE.PACK_UNIT, dictClass: 'string', isTable: true, @@ -855,11 +855,11 @@ export const ProductdismantleJobDetailRules = reactive({ inventoryStatus: [ { required: true, message: '请选择库存状态', trigger: 'change' } ], - stdPackQty: [ - { required: true, message: '请输入标包数量', trigger: 'blur' } + packQty: [ + { required: true, message: '请输入包装数量', trigger: 'blur' } ], - stdPackUnit: [ - { required: true, message: '请选择标包单位', trigger: 'change' } + packUnit: [ + { required: true, message: '请选择包装规格', trigger: 'change' } ], fromLocationCode: [ { required: true, message: '请选择从库位代码', trigger: 'change' } diff --git a/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts b/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts index a66327cb4..ad23a5e20 100644 --- a/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts +++ b/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts @@ -767,8 +767,8 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive { "inventoryStatus": "OK", "woNumber": null, "woLine": null, - "stdPackQty": 8, - "stdPackUnit": "BOX", + "packQty": 8, + "packUnit": "BOX", "itemCode": "item01", "itemName": "物料01", "itemDesc1": "", diff --git a/src/views/wms/productionManage/productreceipt/productreceiptJobMain/productreceiptJobMain.data.ts b/src/views/wms/productionManage/productreceipt/productreceiptJobMain/productreceiptJobMain.data.ts index 567ccfb51..e7fcc15b7 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptJobMain/productreceiptJobMain.data.ts +++ b/src/views/wms/productionManage/productreceipt/productreceiptJobMain/productreceiptJobMain.data.ts @@ -714,8 +714,8 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive([ }, }, { - label: '标包数量', - field: 'stdPackQty', + label: '包装数量', + field: 'packQty', sort: 'custom', table: { width: 150 @@ -725,8 +725,8 @@ export const ProductreceiptJobDetail = useCrudSchemas(reactive([ } }, { - label: '标包单位', - field: 'stdPackUnit', + label: '包装规格', + field: 'packUnit', dictType: DICT_TYPE.PACK_UNIT, dictClass: 'string', isTable: true, @@ -877,11 +877,11 @@ export const ProductreceiptJobDetailRules = reactive({ woLine: [ { required: true, message: '请输入订单行', trigger: 'blur' } ], - stdPackQty: [ - { required: true, message: '请输入标包数量', trigger: 'blur' } + packQty: [ + { required: true, message: '请输入包装数量', trigger: 'blur' } ], - stdPackUnit: [ - { required: true, message: '请选择标包单位', trigger: 'change' } + packUnit: [ + { required: true, message: '请选择包装规格', trigger: 'change' } ], toLocationCode: [ { required: true, message: '请选择到库位代码', trigger: 'change' } diff --git a/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts b/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts index e43a132f4..bf7a3400e 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts +++ b/src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts @@ -482,8 +482,8 @@ export const ProductreceiptRecordDetail = useCrudSchemas(reactive( }, }, { - label: '标包数量', - field: 'stdPackQty', + label: '包装数量', + field: 'packQty', sort: 'custom', table: { width: 150 @@ -493,8 +493,8 @@ export const ProductreceiptRecordDetail = useCrudSchemas(reactive( } }, { - label: '标包单位', - field: 'stdPackUnit', + label: '包装规格', + field: 'packUnit', dictType: DICT_TYPE.PACK_UNIT, dictClass: 'string', isTable: true, @@ -684,11 +684,11 @@ export const ProductreceiptRecordDetailRules = reactive({ woLine: [ { required: true, message: '请输入订单行', trigger: 'blur' } ], - stdPackQty: [ - { required: true, message: '请输入标包数量', trigger: 'blur' } + packQty: [ + { required: true, message: '请输入包装数量', trigger: 'blur' } ], - stdPackUnit: [ - { required: true, message: '请选择标包单位', trigger: 'change' } + packUnit: [ + { required: true, message: '请选择包装规格', trigger: 'change' } ], number: [ { required: true, message: '请输入单据号', trigger: 'blur' } diff --git a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts index c31cb9e42..b7e310224 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts +++ b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts @@ -656,8 +656,8 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive isForm: false }, { - label: '标包数量', - field: 'stdPackQty', + label: '包装数量', + field: 'packQty', sort: 'custom', table: { width: 150 @@ -673,8 +673,8 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive isForm: false }, { - label: '标包单位', - field: 'stdPackUnit', + label: '包装规格', + field: 'packUnit', dictType: DICT_TYPE.PACK_UNIT, dictClass: 'string', isTable: true, diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/purchasereceiptJobMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/purchasereceiptJobMain.data.ts index dff08fb6c..09737cd71 100644 --- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/purchasereceiptJobMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/purchasereceiptJobMain.data.ts @@ -759,8 +759,8 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive([ }, }, { - label: '标包数量', - field: 'stdPackQty', + label: '包装数量', + field: 'packQty', sort: 'custom', table: { width: 150 @@ -770,8 +770,8 @@ export const PurchasereceiptJobDetail = useCrudSchemas(reactive([ } }, { - label: '标包单位', - field: 'stdPackUnit', + label: '包装规格', + field: 'packUnit', dictType: DICT_TYPE.PACK_UNIT, dictClass: 'string', isTable: true, @@ -963,11 +963,11 @@ export const PurchasereceiptJobDetailRules = reactive({ poLine: [ { required: true, message: '请输入订单行', trigger: 'blur' } ], - stdPackQty: [ - { required: true, message: '请输入标包数量', trigger: 'blur' } + packQty: [ + { required: true, message: '请输入包装数量', trigger: 'blur' } ], - stdPackUnit: [ - { required: true, message: '请选择标包单位', trigger: 'change' } + packUnit: [ + { required: true, message: '请选择包装规格', trigger: 'change' } ], convertRate: [ { required: true, message: '请输入转换率', trigger: 'blur' } diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/purchasereceiptRecordMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/purchasereceiptRecordMain.data.ts index 90c8c9b75..6bfcb0b89 100644 --- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/purchasereceiptRecordMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/purchasereceiptRecordMain.data.ts @@ -526,8 +526,8 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive }, { - label: '标包数量', - field: 'stdPackQty', + label: '包装数量', + field: 'packQty', sort: 'custom', table: { width: 150 @@ -537,8 +537,8 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive } }, { - label: '标包单位', - field: 'stdPackUnit', + label: '包装规格', + field: 'packUnit', dictType: DICT_TYPE.PACK_UNIT, dictClass: 'string', isSearch: true, @@ -886,11 +886,11 @@ export const PurchasereceiptRecordDetailRules = reactive({ poLine: [ { required: true, message: '请选择订单行', trigger: 'change' } ], - stdPackQty: [ - { required: true, message: '请输入标包数量', trigger: 'blur' } + packQty: [ + { required: true, message: '请输入包装数量', trigger: 'blur' } ], - stdPackUnit: [ - { required: true, message: '请选择标包单位', trigger: 'change' } + packUnit: [ + { required: true, message: '请选择包装规格', trigger: 'change' } ], convertRate: [ { required: true, message: '请输入转换率', trigger: 'blur' } diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts index 36857bb98..e48c9af27 100644 --- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts @@ -751,8 +751,8 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive([ isForm: false, }, { - label: '标包数量', - field: 'stdPackQty', + label: '包装数量', + field: 'packQty', table: { width: 150 }, @@ -508,8 +508,8 @@ export const PurchaseDetail = useCrudSchemas(reactive([ isForm: false, }, { - label: '标包单位', - field: 'stdPackUnit', + label: '包装规格', + field: 'packUnit', dictType: DICT_TYPE.PACK_UNIT, dictClass: 'string', isTable: true, @@ -812,11 +812,11 @@ export const PurchaseDetailRules = reactive({ { required: true, message: '请输入行号', trigger: 'blur' }, { max: 50, message: '不得超过50个字符', trigger: 'blur' } ], - stdPackQty: [ - { required: true, message: '请输入标包数量', trigger: 'blur' } + packQty: [ + { required: true, message: '请输入包装数量', trigger: 'blur' } ], - stdPackUnit: [ - { required: true, message: '请选择标包单位', trigger: 'change' } + packUnit: [ + { required: true, message: '请选择包装规格', trigger: 'change' } ], convertRate: [ { required: true, message: '请输入转换率', trigger: 'blur' } diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierPackage/supplierPackage.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierPackage/supplierPackage.data.ts index 9f76f9337..3e4e66ed9 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierPackage/supplierPackage.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierPackage/supplierPackage.data.ts @@ -196,16 +196,16 @@ export const Package = useCrudSchemas(reactive([ }, }, { - label: '标包数量', - field: 'stdPackQty', + label: '包装数量', + field: 'packQty', sort: 'custom', table: { width: 150, }, }, { - label: '标包单位', - field: 'stdPackUnit', + label: '包装规格', + field: 'packUnit', sort: 'custom', dictType: DICT_TYPE.PACK_UNIT, dictClass: 'string', // 默认都是字符串类型其他暂不考虑 diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/supplierdeliverRecordMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/supplierdeliverRecordMain.data.ts index 8bf224f5f..5b3aa2a3d 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/supplierdeliverRecordMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/supplierdeliverRecordMain.data.ts @@ -483,8 +483,8 @@ export const SupplierdeliverRecordDetail = useCrudSchemas(reactive } }, { - label: '标包数量', - field: 'stdPackQty', + label: '包装数量', + field: 'packQty', sort: 'custom', table: { width: 150 @@ -494,8 +494,8 @@ export const SupplierdeliverRecordDetail = useCrudSchemas(reactive } }, { - label: '标包单位', - field: 'stdPackUnit', + label: '包装规格', + field: 'packUnit', dictType: DICT_TYPE.PACK_UNIT, dictClass: 'string', isTable: true, @@ -779,11 +779,11 @@ export const SupplierdeliverRecordDetailRules = reactive({ poLine: [ { required: true, message: '请输入订单行', trigger: 'blur' } ], - stdPackQty: [ - { required: true, message: '请输入标包数量', trigger: 'blur' } + packQty: [ + { required: true, message: '请输入包装数量', trigger: 'blur' } ], - stdPackUnit: [ - { required: true, message: '请选择标包单位', trigger: 'blur' } + packUnit: [ + { required: true, message: '请选择包装规格', trigger: 'blur' } ], toLocationCode: [ { required: true, message: '请输入到库位代码', trigger: 'blur' } diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue index 8186d8ac3..c40a8abac 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue @@ -568,8 +568,8 @@ const print = async () => { // altUom: '', // altQty: '', // convertRate: '', - // stdPackQty: '', - // stdPackUnit: '', + // packQty: '', + // packUnit: '', // toWarehouseCode: '', // toDockCode: '', // toLocationCode: '', @@ -595,8 +595,8 @@ const print = async () => { // packageObject.expireDate=item.expireDate // packageObject.uom=item.uom // packageObject.qty=item.qty - // packageObject.stdPackQty=item.stdPackQty - // packageObject.stdPackUnit=item.stdPackUnit + // packageObject.packQty=item.packQty + // packageObject.packUnit=item.packUnit // packageObject.convertRate=item.convertRate // packageObject.poNumber=item.poNumber // packageObject.poLine=item.poLine diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts index 8a8097903..d76c6b37f 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts @@ -714,8 +714,8 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive Date: Mon, 5 Feb 2024 11:39:33 +0800 Subject: [PATCH 009/108] =?UTF-8?q?=E6=A0=87=E7=AD=BE=E6=89=93=E5=8D=B0?= =?UTF-8?q?=E4=B9=8B=E5=89=8D=E9=9C=80=E8=A6=81=E5=85=88=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E8=87=AA=E6=A3=80=E6=8A=A5=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/supplierdeliverRequestMain/index.ts | 8 ++++++++ .../supplierdeliverRequestMain/index.vue | 12 +++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/src/api/wms/supplierdeliverRequestMain/index.ts b/src/api/wms/supplierdeliverRequestMain/index.ts index 676a7200c..b6f9f4bc8 100644 --- a/src/api/wms/supplierdeliverRequestMain/index.ts +++ b/src/api/wms/supplierdeliverRequestMain/index.ts @@ -83,10 +83,18 @@ export const appSupplierdeliverRequestMain = async (id: number) => { export const rejSupplierdeliverRequestMain = async (id: number) => { return await request.post({ url: `/wms/supplierdeliver-request-main/rej?id=` + id }) } + +// 校验是否上传自检报告 +export const selfCheckReport = async (id) => { + return await request.post({ url: `/wms/supplierdeliver-request-main/selfCheckReport?id=` + id }) +} + // 生成标签 export const genLabel = async (id) => { return await request.post({ url: `/wms/supplierdeliver-request-main/genLabel?id=` + id }) } + + // 生成记录 export const genRecordsSupplierdeliverRequestMain = async (id) => { return await request.post({ url: `/wms/supplierdeliver-request-main/genRecords?id=` + id }) diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue index c40a8abac..ccb447b40 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue @@ -543,7 +543,17 @@ const genLabelId = ref() // 生成标签 const pointRef = ref() const handlePoint = async (row) => { - pointRef.value.openPoint(row.id) + await SupplierdeliverRequestMainApi.selfCheckReport(row.id).then(res => { + console.log(row.id) + if(!res){ + message.warning("请先上传自检报告!") + return + }else{ + pointRef.value.openPoint(row.id) + } + }).catch(err => { + console.log("自检报告校验异常",err) + }) } // 标签打印 const labelPrint = async (row) => { From 2a8204bc3e2bf9eef4a3214b882fc99e73df9d7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Mon, 5 Feb 2024 11:51:51 +0800 Subject: [PATCH 010/108] =?UTF-8?q?=E5=8C=85=E8=A3=85=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../itemManage/itempackage/index.vue | 16 ++++++++-------- ...itempackaging.data.ts => itempackage.data.ts} | 0 .../labelManage/manufacturePackage/index.vue | 2 +- .../labelManage/purchasePackage/index.vue | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) rename src/views/wms/basicDataManage/itemManage/itempackage/{itempackaging.data.ts => itempackage.data.ts} (100%) diff --git a/src/views/wms/basicDataManage/itemManage/itempackage/index.vue b/src/views/wms/basicDataManage/itemManage/itempackage/index.vue index 793495c4d..35721bc60 100644 --- a/src/views/wms/basicDataManage/itemManage/itempackage/index.vue +++ b/src/views/wms/basicDataManage/itemManage/itempackage/index.vue @@ -60,7 +60,7 @@ @@ -68,9 +68,9 @@ diff --git a/src/views/Home/Index.vue b/src/views/Home/Index.vue deleted file mode 100644 index 1cc81ac3a..000000000 --- a/src/views/Home/Index.vue +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - diff --git a/src/views/Home/Index2.vue b/src/views/Home/Index2.vue deleted file mode 100644 index c9429ab10..000000000 --- a/src/views/Home/Index2.vue +++ /dev/null @@ -1,319 +0,0 @@ - - - - - - - - - - - - - - {{ t('analysis.newUser') }} - - - - - - - - - - - - - - - - - - - - - {{ t('analysis.unreadInformation') }} - - - - - - - - - - - - - - - - - - - - - {{ t('analysis.transactionAmount') }} - - - - - - - - - - - - - - - - - - - - - {{ t('analysis.totalShopping') }} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/Home/components/material.vue b/src/views/Home/components/material.vue deleted file mode 100644 index 83aadaa35..000000000 --- a/src/views/Home/components/material.vue +++ /dev/null @@ -1,336 +0,0 @@ - - - - - - - 今日到货计划(已发货) - {{materialData?.preparetoissueTodayCount}}单 - - - - - - 今日备料计划(已发料) - {{materialData?.preparetoissueTodayCount}}单 - - - - - - 今日叫料请求(已发料) - {{materialData?.issueRequestTodayCount}}单 - - - - - - 空闲库位数/总库位数 - {{materialData?.freeLocationCount}}个/{{materialData?.totalLocationCount}}个 - - - - - - - 呆滞库存预警 - - - - - - - - - {{ formatter(scope.row.uom, DICT_TYPE.UOM) }} - - - - - - - {{ formatter(scope.row.inventoryStatus, DICT_TYPE.INVENTORY_STATUS) }} - - - - - - - - - {{ formatDate(scope.row.planDate) }} - - - - - {{ formatDate(scope.row.planDate) }} - - - - - {{ formatDate(scope.row.planDate) }} - - - - - - - - - - {{ formatDate(scope.row.planDate) }} - - - - - - 超期库存预警 - - - - - - - - - {{ formatter(scope.row.uom, DICT_TYPE.UOM) }} - - - - - - - {{ formatter(scope.row.inventoryStatus, DICT_TYPE.INVENTORY_STATUS) }} - - - - - - - - - {{ formatDate(scope.row.planDate) }} - - - - - {{ formatDate(scope.row.planDate) }} - - - - - {{ formatDate(scope.row.planDate) }} - - - - - - - - - - {{ formatDate(scope.row.planDate) }} - - - - - - - - 高低储预警 - - - - - - - - - {{ formatter(scope.row.uom, DICT_TYPE.UOM) }} - - - - - - - {{ formatter(scope.row.inventoryStatus, DICT_TYPE.INVENTORY_STATUS) }} - - - - - - - - - {{ formatDate(scope.row.planDate) }} - - - - - {{ formatDate(scope.row.planDate) }} - - - - - {{ formatDate(scope.row.planDate) }} - - - - - - - - - - {{ formatDate(scope.row.planDate) }} - - - - - - 待处理任务 - - - - - - - diff --git a/src/views/Home/components/produce.vue b/src/views/Home/components/produce.vue deleted file mode 100644 index 294bc28ef..000000000 --- a/src/views/Home/components/produce.vue +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - 今日生产计划 - - - - - - - - - {{ formatDate(scope.row.planDate) }} - - - - {{ formatDate(scope.row.beginTime) }} - - - - {{ formatDate(scope.row.endTime) }} - - - - - - - 线边安全库存 - - - - - - - - - - - - - - - - - - - - {{ formatDate(scope.row.createTime) }} - - - - - {{ formatDate(scope.row.createTime) }} - - - - - - - - 待上架成品库存 - - - - - - {{ formatDate(scope.row.requestTime) }} - - - - - {{ formatDate(scope.row.requestDueTime) }} - - - - - - - - {{ formatDate(scope.row.acceptTime) }} - - - - - - - - - - {{ formatter(scope.row.autoComplete, DICT_TYPE.TRUE_FALSE) }} - - - - - {{ formatter(scope.row.allowModifyLocation, DICT_TYPE.TRUE_FALSE) }} - - - - - {{ formatter(scope.row.allowModifyQty, DICT_TYPE.TRUE_FALSE) }} - - - - - {{ formatter(scope.row.allowBiggerQty, DICT_TYPE.TRUE_FALSE) }} - - - - - {{ formatter(scope.row.allowSmallerQty, DICT_TYPE.TRUE_FALSE) }} - - - - - {{ - formatter(scope.row.allowModifyInventoryStatus, DICT_TYPE.TRUE_FALSE) - }} - - - - - {{ formatter(scope.row.allowContinuousScanning, DICT_TYPE.TRUE_FALSE) }} - - - - - {{ formatter(scope.row.allowPartialComplete, DICT_TYPE.TRUE_FALSE) }} - - - - - {{ formatter(scope.row.allowModifyBatch, DICT_TYPE.TRUE_FALSE) }} - - - - - {{ formatter(scope.row.allowModifyPackingNumber, DICT_TYPE.TRUE_FALSE) }} - - - - - - 待处理任务 - - - - - - - diff --git a/src/views/Home/components/product.vue b/src/views/Home/components/product.vue deleted file mode 100644 index 5124d9c11..000000000 --- a/src/views/Home/components/product.vue +++ /dev/null @@ -1,313 +0,0 @@ - - - - - - - 今日到货计划(已发货) - {{ productData?.deliverPlanTodayCount || 0 }}单 - - - - - - - 呆滞库存预警 - - - - - - - - - {{ formatter(scope.row.uom, DICT_TYPE.UOM) }} - - - - - - - {{ formatter(scope.row.inventoryStatus, DICT_TYPE.INVENTORY_STATUS) }} - - - - - - - - - {{ formatDate(scope.row.planDate) }} - - - - - {{ formatDate(scope.row.planDate) }} - - - - - {{ formatDate(scope.row.planDate) }} - - - - - - - - - - {{ formatDate(scope.row.planDate) }} - - - - - - 超期库存预警 - - - - - - - - - {{ formatter(scope.row.uom, DICT_TYPE.UOM) }} - - - - - - - {{ formatter(scope.row.inventoryStatus, DICT_TYPE.INVENTORY_STATUS) }} - - - - - - - - - {{ formatDate(scope.row.planDate) }} - - - - - {{ formatDate(scope.row.planDate) }} - - - - - {{ formatDate(scope.row.planDate) }} - - - - - - - - - - {{ formatDate(scope.row.planDate) }} - - - - - - - - 高低储预警 - - - - - - - - - {{ formatter(scope.row.uom, DICT_TYPE.UOM) }} - - - - - - - {{ formatter(scope.row.inventoryStatus, DICT_TYPE.INVENTORY_STATUS) }} - - - - - - - - - {{ formatDate(scope.row.planDate) }} - - - - - {{ formatDate(scope.row.planDate) }} - - - - - {{ formatDate(scope.row.planDate) }} - - - - - - - - - - {{ formatDate(scope.row.planDate) }} - - - - - - 待处理任务 - - - - - - - diff --git a/src/views/Home/components/supplierIndex.vue b/src/views/Home/components/supplierIndex.vue deleted file mode 100644 index c665f9867..000000000 --- a/src/views/Home/components/supplierIndex.vue +++ /dev/null @@ -1,452 +0,0 @@ - - - - - - 订单数 - - - - {{ supplierData?.openPurchaseCount || 0 }}单 - 开放订单数 - - - - - - {{ supplierData?.allPurchaseCount || 0 }}单 - 全部订单数 - - - - - - - 要货计划数 - - - - {{ supplierData?.openPurchasePlanCount || 0 }}单 - 开放计划数 - - - - - - {{ supplierData?.allPurchasePlanCount || 0 }}单 - 全部计划数 - - - - - - - 发货单数 - - - - {{ supplierData?.notTakeSupplierdeliverCount || 0 }}单 - 未收货订单数 - - - - - - {{ supplierData?.takeSupplierdeliverCount || 0 }}单 - 已收货订单数 - - - - - - - - - 本月发货单趋势 - - - - 本月发货零件TOP10 - - - - - - 最新消息 - - - - - - - - - - - - - {{ scope.row.templateParams }} - - - - - - - - - - - - - - - - - - 最新扣分明细 - - - - - - - - - - 本月退货明细 - - - - - - - - - - - - - - - - - - - - {{ formatter(scope.row.inventoryStatus,DICT_TYPE.INVENTORY_STATUS) }} - - - - - - - - - - - - - - - {{ formatter(scope.row.uom,DICT_TYPE.UOM) }} - - - - - - - {{ formatDate(scope.row.createTime) }} - - - - - - - 本月索赔明细 - - - - - - - - - - - - {{ formatDate(scope.row.createTime) }} - - - - - - - - - - diff --git a/src/views/Home/echarts-data.ts b/src/views/Home/echarts-data.ts deleted file mode 100644 index 15c7b4afd..000000000 --- a/src/views/Home/echarts-data.ts +++ /dev/null @@ -1,286 +0,0 @@ -import { EChartsOption } from 'echarts' - -const { t } = useI18n() - -export const lineOptions: EChartsOption = { - - xAxis: { - data: [ 1, 2, 3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30 - ], - boundaryGap: false, - axisTick: { - show: false - } - }, - grid: { - left: 20, - right: 20, - bottom: 20, - top: 50, - containLabel: true - }, - tooltip: { - trigger: 'axis', - axisPointer: { - type: 'cross' - }, - padding: [5, 10] - }, - yAxis: { - axisTick: { - show: false - } - }, - legend: { - data: ['销售','哈哈'], - top: 20 - }, - series: [ - { - name: '销售', - smooth: true, - type: 'line', - data: [100, 120, 161, 134, 105, 160, 165, 114, 163, 185, 118, 123], - animationDuration: 2800, - animationEasing: 'cubicInOut' - }, - { - name: '哈哈', - smooth: true, - type: 'line', - itemStyle: {}, - data: [120, 82, 91, 154, 162, 140, 145, 250, 134, 56, 99, 123], - animationDuration: 2800, - animationEasing: 'quadraticOut' - } - ] -} - -export const pieOptions: EChartsOption = { - // title: { - // text: t('analysis.userAccessSource'), - // left: 'center' - // }, - tooltip: { - trigger: 'item', - formatter: '{a} {b} : {c} ({d}%)' - }, - legend: { - orient: 'vertical', - left: 'left', - top:20, - data: [ - t('analysis.directAccess'), - t('analysis.mailMarketing'), - t('analysis.allianceAdvertising'), - t('analysis.videoAdvertising'), - t('analysis.searchEngines') - ] - }, - series: [ - { - name: t('analysis.userAccessSource'), - type: 'pie', - radius: '55%', - center: ['50%', '60%'], - data: [ - { value: 335, name: t('analysis.directAccess') }, - { value: 310, name: t('analysis.mailMarketing') }, - { value: 234, name: t('analysis.allianceAdvertising') }, - { value: 135, name: t('analysis.videoAdvertising') }, - { value: 1548, name: t('analysis.searchEngines') } - ] - } - ] -} - -export const barOptions: EChartsOption = { - title: { - text: '', - left: 'center' - }, - tooltip: { - trigger: 'axis', - axisPointer: { - type: 'shadow' - } - }, - grid: { - left: 50, - right: 20, - bottom: 20 - }, - xAxis: { - type: 'category', - data: [], - axisTick: { - alignWithLabel: true - } - }, - yAxis: { - type: 'value' - }, - series: [ - { - name: t('analysis.activeQuantity'), - data: [], - type: 'bar' - } - ] -} - -export const radarOption: EChartsOption = { - legend: { - data: [t('workplace.personal'), t('workplace.team')] - }, - radar: { - // shape: 'circle', - indicator: [ - { name: t('workplace.quote'), max: 65 }, - { name: t('workplace.contribution'), max: 160 }, - { name: t('workplace.hot'), max: 300 }, - { name: t('workplace.yield'), max: 130 }, - { name: t('workplace.follow'), max: 100 } - ] - }, - series: [ - { - name: `xxx${t('workplace.index')}`, - type: 'radar', - data: [ - { - value: [42, 30, 20, 35, 80], - name: t('workplace.personal') - }, - { - value: [50, 140, 290, 100, 90], - name: t('workplace.team') - } - ] - } - ] -} - -export const wordOptions = { - series: [ - { - type: 'wordCloud', - gridSize: 2, - sizeRange: [12, 50], - rotationRange: [-90, 90], - shape: 'pentagon', - width: 600, - height: 400, - drawOutOfBound: true, - textStyle: { - color: function () { - return ( - 'rgb(' + - [ - Math.round(Math.random() * 160), - Math.round(Math.random() * 160), - Math.round(Math.random() * 160) - ].join(',') + - ')' - ) - } - }, - emphasis: { - textStyle: { - shadowBlur: 10, - shadowColor: '#333' - } - }, - data: [ - { - name: 'Sam S Club', - value: 10000, - textStyle: { - color: 'black' - }, - emphasis: { - textStyle: { - color: 'red' - } - } - }, - { - name: 'Macys', - value: 6181 - }, - { - name: 'Amy Schumer', - value: 4386 - }, - { - name: 'Jurassic World', - value: 4055 - }, - { - name: 'Charter Communications', - value: 2467 - }, - { - name: 'Chick Fil A', - value: 2244 - }, - { - name: 'Planet Fitness', - value: 1898 - }, - { - name: 'Pitch Perfect', - value: 1484 - }, - { - name: 'Express', - value: 1112 - }, - { - name: 'Home', - value: 965 - }, - { - name: 'Johnny Depp', - value: 847 - }, - { - name: 'Lena Dunham', - value: 582 - }, - { - name: 'Lewis Hamilton', - value: 555 - }, - { - name: 'KXAN', - value: 550 - }, - { - name: 'Mary Ellen Mark', - value: 462 - }, - { - name: 'Farrah Abraham', - value: 366 - }, - { - name: 'Rita Ora', - value: 360 - }, - { - name: 'Serena Williams', - value: 282 - }, - { - name: 'NCAA baseball tournament', - value: 273 - }, - { - name: 'Point Break', - value: 265 - } - ] - } - ] -} diff --git a/src/views/Home/types.ts b/src/views/Home/types.ts deleted file mode 100644 index e6313d36c..000000000 --- a/src/views/Home/types.ts +++ /dev/null @@ -1,55 +0,0 @@ -export type WorkplaceTotal = { - project: number - access: number - todo: number -} - -export type Project = { - name: string - icon: string - message: string - personal: string - time: Date | number | string -} - -export type Notice = { - title: string - type: string - keys: string[] - date: Date | number | string -} - -export type Shortcut = { - name: string - icon: string - url: string -} - -export type RadarData = { - personal: number - team: number - max: number - name: string -} -export type AnalysisTotalTypes = { - users: number - messages: number - moneys: number - shoppings: number -} - -export type UserAccessSource = { - value: number - name: string -} - -export type WeeklyUserActivity = { - value: number - name: string -} - -export type MonthlySales = { - name: string - estimate: number - actual: number -} diff --git a/src/views/Login/Login.vue b/src/views/Login/Login.vue deleted file mode 100644 index a0025ab66..000000000 --- a/src/views/Login/Login.vue +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - - {{ underlineToHump(appStore.getTitle) }} - - - - - - {{ t('login.welcome') }} - - {{ t('login.message') }} - - - - - - - - - - {{ underlineToHump(appStore.getTitle) }} - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/Login/components/LoginForm.vue b/src/views/Login/components/LoginForm.vue deleted file mode 100644 index 6c235f45a..000000000 --- a/src/views/Login/components/LoginForm.vue +++ /dev/null @@ -1,284 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ t('login.remember') }} - - - - {{ t('login.forgetPassword') }} - - - - - - - - - - - - - - - - - diff --git a/src/views/Login/components/LoginFormTitle.vue b/src/views/Login/components/LoginFormTitle.vue deleted file mode 100644 index cdf4facce..000000000 --- a/src/views/Login/components/LoginFormTitle.vue +++ /dev/null @@ -1,26 +0,0 @@ - - - {{ getFormTitle }} - - - diff --git a/src/views/Login/components/MobileForm.vue b/src/views/Login/components/MobileForm.vue deleted file mode 100644 index ebb36b84e..000000000 --- a/src/views/Login/components/MobileForm.vue +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ t('login.getSmsCode') }} - - - {{ mobileCodeTimer }}秒后可重新获取 - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/Login/components/QrCodeForm.vue b/src/views/Login/components/QrCodeForm.vue deleted file mode 100644 index 31d28453e..000000000 --- a/src/views/Login/components/QrCodeForm.vue +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - {{ t('login.qrcode') }} - - - - - - - - diff --git a/src/views/Login/components/RegisterForm.vue b/src/views/Login/components/RegisterForm.vue deleted file mode 100644 index 23b3bd428..000000000 --- a/src/views/Login/components/RegisterForm.vue +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/Login/components/SSOLogin.vue b/src/views/Login/components/SSOLogin.vue deleted file mode 100644 index f31ab0e5f..000000000 --- a/src/views/Login/components/SSOLogin.vue +++ /dev/null @@ -1,199 +0,0 @@ - - - - - - - - - - - 此第三方应用请求获得以下权限: - - - - {{ formatScope(scope) }} - - - - - - - 同意授权 - 授 权 中... - - 拒绝 - - - - - - diff --git a/src/views/Login/components/index.ts b/src/views/Login/components/index.ts deleted file mode 100644 index 204ad73d0..000000000 --- a/src/views/Login/components/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -import LoginForm from './LoginForm.vue' -import MobileForm from './MobileForm.vue' -import LoginFormTitle from './LoginFormTitle.vue' -import RegisterForm from './RegisterForm.vue' -import QrCodeForm from './QrCodeForm.vue' -import SSOLoginVue from './SSOLogin.vue' - -export { LoginForm, MobileForm, LoginFormTitle, RegisterForm, QrCodeForm, SSOLoginVue } diff --git a/src/views/Login/components/useLogin.ts b/src/views/Login/components/useLogin.ts deleted file mode 100644 index b4a02f8f1..000000000 --- a/src/views/Login/components/useLogin.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Ref } from 'vue' - -export enum LoginStateEnum { - LOGIN, - REGISTER, - RESET_PASSWORD, - MOBILE, - QR_CODE, - SSO -} - -const currentState = ref(LoginStateEnum.LOGIN) - -export function useLoginState() { - function setLoginState(state: LoginStateEnum) { - currentState.value = state - } - const getLoginState = computed(() => currentState.value) - - function handleBackLogin() { - setLoginState(LoginStateEnum.LOGIN) - } - - return { - setLoginState, - getLoginState, - handleBackLogin - } -} - -export function useFormValid(formRef: Ref) { - async function validForm() { - const form = unref(formRef) - if (!form) return - const data = await form.validate() - return data as T - } - - return { - validForm - } -} diff --git a/src/views/Profile/Index.vue b/src/views/Profile/Index.vue deleted file mode 100644 index e813f0435..000000000 --- a/src/views/Profile/Index.vue +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - {{ t('profile.user.title') }} - - - - - - - - {{ t('profile.info.title') }} - - - - - - - - - - - - - - - - - - diff --git a/src/views/Profile/components/BasicInfo.vue b/src/views/Profile/components/BasicInfo.vue deleted file mode 100644 index e2189b156..000000000 --- a/src/views/Profile/components/BasicInfo.vue +++ /dev/null @@ -1,92 +0,0 @@ - - - - - {{ t('profile.user.man') }} - {{ t('profile.user.woman') }} - - - - - - - - - diff --git a/src/views/Profile/components/ProfileUser.vue b/src/views/Profile/components/ProfileUser.vue deleted file mode 100644 index b493499f3..000000000 --- a/src/views/Profile/components/ProfileUser.vue +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - {{ t('profile.user.username') }} - {{ userInfo?.username }} - - - - {{ t('profile.user.mobile') }} - {{ userInfo?.mobile }} - - - - {{ t('profile.user.email') }} - {{ userInfo?.email }} - - - - {{ t('profile.user.dept') }} - {{ userInfo?.dept.name }} - - - - {{ t('profile.user.posts') }} - - {{ userInfo?.posts.map((post) => post.name).join(',') }} - - - - - {{ t('profile.user.roles') }} - - {{ userInfo?.roles.map((role) => role.name).join(',') }} - - - - - {{ t('profile.user.createTime') }} - {{ formatDate(userInfo?.createTime) }} - - - - - - - diff --git a/src/views/Profile/components/ResetPwd.vue b/src/views/Profile/components/ResetPwd.vue deleted file mode 100644 index 477be91f4..000000000 --- a/src/views/Profile/components/ResetPwd.vue +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/src/views/Profile/components/UserAvatar.vue b/src/views/Profile/components/UserAvatar.vue deleted file mode 100644 index c20168fa7..000000000 --- a/src/views/Profile/components/UserAvatar.vue +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - diff --git a/src/views/Profile/components/UserSocial.vue b/src/views/Profile/components/UserSocial.vue deleted file mode 100644 index 2f021abfd..000000000 --- a/src/views/Profile/components/UserSocial.vue +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - {{ row.title }} - - - - - - 已绑定 - - - - 未绑定 - - - - - - - diff --git a/src/views/Profile/components/index.ts b/src/views/Profile/components/index.ts deleted file mode 100644 index 9e1883cf4..000000000 --- a/src/views/Profile/components/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -import BasicInfo from './BasicInfo.vue' -import ProfileUser from './ProfileUser.vue' -import ResetPwd from './ResetPwd.vue' -import UserAvatarVue from './UserAvatar.vue' -import UserSocial from './UserSocial.vue' - -export { BasicInfo, ProfileUser, ResetPwd, UserAvatarVue, UserSocial } diff --git a/src/views/Redirect/Redirect.vue b/src/views/Redirect/Redirect.vue deleted file mode 100644 index f7717ce77..000000000 --- a/src/views/Redirect/Redirect.vue +++ /dev/null @@ -1,28 +0,0 @@ - - - - diff --git a/src/views/report/goview/index.vue b/src/views/report/goview/index.vue deleted file mode 100644 index 1bac28692..000000000 --- a/src/views/report/goview/index.vue +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - diff --git a/src/views/report/jmreport/index.vue b/src/views/report/jmreport/index.vue deleted file mode 100644 index e05bb51f5..000000000 --- a/src/views/report/jmreport/index.vue +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - From 64187b3b0331d2f5926da3d8fa01f2a6cf2b8a61 Mon Sep 17 00:00:00 2001 From: chenfang Date: Tue, 6 Feb 2024 09:06:54 +0800 Subject: [PATCH 015/108] =?UTF-8?q?=E7=89=A9=E6=96=99=E5=BA=93=E5=8C=BA?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E7=AE=A1=E7=90=86=E5=AD=97=E6=AE=B5=E5=B1=95?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wms/basicDataManage/itemarea/index.vue | 25 +- .../basicDataManage/itemarea/itemarea.data.ts | 403 +++++++++++++++++- 2 files changed, 406 insertions(+), 22 deletions(-) diff --git a/src/views/wms/basicDataManage/itemarea/index.vue b/src/views/wms/basicDataManage/itemarea/index.vue index e96747b24..64725bebd 100644 --- a/src/views/wms/basicDataManage/itemarea/index.vue +++ b/src/views/wms/basicDataManage/itemarea/index.vue @@ -51,7 +51,18 @@ /> - + @@ -59,8 +70,9 @@ \ No newline at end of file diff --git a/src/views/wms/basicDataManage/documentSetting/plansetting/plansetting.data.ts b/src/views/wms/basicDataManage/documentSetting/plansetting/plansetting.data.ts new file mode 100644 index 000000000..88e08994d --- /dev/null +++ b/src/views/wms/basicDataManage/documentSetting/plansetting/plansetting.data.ts @@ -0,0 +1,259 @@ +import type { CrudSchema } from '@/hooks/web/useCrudSchemas' +import { dateFormatter } from '@/utils/formatTime' +const { t } = useI18n() // 国际化 + +/** + * @returns {Array} 计划设置 + */ +export const Plansetting = useCrudSchemas(reactive([ + { + label: '代码', + field: 'code', + sort: 'custom', + table: { + width: 180, + fixed: 'left' + }, + isSearch: true, + form: { + componentProps: { + disabled: true + } + } + }, + { + label: '申请模式', + field: 'requestMode', + dictType: DICT_TYPE.REQEUST_MODE, + dictClass: 'string', + isTable: true, + sort: 'custom', + table: { + width: 150 + }, + form: { + componentProps: { + disabled: true + } + } + }, + { + label: '自动提交', + field: 'autoCommit', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: true, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: 'TRUE', + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE' + } + }, + }, + { + label: '自动通过', + field: 'autoAgree', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: true, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: 'TRUE', + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE' + } + }, + }, + { + label: '自动执行', + field: 'autoExecute', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: true, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: 'TRUE', + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE' + } + }, + }, + { + label: '跳过任务生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: true, + sort: 'custom', + table: { + width: 180 + }, + form: { + component: 'Switch', + value: 'TRUE', + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE' + } + }, + }, + { + label: '是否可用', + field: 'available', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: 'TRUE', + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE' + } + }, + isTable: false, + isForm: false + }, + { + label: '生效时间', + field: 'activeTime', + isTable: true, + formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, + sort: 'custom', + table: { + width: 180 + }, + form: { + component: 'DatePicker', + componentProps: { + style: {width:'100%'}, + type: 'datetime', + dateFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'x', + } + }, + }, + { + label: '失效时间', + field: 'expireTime', + isTable: true, + formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, + sort: 'custom', + table: { + width: 180 + }, + form: { + component: 'DatePicker', + componentProps: { + style: {width:'100%'}, + type: 'datetime', + dateFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'x', + } + }, + }, + { + label: '创建时间', + field: 'createTime', + formatter: dateFormatter, + isTable: false, + isForm: false, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, + sort: 'custom', + table: { + width: 180 + }, + form: { + component: 'DatePicker', + componentProps: { + style: {width:'100%'}, + type: 'datetime', + dateFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'x', + } + }, + }, + { + label: '备注', + field: 'remark', + isTable: true, + sort: 'custom', + table: { + width: 150 + }, + isSearch: true, + }, + { + label: '创建者', + field: 'creator', + isTable: false, + isForm: false, + sort: 'custom', + table: { + width: 150 + }, + }, + { + label: '操作', + field: 'action', + isDetail: false, + isForm: false , + table: { + width: 150, + fixed: 'right' + } + } +])) + +//表单校验 +export const PlansettingRules = reactive({ + code: [ + { required: true, message: '请输入代码', trigger: 'blur' }, + { max: 50, message: '不得超过50个字符', trigger: 'blur' } + ], + requestMode: [ + { required: true, message: '请选择申请模式', trigger: 'change' } + ], + autoCommit: [ + { required: true, message: '请选择是否自动提交', trigger: 'change' } + ], + autoAgree: [ + { required: true, message: '请选择是否自动通过', trigger: 'change' } + ], + autoExecute: [ + { required: true, message: '请选择是否自动执行', trigger: 'change' } + ], + directCreateRecord: [ + { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } + ], + remark: [ + { max: 50, message: '不得超过50个字符', trigger: 'blur' } + ], +}) \ No newline at end of file From 34f63132d9012020ee940226212ead07f35795e6 Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Tue, 6 Feb 2024 12:00:02 +0800 Subject: [PATCH 019/108] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=AE=A1=E6=89=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../purchasePlanMain/purchasePlanMain.data.ts | 41 ++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts index 0560578f9..c7778c0b0 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts @@ -126,6 +126,44 @@ export const PurchasePlanMain = useCrudSchemas(reactive([ }, isForm: false, }, + { + label: '自动发布', + field: 'autoPublish', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: true, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: "TRUE", + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE' + } + } + }, + { + label: '自动接收', + field: 'autoAccept', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: true, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: "TRUE", + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE' + } + } + }, { label: '是否可用', field: 'available', @@ -141,7 +179,8 @@ export const PurchasePlanMain = useCrudSchemas(reactive([ value: 'TRUE', componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } }, isSearch: true, From 8157f958085261e6cdd75d75b96ec8ece39396a4 Mon Sep 17 00:00:00 2001 From: chenfang Date: Tue, 6 Feb 2024 14:56:57 +0800 Subject: [PATCH 020/108] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=89=A9=E5=93=81?= =?UTF-8?q?=E5=8C=85=E8=A3=85=E8=A7=84=E6=A0=BC=E5=B1=95=E7=A4=BA=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../packageunit/packageunit.data.ts | 166 +++++++++++++---- .../supplieritem/supplieritem.data.ts | 173 +++++++++--------- 2 files changed, 216 insertions(+), 123 deletions(-) diff --git a/src/views/wms/basicDataManage/itemManage/packageunit/packageunit.data.ts b/src/views/wms/basicDataManage/itemManage/packageunit/packageunit.data.ts index 355ef86cb..10e7f6f1f 100644 --- a/src/views/wms/basicDataManage/itemManage/packageunit/packageunit.data.ts +++ b/src/views/wms/basicDataManage/itemManage/packageunit/packageunit.data.ts @@ -1,33 +1,41 @@ import type { CrudSchema } from '@/hooks/web/useCrudSchemas' import { dateFormatter } from '@/utils/formatTime' -// 表单校验 -export const PackageunitRules = reactive({ - code: [required], - name: [required], - available: [required], - concurrencyStamp: [required], - desc: [required], -}) - export const Packageunit = useCrudSchemas(reactive([ - { - label: 'id', - field: 'id', - sort: 'custom', - isForm: false, - }, + // { + // label: 'id', + // field: 'id', + // sort: 'custom', + // isForm: false, + // }, { label: '包装代码', field: 'code', sort: 'custom', isSearch: true, + table: { + width: 150 + }, }, { label: '包装名称', field: 'name', sort: 'custom', isSearch: true, + table: { + width: 150 + }, + }, + { + label: '包装类型', + field: 'type', + dictType: DICT_TYPE.PACK_UNIT_TYPE, + dictClass: 'string', + sort: 'custom', + isSearch: true, + table: { + width: 150 + }, }, { label: '长', @@ -74,11 +82,74 @@ export const Packageunit = useCrudSchemas(reactive([ label: '是否可用', field: 'available', sort: 'custom', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + form: { + component: 'Switch', + value: 'TRUE', + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE' + } + }, + table: { + width: 150 + }, + }, + { + label: '包装描述', + field: 'desc', + sort: 'custom', + isSearch: true, + table: { + width: 150 + }, + }, + { + label: '是否重复使用', + field: 'reuse', + sort: 'custom', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isSearch: true, + form: { + component: 'Switch', + value: 'TRUE', + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE' + } + }, + table: { + width: 150 + }, + }, + { + label: '是否管理包装库存', + field: 'manageBalance', + sort: 'custom', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isSearch: true, + form: { + component: 'Switch', + value: 'TRUE', + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE' + } + }, + table: { + width: 170 + }, }, { label: '生效时间', field: 'activeTime', sort: 'custom', + table: { + width: 180 + }, formatter: dateFormatter, form: { component: 'DatePicker', @@ -92,6 +163,9 @@ export const Packageunit = useCrudSchemas(reactive([ label: '失效时间', field: 'expireTime', sort: 'custom', + table: { + width: 180 + }, formatter: dateFormatter, form: { component: 'DatePicker', @@ -110,6 +184,9 @@ export const Packageunit = useCrudSchemas(reactive([ label: '创建时间', field: 'createTime', sort: 'custom', + table: { + width: 180 + }, formatter: dateFormatter, isForm: false, }, @@ -117,6 +194,10 @@ export const Packageunit = useCrudSchemas(reactive([ label: '删除时间', field: 'deletionTime', sort: 'custom', + isForm: false, + table: { + width: 180 + }, formatter: dateFormatter, form: { component: 'DatePicker', @@ -127,46 +208,44 @@ export const Packageunit = useCrudSchemas(reactive([ }, }, { - label: '删除者ID', + label: '删除者', field: 'deleterId', sort: 'custom', + isForm: false, + table: { + width: 150 + }, }, { label: '扩展属性', field: 'extraProperties', sort: 'custom', + isForm: false, + table: { + width: 150 + }, }, { label: '并发乐观锁', field: 'concurrencyStamp', sort: 'custom', + isForm: false, + table: { + width: 150 + }, form: { component: 'InputNumber', value: 0 }, }, { - label: '地点ID', + label: '地点', field: 'siteId', sort: 'custom', - }, - { - label: '包装描述', - field: 'desc', - sort: 'custom', - isSearch: true, - }, - { - label: '是否重复使用', - field: 'reuse', - sort: 'custom', - isSearch: true, - }, - { - label: '是否管理包装库存', - field: 'manageBalance', - sort: 'custom', - isSearch: true, + isForm: false, + table: { + width: 150 + }, }, { label: '操作', @@ -178,3 +257,20 @@ export const Packageunit = useCrudSchemas(reactive([ } } ])) + +// 表单校验 +export const PackageunitRules = reactive({ + code: [ + { required: true, message: '请输入包装代码', trigger: 'change' } + ], + name: [ + { required: true, message: '请输入包装名称', trigger: 'change' } + ], + type: [ + { required: true, message: '请选择包装类型', trigger: 'change' } + ], + desc: [ + { max: 50, message: '不得超过50个字符', trigger: 'blur' }, + { required: true, message: '请输入包装描述', trigger: 'change' } + ], +}) \ No newline at end of file diff --git a/src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts b/src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts index 61633f20b..d6543a74a 100644 --- a/src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts +++ b/src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts @@ -106,85 +106,85 @@ export const Supplieritem = useCrudSchemas(reactive([ } }, }, - { - label: '供应商包装单位', - field: 'packUnit', - dictType: DICT_TYPE.PACK_UNIT, - dictClass: 'string', - isTable: true, - sort: 'custom', - table: { - width: 150 - } - }, - { - label: '供应商包装量', - field: 'packQty', - sort: 'custom', - table: { - width: 150 - }, - form: { - component: 'InputNumber', - componentProps: { - min: 1, - precision: 6 - } - }, - }, - { - label: '默认收货仓库', - field: 'defaultWarehouseCode', - sort: 'custom', - table: { - width: 150 - }, - form: { - // labelMessage: '信息提示说明!!!', - componentProps: { - isSearchList: true, // 开启查询弹窗 - searchListPlaceholder: '请选择仓库代码', // 输入框占位文本 - searchField: 'code', // 查询弹窗赋值字段 - searchTitle: '仓库信息', // 查询弹窗标题 - searchAllSchemas: Warehouse.allSchemas, // 查询弹窗所需类 - searchPage: WarehouseApi.getWarehousePage, // 查询弹窗所需分页方法 - searchCondition: [{ - key: 'available', - value: 'TRUE', - isMainValue: false - }] - } - } - }, - { - label: '默认收货库位', - field: 'defaultLocationCode', - sort: 'custom', - table: { - width: 150 - }, - form: { - // labelMessage: '信息提示说明!!!', - componentProps: { - isSearchList: true, // 开启查询弹窗 - searchListPlaceholder: '请选择库位代码', // 输入框占位文本 - searchField: 'code', // 查询弹窗赋值字段 - searchTitle: '库位信息', // 查询弹窗标题 - searchAllSchemas: Location.allSchemas, // 查询弹窗所需类 - searchPage: LocationApi.getLocationPage, // 查询弹窗所需分页方法 - searchCondition: [{ - key: 'available', - value: 'TRUE', - isMainValue: false - },{ - key: 'warehouseCode', - value: 'defaultWarehouseCode', - message: '请填写默认收货仓库!', - isMainValue: true - }] - } - } - }, + // { + // label: '供应商包装单位', + // field: 'packUnit', + // dictType: DICT_TYPE.PACK_UNIT, + // dictClass: 'string', + // isTable: true, + // sort: 'custom', + // table: { + // width: 150 + // } + // }, + // { + // label: '供应商包装量', + // field: 'packQty', + // sort: 'custom', + // table: { + // width: 150 + // }, + // form: { + // component: 'InputNumber', + // componentProps: { + // min: 1, + // precision: 6 + // } + // }, + // }, + // { + // label: '默认收货仓库', + // field: 'defaultWarehouseCode', + // sort: 'custom', + // table: { + // width: 150 + // }, + // form: { + // // labelMessage: '信息提示说明!!!', + // componentProps: { + // isSearchList: true, // 开启查询弹窗 + // searchListPlaceholder: '请选择仓库代码', // 输入框占位文本 + // searchField: 'code', // 查询弹窗赋值字段 + // searchTitle: '仓库信息', // 查询弹窗标题 + // searchAllSchemas: Warehouse.allSchemas, // 查询弹窗所需类 + // searchPage: WarehouseApi.getWarehousePage, // 查询弹窗所需分页方法 + // searchCondition: [{ + // key: 'available', + // value: 'TRUE', + // isMainValue: false + // }] + // } + // } + // }, + // { + // label: '默认收货库位', + // field: 'defaultLocationCode', + // sort: 'custom', + // table: { + // width: 150 + // }, + // form: { + // // labelMessage: '信息提示说明!!!', + // componentProps: { + // isSearchList: true, // 开启查询弹窗 + // searchListPlaceholder: '请选择库位代码', // 输入框占位文本 + // searchField: 'code', // 查询弹窗赋值字段 + // searchTitle: '库位信息', // 查询弹窗标题 + // searchAllSchemas: Location.allSchemas, // 查询弹窗所需类 + // searchPage: LocationApi.getLocationPage, // 查询弹窗所需分页方法 + // searchCondition: [{ + // key: 'available', + // value: 'TRUE', + // isMainValue: false + // },{ + // key: 'warehouseCode', + // value: 'defaultWarehouseCode', + // message: '请填写默认收货仓库!', + // isMainValue: true + // }] + // } + // } + // }, // { // label: '结算方式', // field: 'settlementType', @@ -326,15 +326,12 @@ export const SupplieritemRules = reactive({ { max: 50, message: '不得超过50个字符', trigger: 'blur' }, { validator:validateYS, message: '请输入正确的代码', trigger: 'blur'} ], - packUnit: [ - { required: true, message: '请选择供应商包装单位', trigger: 'change' } - ], - packQty: [ - { required: true, message: '请输入供应商包装量', trigger: 'blur' } - ], - packQtyOfContainer: [ - { required: true, message: '请输入每器具包装数', trigger: 'blur' } - ], + // packUnit: [ + // { required: true, message: '请选择供应商包装单位', trigger: 'change' } + // ], + // packQty: [ + // { required: true, message: '请输入供应商包装量', trigger: 'blur' } + // ], available: [ { required: true, message: '请选择是否可用', trigger: 'change' } ], From 66c7bf67f550f54bbbf51c2d0a2c9e175a00b810 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Tue, 6 Feb 2024 14:57:29 +0800 Subject: [PATCH 021/108] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E8=AE=A1=E5=88=92=20?= =?UTF-8?q?=E5=A4=87=E6=96=99=E8=AE=A1=E5=88=92=20=E5=8F=91=E8=B4=A7?= =?UTF-8?q?=E8=AE=A1=E5=88=92=20=E7=9B=98=E7=82=B9=E8=AE=A1=E5=88=92=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=87=AA=E5=8A=A8=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../count/countPlanMain/countPlanMain.data.ts | 106 ++++++++++++++--- .../deliverPlanMain/deliverPlanMain.data.ts | 109 ++++++++++++++--- .../preparetoissueMain.data.ts | 72 ++++++++++- .../productionMain/productionMain.data.ts | 112 ++++++++++++++---- 4 files changed, 341 insertions(+), 58 deletions(-) diff --git a/src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts b/src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts index 1fc1182df..9a1636498 100644 --- a/src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts +++ b/src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts @@ -1,11 +1,23 @@ import type { CrudSchema } from '@/hooks/web/useCrudSchemas' import { dateFormatter } from '@/utils/formatTime' -const { t } = useI18n() // 国际化 import { Itembasic } from '@/views/wms/basicDataManage/itemManage/itembasic/itembasic.data' import * as ItembasicApi from '@/api/wms/itembasic' import * as LocationApi from '@/api/wms/location' import { Location } from '@/views/wms/basicDataManage/factoryModeling/location/location.data' +import * as getPlansettingApi from '@/api/wms/plansetting/index' + +const { t } = useI18n() // 国际化 + +// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值 +const queryParams = { + pageSize:10, + pageNo:1, + code:'CountPlan' +} + const data = await getPlansettingApi.getPlansettingPage(queryParams) + const plansettingData =data?.list[0]||{} + /** * @returns {Array} 盘点计划主表 */ @@ -338,6 +350,82 @@ export const CountPlanMain = useCrudSchemas(reactive([ } } }, + { + label: '是否可用', + field: 'available', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isSearch: true, + isTable: true, + form: { + component: 'Switch', + value: 'TRUE', + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE' + } + }, + }, + { + label: '自动提交', + field: 'autoCommit', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: true, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: plansettingData.autoCommit, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, + { + label: '自动通过', + field: 'autoAgree', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: true, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: plansettingData.autoAgree, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, + { + label: '自动执行', + field: 'autoExecute', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: true, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: plansettingData.autoExecute, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '最后更新时间', field: 'updateTime', @@ -369,22 +457,6 @@ export const CountPlanMain = useCrudSchemas(reactive([ }, isForm: false, }, - { - label: '是否可用', - field: 'available', - dictType: DICT_TYPE.TRUE_FALSE, - dictClass: 'string', - isSearch: true, - isTable: true, - form: { - component: 'Switch', - value: 'TRUE', - componentProps: { - inactiveValue: 'FALSE', - activeValue: 'TRUE' - } - }, - }, { label: '操作', field: 'action', diff --git a/src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts b/src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts index ef4b4463a..bc3048c0a 100644 --- a/src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts +++ b/src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts @@ -10,8 +10,19 @@ import { Customerdock } from '@/views/wms/basicDataManage/customerManage/custome import * as CustomerItemApi from '@/api/wms/customeritem' import { Customeritem } from '@/views/wms/basicDataManage/customerManage/customeritem/customeritem.data' +import * as getPlansettingApi from '@/api/wms/plansetting/index' + const { t } = useI18n() // 国际化 +// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值 +const queryParams = { + pageSize:10, + pageNo:1, + code:'DeliverPlan' +} + const data = await getPlansettingApi.getPlansettingPage(queryParams) + const plansettingData =data?.list[0]||{} + /** * @returns {Array} 发货计划主表 */ @@ -178,41 +189,71 @@ export const DeliverPlanMain = useCrudSchemas(reactive([ } }, { - label: '最后更新者', - field: 'updater', + label: '是否可用', + field: 'available', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isSearch: true, + isTable: true, sort: 'custom', table: { width: 150 }, - isForm: false, + form: { + component: 'Switch', + value: 'TRUE', + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } }, { - label: '最后更新时间', - field: 'updateTime', - formatter: dateFormatter, - detail: { - dateFormat: 'YYYY-MM-DD HH:mm:ss' - }, + label: '自动提交', + field: 'autoCommit', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: true, sort: 'custom', table: { - width: 180 + width: 150 }, form: { - component: 'DatePicker', + component: 'Switch', + value: plansettingData.autoCommit, componentProps: { - type: 'datetime', - dateFormat: 'YYYY-MM-DD HH:mm:ss', - valueFormat: 'x', + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true } + } + }, + { + label: '自动通过', + field: 'autoAgree', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: true, + sort: 'custom', + table: { + width: 150 }, - isForm: false, + form: { + component: 'Switch', + value: plansettingData.autoAgree, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } }, { - label: '是否可用', - field: 'available', + label: '自动执行', + field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -220,7 +261,7 @@ export const DeliverPlanMain = useCrudSchemas(reactive([ }, form: { component: 'Switch', - value: 'TRUE', + value: plansettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', activeValue: 'TRUE', @@ -228,6 +269,36 @@ export const DeliverPlanMain = useCrudSchemas(reactive([ } } }, + { + label: '最后更新者', + field: 'updater', + sort: 'custom', + table: { + width: 150 + }, + isForm: false, + }, + { + label: '最后更新时间', + field: 'updateTime', + formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, + sort: 'custom', + table: { + width: 180 + }, + form: { + component: 'DatePicker', + componentProps: { + type: 'datetime', + dateFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'x', + } + }, + isForm: false, + }, { label: '操作', field: 'action', diff --git a/src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/preparetoissueMain.data.ts b/src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/preparetoissueMain.data.ts index 988c3540d..69caf84d6 100644 --- a/src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/preparetoissueMain.data.ts +++ b/src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/preparetoissueMain.data.ts @@ -25,11 +25,19 @@ import { Bom } from '@/views/wms/basicDataManage/itemManage/bom/bom.data' import * as WorkStationApi from '@/api/wms/workstation' import { Workstation } from '@/views/wms/basicDataManage/factoryModeling/workstation/workstation.data' - - +import * as getPlansettingApi from '@/api/wms/plansetting/index' const { t } = useI18n() // 国际化 +// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值 +const queryParams = { + pageSize:10, + pageNo:1, + code:'PreparetoissuePlan' +} + const data = await getPlansettingApi.getPlansettingPage(queryParams) + const plansettingData =data?.list[0]||{} + /** * @returns {Array} 备料计划主表 */ @@ -273,6 +281,66 @@ export const PreparetoissueMain = useCrudSchemas(reactive([ }, isForm: false, }, + { + label: '自动提交', + field: 'autoCommit', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: true, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: plansettingData.autoCommit, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, + { + label: '自动通过', + field: 'autoAgree', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: true, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: plansettingData.autoAgree, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, + { + label: '自动执行', + field: 'autoExecute', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: true, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: plansettingData.autoExecute, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '创建时间', field: 'createTime', diff --git a/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts b/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts index c36240d64..f674ce21b 100644 --- a/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts +++ b/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts @@ -15,8 +15,20 @@ import * as ProductionlineitemApi from '@/api/wms/productionlineitem' import { Productionlineitem } from '@/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data' import * as BomApi from '@/api/wms/bom' import { Bom } from '@/views/wms/basicDataManage/itemManage/bom/bom.data' + +import * as getPlansettingApi from '@/api/wms/plansetting/index' + const { t } = useI18n() // 国际化 +// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值 +const queryParams = { + pageSize:10, + pageNo:1, + code:'ProductionPlan' +} + const data = await getPlansettingApi.getPlansettingPage(queryParams) + const plansettingData =data?.list[0]||{} + /** * @returns {Array} 生产计划主表 */ @@ -282,6 +294,86 @@ export const ProductionMain = useCrudSchemas(reactive([ }, isSearch: true, }, + { + label: '是否可用', + field: 'available', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isSearch: true, + isTable: true, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: 'TRUE', + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE' + } + } + }, + { + label: '自动提交', + field: 'autoCommit', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: true, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: plansettingData.autoCommit, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, + { + label: '自动通过', + field: 'autoAgree', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: true, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: plansettingData.autoAgree, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, + { + label: '自动执行', + field: 'autoExecute', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: true, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: plansettingData.autoExecute, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, // { // label: '开始时间', // field: 'beginTime', @@ -399,26 +491,6 @@ export const ProductionMain = useCrudSchemas(reactive([ }, isForm: false, }, - { - label: '是否可用', - field: 'available', - dictType: DICT_TYPE.TRUE_FALSE, - dictClass: 'string', - isSearch: true, - isTable: true, - sort: 'custom', - table: { - width: 150 - }, - form: { - component: 'Switch', - value: 'TRUE', - componentProps: { - inactiveValue: 'FALSE', - activeValue: 'TRUE' - } - } - }, { label: '操作', field: 'action', From 20116b01bb87d4882c6ae0c58939899e42185121 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Tue, 6 Feb 2024 15:06:14 +0800 Subject: [PATCH 022/108] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productionMain/productionMain.data.ts | 114 +++++++++--------- 1 file changed, 58 insertions(+), 56 deletions(-) diff --git a/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts b/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts index f674ce21b..58e3fdf2a 100644 --- a/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts +++ b/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts @@ -1,5 +1,5 @@ import type { CrudSchema } from '@/hooks/web/useCrudSchemas' -import { dateFormatter } from '@/utils/formatTime' +import { dateFormatter,dateFormatter2 } from '@/utils/formatTime' import * as WorkMainApi from '@/api/wms/workMain' import * as WorkDetailApi from '@/api/wms/workDetail' import { WorkDetail, WorkMain } from '../workMain/workMain.data' @@ -38,12 +38,31 @@ export const ProductionMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150, + width: 170, fixed: 'left' }, isForm: false, isSearch: true, }, + { + label: '状态', + field: 'status', + sort: 'custom', + dictType: DICT_TYPE.PLAN_STATUS, + dictClass: 'string', + isTable: true, + table: { + width: 150 + }, + // form: { + // value: '1', + // componentProps: { + // disabled: true + // } + // }, + isForm:false, + isSearch: true, + }, { label: '顺序', field: 'displayOrder', @@ -161,20 +180,20 @@ export const ProductionMain = useCrudSchemas(reactive([ { label: '计划日期', field: 'planDate', - formatter: dateFormatter, + formatter: dateFormatter2, detail: { - dateFormat: 'YYYY-MM-DD HH:mm:ss' + dateFormat: 'YYYY-MM-DD' }, sort: 'custom', table: { - width: 180 + width: 120 }, form: { component: 'DatePicker', componentProps: { style: {width: '100%'}, - type: 'datetime', - dateFormat: 'YYYY-MM-DD HH:mm:ss', + type: 'date', + dateFormat: 'YYYY-MM-DD', valueFormat: 'x', } }, @@ -245,55 +264,6 @@ export const ProductionMain = useCrudSchemas(reactive([ }, isTable: false, }, - { - label: '创建者', - field: 'creator', - sort: 'custom', - table: { - width: 150 - }, - isForm: false, - }, - { - label: '创建时间', - field: 'createTime', - formatter: dateFormatter, - detail: { - dateFormat: 'YYYY-MM-DD HH:mm:ss' - }, - sort: 'custom', - table: { - width: 180 - }, - form: { - component: 'DatePicker', - componentProps: { - style: {width: '100%'}, - type: 'datetime', - dateFormat: 'YYYY-MM-DD HH:mm:ss', - valueFormat: 'x', - } - }, - isForm: false, - }, - { - label: '状态', - field: 'status', - sort: 'custom', - dictType: DICT_TYPE.PLAN_STATUS, - dictClass: 'string', - isTable: true, - table: { - width: 150 - }, - form: { - value: '1', - componentProps: { - disabled: true - } - }, - isSearch: true, - }, { label: '是否可用', field: 'available', @@ -374,6 +344,7 @@ export const ProductionMain = useCrudSchemas(reactive([ } } }, + // { // label: '开始时间', // field: 'beginTime', @@ -460,6 +431,37 @@ export const ProductionMain = useCrudSchemas(reactive([ // isTable: false, // isForm: false, // }, + { + label: '创建者', + field: 'creator', + sort: 'custom', + table: { + width: 150 + }, + isForm: false, + }, + { + label: '创建时间', + field: 'createTime', + formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, + sort: 'custom', + table: { + width: 180 + }, + form: { + component: 'DatePicker', + componentProps: { + style: {width: '100%'}, + type: 'datetime', + dateFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'x', + } + }, + isForm: false, + }, { label: '最后更新者', field: 'updater', From bae5c5209303728d74874362bbee52878b90b740 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Tue, 6 Feb 2024 15:25:52 +0800 Subject: [PATCH 023/108] =?UTF-8?q?=E5=8D=95=E6=8D=AE=E5=8F=B7=E5=AE=BD?= =?UTF-8?q?=E5=BA=A6=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../utensilPackage/utensilPackage.data.ts | 2 +- .../count/countJobMain/countJobMain.data.ts | 6 +++--- .../count/countPlanMain/countPlanMain.data.ts | 2 +- .../count/countRecordMain/countRecordMain.data.ts | 6 +++--- .../countRequestMain/countRequestMain.data.ts | 6 +++--- .../countadjustRecordMain.data.ts | 10 +++++----- .../countadjustRequestMain.data.ts | 6 +++--- .../customerreceiptRecordMain.data.ts | 10 +++++----- .../customerreceiptRequestMain.data.ts | 4 ++-- .../customerreturnJobMain.data.ts | 10 +++++----- .../customerreturnRecordMain.data.ts | 12 ++++++------ .../customerreturnRequestMain.data.ts | 6 +++--- .../customersettleRecordMain.data.ts | 14 +++++++------- .../customersettleRequestMain.data.ts | 8 ++++---- .../deliver/deliverJobMain/deliverJobMain.data.ts | 10 +++++----- .../deliverRecordMain/deliverRecordMain.data.ts | 10 +++++----- .../deliverRequestMain/deliverRequestMain.data.ts | 8 ++++---- .../deliverPlanMain/deliverPlanMain.data.ts | 4 ++-- .../deliverplan/saleMain/saleMain.data.ts | 4 ++-- .../containerBindRecordMain.data.ts | 2 +- .../containerRepairRecordMain.data.ts | 4 ++-- .../containerUnbindRecordMain.data.ts | 2 +- .../containerInitRecordMain.data.ts | 2 +- .../wms/inventoryManage/package/package.data.ts | 2 +- .../transaction/transaction.data.ts | 2 +- .../transferlog/transferlog.data.ts | 4 ++-- .../inventoryinitRecordMain.data.ts | 6 +++--- .../inventoryinitRequestMain.data.ts | 4 ++-- .../packagemergeMain/packagemergeMain.data.ts | 4 ++-- .../packageoverMain/packageoverMain.data.ts | 4 ++-- .../packagesplitMain/packagesplitMain.data.ts | 4 ++-- .../scrap/scrapJobMain/scrapJobMain.data.ts | 6 +++--- .../scrap/scrapRecordMain/scrapRecordMain.data.ts | 8 ++++---- .../scrapRequestMain/scrapRequestMain.data.ts | 4 ++-- .../transferissueJobMain.data.ts | 4 ++-- .../transferissueRecordMain.data.ts | 8 ++++---- .../transferissueRequestMain.data.ts | 4 ++-- .../transferreceiptJobMain.data.ts | 6 +++--- .../transferreceiptRecordMain.data.ts | 8 ++++---- .../transferreceiptRequestMain.data.ts | 4 ++-- .../unplannedissueJobMain.data.ts | 2 +- .../unplannedissueRecordMain.data.ts | 8 ++++---- .../unplannedissueRequestMain.data.ts | 4 ++-- .../unplannedreceiptJobMain.data.ts | 6 +++--- .../unplannedreceiptRecordMain.data.ts | 8 ++++---- .../unplannedreceiptRequestMain.data.ts | 6 +++--- .../issue/issueJobMain/issueJobMain.data.ts | 6 +++--- .../issue/issueRecordMain/issueRecordMain.data.ts | 8 ++++---- .../issueRequestMain/issueRequestMain.data.ts | 4 ++-- .../onlinesettlementRecordMain.data.ts | 8 ++++---- .../onlinesettlementRequestMain.data.ts | 6 +++--- .../pick/pickJobMain/pickJobMain.data.ts | 6 +++--- .../pick/pickRecordMain/pickRecordMain.data.ts | 8 ++++---- .../pick/pickRequestMain/pickRequestMain.data.ts | 4 ++-- .../preparetoissueMain/preparetoissueMain.data.ts | 6 +++--- .../productionreceiptJobMain.data.ts | 6 +++--- .../productionreceiptRecordMain.data.ts | 8 ++++---- .../productionreturnJobMain.data.ts | 6 +++--- .../productionreturnRecordMain.data.ts | 8 ++++---- .../productionreturnRequestMain.data.ts | 6 +++--- .../productionreturnRequestMainNo.data.ts | 4 ++-- .../repleinshJobMain/repleinshJobMain.data.ts | 6 +++--- .../repleinshRecordMain.data.ts | 8 ++++---- .../repleinshRequestMain.data.ts | 4 ++-- .../inventorychangeRecordMain.data.ts | 6 +++--- .../inventorychangeRequestMain.data.ts | 4 ++-- .../inventorymoveJobMain.data.ts | 4 ++-- .../inventorymoveRecordMain.data.ts | 8 ++++---- .../inventorymoveRequestMain.data.ts | 4 ++-- .../offlinesettlementRecordMain.data.ts | 6 +++--- .../offlinesettlementRequestMain.data.ts | 6 +++--- .../productdismantleJobMain.data.ts | 6 +++--- .../productdismantleRecordMain.data.ts | 8 ++++---- .../productdismantleRequestMain.data.ts | 8 ++++---- .../productionMain/productionMain.data.ts | 2 +- .../productionplan/workMain/workMain.data.ts | 4 ++-- .../productputawayJobMain.data.ts | 6 +++--- .../productputawayRecordMain.data.ts | 8 ++++---- .../productputawayRequestMain.data.ts | 4 ++-- .../productreceiptJobMain.data.ts | 6 +++--- .../productreceiptRecordMain.data.ts | 10 +++++----- .../productreceiptRequestMain.data.ts | 10 +++++----- .../productrepairRecordMain.data.ts | 8 ++++---- .../productrepairRequestMain.data.ts | 8 ++++---- .../productscrapJobMain.data.ts | 6 +++--- .../productscrapRecordMain.data.ts | 10 +++++----- .../productscrapRequestMain.data.ts | 6 +++--- .../inspect/inspectJobMain/inspectJobMain.data.ts | 8 ++++---- .../inspectRecordMain/inspectRecordMain.data.ts | 10 +++++----- .../inspectRequestMain/inspectRequestMain.data.ts | 4 ++-- .../purchasereceiptJobMain.data.ts | 10 +++++----- .../purchasereceiptRecordMain.data.ts | 12 ++++++------ .../purchasereceiptRequestMain.data.ts | 8 ++++---- .../purchasereturnJobMain.data.ts | 12 ++++++------ .../purchasereturnRecordMain.data.ts | 12 ++++++------ .../purchasereturnRequestMain.data.ts | 10 +++++----- .../putaway/putawayJobMain/putawayJobMain.data.ts | 6 +++--- .../putawayRecordMain/putawayRecordMain.data.ts | 8 ++++---- .../putawayRequestMain/putawayRequestMain.data.ts | 4 ++-- .../demandforecastingMain.data.ts | 4 ++-- .../purchaseMain/purchaseMain.data.ts | 4 ++-- .../purchasePlanMain/purchasePlanMain.data.ts | 4 ++-- .../supplierPackage/supplierPackage.data.ts | 4 ++-- .../supplierdeliverRecordMain.data.ts | 10 +++++----- .../supplierdeliverRequestMain.data.ts | 4 ++-- .../purchaseclaimRecordMain.data.ts | 10 +++++----- .../purchaseclaimRequestMain.data.ts | 8 ++++---- .../supplierinvoiceRecordMain.data.ts | 2 +- .../supplierinvoiceRequestMain.data.ts | 2 +- 109 files changed, 340 insertions(+), 340 deletions(-) diff --git a/src/views/wms/basicDataManage/labelManage/utensilPackage/utensilPackage.data.ts b/src/views/wms/basicDataManage/labelManage/utensilPackage/utensilPackage.data.ts index d82ab1f4d..35a667f82 100644 --- a/src/views/wms/basicDataManage/labelManage/utensilPackage/utensilPackage.data.ts +++ b/src/views/wms/basicDataManage/labelManage/utensilPackage/utensilPackage.data.ts @@ -14,7 +14,7 @@ export const Package2 = useCrudSchemas(reactive([ sort: 'custom', isSearch: true, table: { - width: 150, + width: 170, fixed: 'left' }, }, diff --git a/src/views/wms/countManage/count/countJobMain/countJobMain.data.ts b/src/views/wms/countManage/count/countJobMain/countJobMain.data.ts index cb8edd7ab..717f47107 100644 --- a/src/views/wms/countManage/count/countJobMain/countJobMain.data.ts +++ b/src/views/wms/countManage/count/countJobMain/countJobMain.data.ts @@ -10,7 +10,7 @@ export const CountJobMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150, + width: 170, fixed: 'left' }, isSearch: true @@ -563,7 +563,7 @@ export const CountJobDetail = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150 + width: 170 }, }, { @@ -571,7 +571,7 @@ export const CountJobDetail = useCrudSchemas(reactive([ field: 'countDetailNumber', sort: 'custom', table: { - width: 150 + width: 170 }, }, { diff --git a/src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts b/src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts index 9a1636498..45ac8bd62 100644 --- a/src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts +++ b/src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts @@ -27,7 +27,7 @@ export const CountPlanMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150, + width: 170, fixed: 'left' }, isSearch: true, diff --git a/src/views/wms/countManage/count/countRecordMain/countRecordMain.data.ts b/src/views/wms/countManage/count/countRecordMain/countRecordMain.data.ts index 3c0f4483c..115cd88d9 100644 --- a/src/views/wms/countManage/count/countRecordMain/countRecordMain.data.ts +++ b/src/views/wms/countManage/count/countRecordMain/countRecordMain.data.ts @@ -10,7 +10,7 @@ export const CountRecordMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150, + width: 170, fixed: 'left' }, isSearch: true, @@ -20,7 +20,7 @@ export const CountRecordMain = useCrudSchemas(reactive([ field: 'requestNumber', sort: 'custom', table: { - width: 150 + width: 170 }, isSearch: true, }, @@ -318,7 +318,7 @@ export const CountRecordDetail = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150 + width: 170 }, }, { diff --git a/src/views/wms/countManage/count/countRequestMain/countRequestMain.data.ts b/src/views/wms/countManage/count/countRequestMain/countRequestMain.data.ts index d96a9f3c7..8dee54e01 100644 --- a/src/views/wms/countManage/count/countRequestMain/countRequestMain.data.ts +++ b/src/views/wms/countManage/count/countRequestMain/countRequestMain.data.ts @@ -35,7 +35,7 @@ export const CountRequestMain = useCrudSchemas(([ field: 'number', sort: 'custom', table: { - width: 150, + width: 170, fixed: 'left' }, isForm: false, @@ -370,7 +370,7 @@ export const CountRequestDetail = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150 + width: 170 }, isTableForm: false, form: { @@ -384,7 +384,7 @@ export const CountRequestDetail = useCrudSchemas(reactive([ field: 'countDetailNumber', sort: 'custom', table: { - width: 150 + width: 170 }, }, { diff --git a/src/views/wms/countManage/countadjust/countadjustRecordMain/countadjustRecordMain.data.ts b/src/views/wms/countManage/countadjust/countadjustRecordMain/countadjustRecordMain.data.ts index fa97af6e4..75916ce2c 100644 --- a/src/views/wms/countManage/countadjust/countadjustRecordMain/countadjustRecordMain.data.ts +++ b/src/views/wms/countManage/countadjust/countadjustRecordMain/countadjustRecordMain.data.ts @@ -10,7 +10,7 @@ export const CountadjustRecordMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150, + width: 170, fixed: 'left' }, isSearch: true @@ -20,7 +20,7 @@ export const CountadjustRecordMain = useCrudSchemas(reactive([ field: 'requestNumber', sort: 'custom', table: { - width: 150 + width: 170 }, isSearch: true }, @@ -29,7 +29,7 @@ export const CountadjustRecordMain = useCrudSchemas(reactive([ field: 'countRecordNumber', sort: 'custom', table: { - width: 150 + width: 170 }, isSearch: true }, @@ -282,7 +282,7 @@ export const CountadjustRecordDetail = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150 + width: 170 }, }, { @@ -290,7 +290,7 @@ export const CountadjustRecordDetail = useCrudSchemas(reactive([ field: 'countDetailNumber', sort: 'custom', table: { - width: 150 + width: 170 }, }, { diff --git a/src/views/wms/countManage/countadjust/countadjustRequestMain/countadjustRequestMain.data.ts b/src/views/wms/countManage/countadjust/countadjustRequestMain/countadjustRequestMain.data.ts index f6930d8c5..b35d1646e 100644 --- a/src/views/wms/countManage/countadjust/countadjustRequestMain/countadjustRequestMain.data.ts +++ b/src/views/wms/countManage/countadjust/countadjustRequestMain/countadjustRequestMain.data.ts @@ -35,7 +35,7 @@ export const CountadjustRequestMain = useCrudSchemas(([ field: 'number', sort: 'custom', table: { - width: 150, + width: 170, fixed: 'left' }, isForm: false, @@ -349,7 +349,7 @@ export const CountadjustRequestDetail = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150 + width: 170 }, isTableForm: false, form: { @@ -363,7 +363,7 @@ export const CountadjustRequestDetail = useCrudSchemas(reactive([ field: 'countDetailNumber', sort: 'custom', table: { - width: 150 + width: 170 }, }, { diff --git a/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/customerreceiptRecordMain.data.ts b/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/customerreceiptRecordMain.data.ts index d2efa582c..bff0c892e 100644 --- a/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/customerreceiptRecordMain.data.ts +++ b/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/customerreceiptRecordMain.data.ts @@ -10,7 +10,7 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150, + width: 170, fixed: 'left' }, isSearch: true @@ -20,7 +20,7 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ field: 'requestNumber', sort: 'custom', table: { - width: 150 + width: 170 }, isSearch: true }, @@ -29,7 +29,7 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ field: 'deliverRecordNumber', sort: 'custom', table: { - width: 150 + width: 170 }, }, { @@ -37,7 +37,7 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ field: 'deliverPlanNumber', sort: 'custom', table: { - width: 150 + width: 170 }, }, { @@ -393,7 +393,7 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive field: 'number', sort: 'custom', table: { - width: 150 + width: 170 }, }, // { diff --git a/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts b/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts index e27551486..545545d37 100644 --- a/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts +++ b/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts @@ -31,7 +31,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( field: 'number', sort: 'custom', table: { - width: 150, + width: 170, fixed: 'left' }, isForm: false, @@ -466,7 +466,7 @@ export const CustomerreceiptRequestDetail = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150, + width: 170, fixed: 'left' }, isSearch: true, @@ -32,7 +32,7 @@ export const CustomerreturnJobMain = useCrudSchemas(reactive([ field: 'requestNumber', sort: 'custom', table: { - width: 150 + width: 170 }, isSearch: true, }, @@ -41,7 +41,7 @@ export const CustomerreturnJobMain = useCrudSchemas(reactive([ field: 'deliverRecordNumber', sort: 'custom', table: { - width: 150 + width: 170 }, }, { @@ -49,7 +49,7 @@ export const CustomerreturnJobMain = useCrudSchemas(reactive([ field: 'deliverPlanNumber', sort: 'custom', table: { - width: 150 + width: 170 }, }, { @@ -668,7 +668,7 @@ export const CustomerreturnJobDetail = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150 + width: 170 }, }, // { diff --git a/src/views/wms/deliversettlementManage/customerreturn/customerreturnRecordMain/customerreturnRecordMain.data.ts b/src/views/wms/deliversettlementManage/customerreturn/customerreturnRecordMain/customerreturnRecordMain.data.ts index 9ed0a517c..78a0b62c5 100644 --- a/src/views/wms/deliversettlementManage/customerreturn/customerreturnRecordMain/customerreturnRecordMain.data.ts +++ b/src/views/wms/deliversettlementManage/customerreturn/customerreturnRecordMain/customerreturnRecordMain.data.ts @@ -10,7 +10,7 @@ export const CustomerreturnRecordMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150, + width: 170, fixed: 'left' }, isSearch: true @@ -20,7 +20,7 @@ export const CustomerreturnRecordMain = useCrudSchemas(reactive([ field: 'requestNumber', sort: 'custom', table: { - width: 150 + width: 170 }, isSearch: true }, @@ -29,7 +29,7 @@ export const CustomerreturnRecordMain = useCrudSchemas(reactive([ field: 'jobNumber', sort: 'custom', table: { - width: 150 + width: 170 }, }, { @@ -37,7 +37,7 @@ export const CustomerreturnRecordMain = useCrudSchemas(reactive([ field: 'deliverRecordNumber', sort: 'custom', table: { - width: 150 + width: 170 }, }, { @@ -45,7 +45,7 @@ export const CustomerreturnRecordMain = useCrudSchemas(reactive([ field: 'deliverPlanNumber', sort: 'custom', table: { - width: 150 + width: 170 }, }, { @@ -413,7 +413,7 @@ export const CustomerreturnRecordDetail = useCrudSchemas(reactive( field: 'number', sort: 'custom', table: { - width: 150 + width: 170 }, }, // { diff --git a/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts b/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts index df3853b4b..e1db981fa 100644 --- a/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts +++ b/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts @@ -52,7 +52,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150, + width: 170, fixed: 'left' }, isForm: false, @@ -76,7 +76,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([ field: 'deliverRecordNumber', sort: 'custom', table: { - width: 150 + width: 170 }, form: { // labelMessage: '信息提示说明!!!', @@ -568,7 +568,7 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive field: 'number', sort: 'custom', table: { - width: 150 + width: 170 }, isTableForm: false, form: { diff --git a/src/views/wms/deliversettlementManage/customersettle/customersettleRecordMain/customersettleRecordMain.data.ts b/src/views/wms/deliversettlementManage/customersettle/customersettleRecordMain/customersettleRecordMain.data.ts index 65bf1038c..ddb0507eb 100644 --- a/src/views/wms/deliversettlementManage/customersettle/customersettleRecordMain/customersettleRecordMain.data.ts +++ b/src/views/wms/deliversettlementManage/customersettle/customersettleRecordMain/customersettleRecordMain.data.ts @@ -10,7 +10,7 @@ export const CustomersettleRecordMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150, + width: 170, fixed: 'left' }, isSearch: true @@ -20,7 +20,7 @@ export const CustomersettleRecordMain = useCrudSchemas(reactive([ field: 'requestNumber', sort: 'custom', table: { - width: 150 + width: 170 }, isSearch: true }, @@ -29,7 +29,7 @@ export const CustomersettleRecordMain = useCrudSchemas(reactive([ field: 'deliverRecordNumber', sort: 'custom', table: { - width: 150 + width: 170 }, }, { @@ -37,7 +37,7 @@ export const CustomersettleRecordMain = useCrudSchemas(reactive([ field: 'deliverPlanNumber', sort: 'custom', table: { - width: 150 + width: 170 }, }, { @@ -326,7 +326,7 @@ export const CustomersettleRecordDetail = useCrudSchemas(reactive( field: 'number', sort: 'custom', table: { - width: 150 + width: 170 }, }, { @@ -334,7 +334,7 @@ export const CustomersettleRecordDetail = useCrudSchemas(reactive( field: 'soNumber', sort: 'custom', table: { - width: 150 + width: 170 }, }, { @@ -342,7 +342,7 @@ export const CustomersettleRecordDetail = useCrudSchemas(reactive( field: 'soLine', sort: 'custom', table: { - width: 150 + width: 170 }, }, { diff --git a/src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts b/src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts index e56974435..3381b3906 100644 --- a/src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts +++ b/src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts @@ -36,7 +36,7 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150, + width: 170, fixed: 'left' }, isForm: false, @@ -65,7 +65,7 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([ field: 'deliverRecordNumber', sort: 'custom', table: { - width: 150 + width: 170 }, form: { // labelMessage: '信息提示说明!!!', @@ -89,7 +89,7 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([ field: 'deliverPlanNumber', sort: 'custom', table: { - width: 150 + width: 170 }, }, { @@ -422,7 +422,7 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive field: 'number', sort: 'custom', table: { - width: 150, + width: 170, fixed: 'left' }, isTableForm: false, diff --git a/src/views/wms/deliversettlementManage/deliver/deliverJobMain/deliverJobMain.data.ts b/src/views/wms/deliversettlementManage/deliver/deliverJobMain/deliverJobMain.data.ts index 0e2d55a35..815ffbab4 100644 --- a/src/views/wms/deliversettlementManage/deliver/deliverJobMain/deliverJobMain.data.ts +++ b/src/views/wms/deliversettlementManage/deliver/deliverJobMain/deliverJobMain.data.ts @@ -10,7 +10,7 @@ export const DeliverJobMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150, + width: 170, fixed: 'left' }, isSearch: true, @@ -32,7 +32,7 @@ export const DeliverJobMain = useCrudSchemas(reactive([ field: 'requestNumber', sort: 'custom', table: { - width: 150 + width: 170 }, isSearch: true, }, @@ -41,7 +41,7 @@ export const DeliverJobMain = useCrudSchemas(reactive([ field: 'deliverPlanNumber', sort: 'custom', table: { - width: 150 + width: 170 }, }, { @@ -49,7 +49,7 @@ export const DeliverJobMain = useCrudSchemas(reactive([ field: 'customerDeliverNumber', sort: 'custom', table: { - width: 150 + width: 170 }, }, { @@ -664,7 +664,7 @@ export const DeliverJobDetail = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150 + width: 170 }, }, // { diff --git a/src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts b/src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts index 52f3b9f6b..120d22f46 100644 --- a/src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts +++ b/src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts @@ -10,7 +10,7 @@ export const DeliverRecordMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150, + width: 170, fixed: 'left' }, isSearch: true @@ -20,7 +20,7 @@ export const DeliverRecordMain = useCrudSchemas(reactive([ field: 'requestNumber', sort: 'custom', table: { - width: 150 + width: 170 }, isSearch: true }, @@ -29,7 +29,7 @@ export const DeliverRecordMain = useCrudSchemas(reactive([ field: 'jobNumber', sort: 'custom', table: { - width: 150 + width: 170 }, }, { @@ -37,7 +37,7 @@ export const DeliverRecordMain = useCrudSchemas(reactive([ field: 'deliverPlanNumber', sort: 'custom', table: { - width: 150 + width: 170 }, }, { @@ -410,7 +410,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150 + width: 170 }, }, // { diff --git a/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts b/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts index c14b575d6..9682016e2 100644 --- a/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts +++ b/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts @@ -47,7 +47,7 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150, + width: 170, fixed: 'left' }, isForm: false, @@ -76,7 +76,7 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ field: 'deliverPlanNumber', sort: 'custom', table: { - width: 150 + width: 170 }, form: { // labelMessage: '信息提示说明!!!', @@ -105,7 +105,7 @@ export const DeliverRequestMain = useCrudSchemas(reactive
{{ row.title }}