Browse Source

物品修改成物料

master
陈薪名 1 year ago
parent
commit
828d4aab29
  1. 4
      README.md
  2. 2
      src/api/wms/balance/index.ts
  3. 12
      src/api/wms/customeritem/index.ts
  4. 16
      src/api/wms/itembasic/index.ts
  5. 12
      src/api/wms/itempackaging/index.ts
  6. 2
      src/api/wms/productionlineitem/index.ts
  7. 14
      src/api/wms/supplieritem/index.ts
  8. 2
      src/router/modules/remaining.ts
  9. 14
      src/utils/dict.ts
  10. 22
      src/utils/disposition/formFields.ts
  11. 90
      src/utils/disposition/tableDetailsColumns.ts
  12. 4
      src/utils/disposition/tabsList.ts
  13. 8
      src/views/Home/components/supplierIndex.vue
  14. 10
      src/views/wms/basicDataManage/customerManage/customeritem/customeritem.data.ts
  15. 4
      src/views/wms/basicDataManage/customerManage/customeritem/index.vue
  16. 4
      src/views/wms/basicDataManage/customerManage/saleprice/saleprice.data.ts
  17. 8
      src/views/wms/basicDataManage/documentSetting/businesstype/businesstype.data.ts
  18. 10
      src/views/wms/basicDataManage/itemManage/bom/bom.data.ts
  19. 8
      src/views/wms/basicDataManage/itemManage/bom/index.vue
  20. 8
      src/views/wms/basicDataManage/itemManage/itembasic/index.vue
  21. 4
      src/views/wms/basicDataManage/itemManage/itempackaging/index.vue
  22. 8
      src/views/wms/basicDataManage/itemManage/itempackaging/itempackaging.data.ts
  23. 8
      src/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data.ts
  24. 2
      src/views/wms/basicDataManage/itemManage/stdcostprice/index.vue
  25. 6
      src/views/wms/basicDataManage/itemManage/stdcostprice/stdcostprice.data.ts
  26. 18
      src/views/wms/basicDataManage/labelManage/manufacturePackage/manufacturePackage.data.ts
  27. 18
      src/views/wms/basicDataManage/labelManage/purchasePackage/purchasePackage.data.ts
  28. 22
      src/views/wms/basicDataManage/strategySetting/strategy/batchStrategy/AddForm.vue
  29. 22
      src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/AddForm.vue
  30. 12
      src/views/wms/basicDataManage/strategySetting/strategy/inspectStrategy/AddForm.vue
  31. 32
      src/views/wms/basicDataManage/strategySetting/strategy/manageAccuracyStrategy/AddForm.vue
  32. 20
      src/views/wms/basicDataManage/strategySetting/strategy/repairMaterialStrategy/AddForm.vue
  33. 20
      src/views/wms/basicDataManage/strategySetting/strategy/storageCapacityStrategy/AddForm.vue
  34. 30
      src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue
  35. 20
      src/views/wms/basicDataManage/strategySetting/strategy/utensilCapacityStrategy/AddForm.vue
  36. 6
      src/views/wms/basicDataManage/supplierManage/purchaseprice/purchaseprice.data.ts
  37. 4
      src/views/wms/basicDataManage/supplierManage/supplieritem/index.vue
  38. 6
      src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts
  39. 8
      src/views/wms/countManage/count/countJobMain/countJobMain.data.ts
  40. 8
      src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts
  41. 2
      src/views/wms/countManage/count/countPlanMain/index.vue
  42. 10
      src/views/wms/countManage/count/countRecordMain/countRecordMain.data.ts
  43. 8
      src/views/wms/countManage/count/countRequestMain/countRequestMain.data.ts
  44. 10
      src/views/wms/countManage/countadjust/countadjustRecordMain/countadjustRecordMain.data.ts
  45. 10
      src/views/wms/countManage/countadjust/countadjustRequestMain/countadjustRequestMain.data.ts
  46. 10
      src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/customerreceiptRecordMain.data.ts
  47. 10
      src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts
  48. 10
      src/views/wms/deliversettlementManage/customerreturn/customerreturnJobMain/customerreturnJobMain.data.ts
  49. 4
      src/views/wms/deliversettlementManage/customerreturn/customerreturnJobMain/index.vue
  50. 10
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRecordMain/customerreturnRecordMain.data.ts
  51. 10
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts
  52. 10
      src/views/wms/deliversettlementManage/customersettle/customersettleRecordMain/customersettleRecordMain.data.ts
  53. 10
      src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts
  54. 10
      src/views/wms/deliversettlementManage/deliver/deliverJobMain/deliverJobMain.data.ts
  55. 2
      src/views/wms/deliversettlementManage/deliver/deliverJobMain/index.vue
  56. 10
      src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts
  57. 18
      src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts
  58. 12
      src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts
  59. 12
      src/views/wms/deliversettlementManage/deliverplan/saleMain/saleMain.data.ts
  60. 2
      src/views/wms/inventoryManage/balance/balance.data.ts
  61. 4
      src/views/wms/inventoryManage/expectout/expectout.data.ts
  62. 10
      src/views/wms/inventoryManage/package/package.data.ts
  63. 2
      src/views/wms/inventoryManage/transaction/transaction.data.ts
  64. 4
      src/views/wms/inventoryManage/transferlog/transferlog.data.ts
  65. 10
      src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRecordMain/inventoryinitRecordMain.data.ts
  66. 18
      src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/inventoryinitRequestMain.data.ts
  67. 8
      src/views/wms/inventoryjobManage/packageManage/packagemergeMain/packagemergeMain.data.ts
  68. 8
      src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverMain.data.ts
  69. 8
      src/views/wms/inventoryjobManage/packageManage/packagesplitMain/packagesplitMain.data.ts
  70. 10
      src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts
  71. 10
      src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts
  72. 10
      src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts
  73. 10
      src/views/wms/inventoryjobManage/transferissue/transferissueJobMain/transferissueJobMain.data.ts
  74. 10
      src/views/wms/inventoryjobManage/transferissue/transferissueRecordMain/transferissueRecordMain.data.ts
  75. 10
      src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts
  76. 10
      src/views/wms/inventoryjobManage/transferreceipt/transferreceiptJobMain/transferreceiptJobMain.data.ts
  77. 10
      src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRecordMain/transferreceiptRecordMain.data.ts
  78. 10
      src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts
  79. 10
      src/views/wms/inventoryjobManage/unplannedissue/unplannedissueJobMain/unplannedissueJobMain.data.ts
  80. 10
      src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRecordMain/unplannedissueRecordMain.data.ts
  81. 10
      src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts
  82. 10
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptJobMain/unplannedreceiptJobMain.data.ts
  83. 8
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRecordMain/unplannedreceiptRecordMain.data.ts
  84. 6
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue
  85. 32
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts
  86. 2
      src/views/wms/issueManage/issue/issueJobMain/index.vue
  87. 10
      src/views/wms/issueManage/issue/issueJobMain/issueJobMain.data.ts
  88. 10
      src/views/wms/issueManage/issue/issueRecordMain/issueRecordMain.data.ts
  89. 18
      src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts
  90. 8
      src/views/wms/issueManage/onlinesettlement/onlinesettlementRecordMain/onlinesettlementRecordMain.data.ts
  91. 12
      src/views/wms/issueManage/onlinesettlement/onlinesettlementRequestMain/onlinesettlementRequestMain.data.ts
  92. 10
      src/views/wms/issueManage/pick/pickJobMain/pickJobMain.data.ts
  93. 10
      src/views/wms/issueManage/pick/pickRecordMain/pickRecordMain.data.ts
  94. 10
      src/views/wms/issueManage/pick/pickRequestMain/pickRequestMain.data.ts
  95. 2
      src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/index.vue
  96. 14
      src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/preparetoissueMain.data.ts
  97. 4
      src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/index.vue
  98. 10
      src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/productionreceiptJobMain.data.ts
  99. 10
      src/views/wms/issueManage/productionreceipt/productionreceiptRecordMain/productionreceiptRecordMain.data.ts
  100. 10
      src/views/wms/issueManage/productionreturn/productionreturnJobMain/productionreturnJobMain.data.ts

4
README.md

@ -4,9 +4,9 @@ form: {
labelMessage: '信息提示说明!!!', labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择物代码', // 输入框占位文本 searchListPlaceholder: '请选择物代码', // 输入框占位文本
searchField: 'itemCode', // 查询弹窗赋值字段 searchField: 'itemCode', // 查询弹窗赋值字段
searchTitle: '生产线物关系信息', // 查询弹窗标题 searchTitle: '生产线物关系信息', // 查询弹窗标题
searchAllSchemas: Productionlineitem.allSchemas, // 查询弹窗所需类 searchAllSchemas: Productionlineitem.allSchemas, // 查询弹窗所需类
searchPage: ProductionlineitemApi.getProductionlineitemPage, // 查询弹窗所需分页方法 searchPage: ProductionlineitemApi.getProductionlineitemPage, // 查询弹窗所需分页方法
searchCondition: [{ searchCondition: [{

2
src/api/wms/balance/index.ts

@ -61,7 +61,7 @@ export const getBalancePagePutaway= async (params) => {
return await request.get({ url: `/wms/balance/pagePutaway`, params }) return await request.get({ url: `/wms/balance/pagePutaway`, params })
} }
} }
// 查询库存余额列表增加物筛选条件 // 查询库存余额列表增加物筛选条件
export const getBalanceItemPage = async (params) => { export const getBalanceItemPage = async (params) => {
if (params.isSearch) { if (params.isSearch) {
delete params.isSearch delete params.isSearch

12
src/api/wms/customeritem/index.ts

@ -17,7 +17,7 @@ export interface CustomeritemVO {
remark: string remark: string
} }
// 查询客户物列表 // 查询客户物列表
export const getCustomeritemPage = async (params) => { export const getCustomeritemPage = async (params) => {
if (params.isSearch) { if (params.isSearch) {
delete params.isSearch delete params.isSearch
@ -28,27 +28,27 @@ export const getCustomeritemPage = async (params) => {
} }
} }
// 查询客户物详情 // 查询客户物详情
export const getCustomeritem = async (id: number) => { export const getCustomeritem = async (id: number) => {
return await request.get({ url: `/wms/customeritem/get?id=` + id }) return await request.get({ url: `/wms/customeritem/get?id=` + id })
} }
// 新增客户物 // 新增客户物
export const createCustomeritem = async (data: CustomeritemVO) => { export const createCustomeritem = async (data: CustomeritemVO) => {
return await request.post({ url: `/wms/customeritem/create`, data }) return await request.post({ url: `/wms/customeritem/create`, data })
} }
// 修改客户物 // 修改客户物
export const updateCustomeritem = async (data: CustomeritemVO) => { export const updateCustomeritem = async (data: CustomeritemVO) => {
return await request.put({ url: `/wms/customeritem/update`, data }) return await request.put({ url: `/wms/customeritem/update`, data })
} }
// 删除客户物 // 删除客户物
export const deleteCustomeritem = async (id: number) => { export const deleteCustomeritem = async (id: number) => {
return await request.delete({ url: `/wms/customeritem/delete?id=` + id }) return await request.delete({ url: `/wms/customeritem/delete?id=` + id })
} }
// 导出客户物 Excel // 导出客户物 Excel
export const exportCustomeritem = async (params) => { export const exportCustomeritem = async (params) => {
if (params.isSearch) { if (params.isSearch) {
const data = {...params} const data = {...params}

16
src/api/wms/itembasic/index.ts

@ -29,7 +29,7 @@ export interface ItembasicVO {
remark: string remark: string
} }
// 查询物基本信息列表 // 查询物基本信息列表
export const getItembasicPage = async (params) => { export const getItembasicPage = async (params) => {
if (params.isSearch) { if (params.isSearch) {
const data = {...params} const data = {...params}
@ -38,31 +38,31 @@ export const getItembasicPage = async (params) => {
return await request.get({ url: `/wms/itembasic/page`, params }) return await request.get({ url: `/wms/itembasic/page`, params })
} }
} }
// 查询物基本信息列表 // 查询物基本信息列表
export const getItembasicList = async (params) => { export const getItembasicList = async (params) => {
return await request.get({ url: `/wms/itembasic/list`, params }) return await request.get({ url: `/wms/itembasic/list`, params })
} }
// 查询物基本信息详情 // 查询物基本信息详情
export const getItembasic = async (id: number) => { export const getItembasic = async (id: number) => {
return await request.get({ url: `/wms/itembasic/get?id=` + id }) return await request.get({ url: `/wms/itembasic/get?id=` + id })
} }
// 新增物基本信息 // 新增物基本信息
export const createItembasic = async (data: ItembasicVO) => { export const createItembasic = async (data: ItembasicVO) => {
return await request.post({ url: `/wms/itembasic/create`, data }) return await request.post({ url: `/wms/itembasic/create`, data })
} }
// 修改物基本信息 // 修改物基本信息
export const updateItembasic = async (data: ItembasicVO) => { export const updateItembasic = async (data: ItembasicVO) => {
return await request.put({ url: `/wms/itembasic/update`, data }) return await request.put({ url: `/wms/itembasic/update`, data })
} }
// 删除物基本信息 // 删除物基本信息
export const deleteItembasic = async (id: number) => { export const deleteItembasic = async (id: number) => {
return await request.delete({ url: `/wms/itembasic/delete?id=` + id }) return await request.delete({ url: `/wms/itembasic/delete?id=` + id })
} }
// 导出物基本信息 Excel // 导出物基本信息 Excel
export const exportItembasic = async (params) => { export const exportItembasic = async (params) => {
if (params.isSearch) { if (params.isSearch) {
const data = {...params} const data = {...params}
@ -79,7 +79,7 @@ export const importTemplate = () => {
// 导入地址 // 导入地址
export const importUrl = '/wms/itembasic/import' export const importUrl = '/wms/itembasic/import'
// 查询物基本信息列表 // 查询物基本信息列表
export const selectItembasicPageToFgAndSemibasicPage = async (params) => { export const selectItembasicPageToFgAndSemibasicPage = async (params) => {
if (params.isSearch) { if (params.isSearch) {
const data = {...params} const data = {...params}

12
src/api/wms/itempackaging/index.ts

@ -19,7 +19,7 @@ export interface ItempackagingVO {
remark: string remark: string
} }
// 查询物包装信息 列表 // 查询物包装信息 列表
export const getItempackagingPage = async (params) => { export const getItempackagingPage = async (params) => {
if (params.isSearch) { if (params.isSearch) {
delete params.isSearch delete params.isSearch
@ -30,27 +30,27 @@ export const getItempackagingPage = async (params) => {
} }
} }
// 查询物包装信息 详情 // 查询物包装信息 详情
export const getItempackaging = async (id: number) => { export const getItempackaging = async (id: number) => {
return await request.get({ url: `/wms/itempackaging/get?id=` + id }) return await request.get({ url: `/wms/itempackaging/get?id=` + id })
} }
// 新增物包装信息 // 新增物包装信息
export const createItempackaging = async (data: ItempackagingVO) => { export const createItempackaging = async (data: ItempackagingVO) => {
return await request.post({ url: `/wms/itempackaging/create`, data }) return await request.post({ url: `/wms/itempackaging/create`, data })
} }
// 修改物包装信息 // 修改物包装信息
export const updateItempackaging = async (data: ItempackagingVO) => { export const updateItempackaging = async (data: ItempackagingVO) => {
return await request.put({ url: `/wms/itempackaging/update`, data }) return await request.put({ url: `/wms/itempackaging/update`, data })
} }
// 删除物包装信息 // 删除物包装信息
export const deleteItempackaging = async (id: number) => { export const deleteItempackaging = async (id: number) => {
return await request.delete({ url: `/wms/itempackaging/delete?id=` + id }) return await request.delete({ url: `/wms/itempackaging/delete?id=` + id })
} }
// 导出物包装信息 Excel // 导出物包装信息 Excel
export const exportItempackaging = async (params) => { export const exportItempackaging = async (params) => {
if (params.isSearch) { if (params.isSearch) {
const data = {...params} const data = {...params}

2
src/api/wms/productionlineitem/index.ts

@ -21,7 +21,7 @@ export const getProductionlineitemPage = async (params) => {
} }
} }
// 查询生产线物料关系列表——根据 生产线 物类型为原料和半成品 // 查询生产线物料关系列表——根据 生产线 物类型为原料和半成品
export const getProductionlineitemPageByItemtype = async (params) => { export const getProductionlineitemPageByItemtype = async (params) => {
if (params.isSearch) { if (params.isSearch) {
delete params.isSearch delete params.isSearch

14
src/api/wms/supplieritem/index.ts

@ -20,7 +20,7 @@ export interface SupplieritemVO {
remark: string remark: string
} }
// 查询供应商物列表 // 查询供应商物列表
export const getSupplieritemPage = async (params) => { export const getSupplieritemPage = async (params) => {
if (params.isSearch) { if (params.isSearch) {
delete params.isSearch delete params.isSearch
@ -31,27 +31,27 @@ export const getSupplieritemPage = async (params) => {
} }
} }
// 查询供应商物详情 // 查询供应商物详情
export const getSupplieritem = async (id: number) => { export const getSupplieritem = async (id: number) => {
return await request.get({ url: `/wms/supplieritem/get?id=` + id }) return await request.get({ url: `/wms/supplieritem/get?id=` + id })
} }
// 新增供应商物 // 新增供应商物
export const createSupplieritem = async (data: SupplieritemVO) => { export const createSupplieritem = async (data: SupplieritemVO) => {
return await request.post({ url: `/wms/supplieritem/create`, data }) return await request.post({ url: `/wms/supplieritem/create`, data })
} }
// 修改供应商物 // 修改供应商物
export const updateSupplieritem = async (data: SupplieritemVO) => { export const updateSupplieritem = async (data: SupplieritemVO) => {
return await request.put({ url: `/wms/supplieritem/update`, data }) return await request.put({ url: `/wms/supplieritem/update`, data })
} }
// 删除供应商物 // 删除供应商物
export const deleteSupplieritem = async (id: number) => { export const deleteSupplieritem = async (id: number) => {
return await request.delete({ url: `/wms/supplieritem/delete?id=` + id }) return await request.delete({ url: `/wms/supplieritem/delete?id=` + id })
} }
// 导出供应商物 Excel // 导出供应商物 Excel
export const exportSupplieritem = async (params) => { export const exportSupplieritem = async (params) => {
if (params.isSearch) { if (params.isSearch) {
const data = {...params} const data = {...params}
@ -66,7 +66,7 @@ export const importTemplate = () => {
return request.download({ url: '/wms/supplieritem/get-import-template' }) return request.download({ url: '/wms/supplieritem/get-import-template' })
} }
// 查询供应商物列表 // 查询供应商物列表
export const selectItembasicTypeToSupplieritem = async (params) => { export const selectItembasicTypeToSupplieritem = async (params) => {
if (params.isSearch) { if (params.isSearch) {
const data = {...params} const data = {...params}

2
src/router/modules/remaining.ts

@ -346,7 +346,7 @@ const remainingRouter: AppRouteRecordRaw[] = [
// noCache: true, // noCache: true,
// hidden: true, // hidden: true,
// canTo: true, // canTo: true,
// title: '物详情', // title: '物详情',
// activeMenu: '/wms/itembasic-manage/itembasic' // activeMenu: '/wms/itembasic-manage/itembasic'
// } // }
// }, // },

14
src/utils/dict.ts

@ -183,15 +183,15 @@ export enum DICT_TYPE {
PROMOTION_CONDITION_TYPE = 'promotion_condition_type', // 营销的条件类型枚举 PROMOTION_CONDITION_TYPE = 'promotion_condition_type', // 营销的条件类型枚举
// ========== 业务 - WMS ========== // ========== 业务 - WMS ==========
ITEM_STATUS = 'item_status', // 物状态 ITEM_STATUS = 'item_status', // 物状态
ITEM_TYPE = 'item_type', // 物类型 ITEM_TYPE = 'item_type', // 物类型
UOM = 'uom', // 计量单位 UOM = 'uom', // 计量单位
ABC_CLASS = 'abc_class', // ABC类 ABC_CLASS = 'abc_class', // ABC类
TRUE_FALSE = 'true_false', // 是否 TRUE_FALSE = 'true_false', // 是否
ITEM_GROUP = 'item_group', // 物分组 ITEM_GROUP = 'item_group', // 物分组
ITEM_CATEGORY = 'Item_category', // 物种类 ITEM_CATEGORY = 'Item_category', // 物种类
ITEM_COLOR = 'item_color', // 物颜色 ITEM_COLOR = 'item_color', // 物颜色
ITEM_CONFIGURATION = 'item_configuration', // 物配置 ITEM_CONFIGURATION = 'item_configuration', // 物配置
EQ_LEVEL = 'eq_level', // 质量等级 EQ_LEVEL = 'eq_level', // 质量等级
CURRENCY = 'currency', // 货币 CURRENCY = 'currency', // 货币
BASIC_CURRENCY = 'basic_currency', // 货币 BASIC_CURRENCY = 'basic_currency', // 货币
@ -214,7 +214,7 @@ export enum DICT_TYPE {
PROCESS_TYPE = 'process_type', // 工序类型 PROCESS_TYPE = 'process_type', // 工序类型
LOCATION_SCOPE_TYPE = 'location_scope_type', // 库位维度 LOCATION_SCOPE_TYPE = 'location_scope_type', // 库位维度
STORAGE_TYPE = 'storage_type', // 存储类型 STORAGE_TYPE = 'storage_type', // 存储类型
ITEM_SCOPE_TYPE = 'item_scope_type', // 物维度 ITEM_SCOPE_TYPE = 'item_scope_type', // 物维度
BATCH_TYPE = 'batch_type', // 批次类型 BATCH_TYPE = 'batch_type', // 批次类型
BATCH_DIRECTION = 'batch_direction', // 批次方向 BATCH_DIRECTION = 'batch_direction', // 批次方向
MANAGEMENT_MODE = 'management_mode', // 管理模式 MANAGEMENT_MODE = 'management_mode', // 管理模式

22
src/utils/disposition/formFields.ts

@ -32,7 +32,7 @@
] ]
/** /**
* @returns {Array} * @returns {Array}
*/ */
export const ItemQuality = [ export const ItemQuality = [
{ label: "itemCode", prop: "itemCode" }, { label: "itemCode", prop: "itemCode" },
@ -51,7 +51,7 @@
] ]
/** /**
* @returns {Array} * @returns {Array}
*/ */
export const ItemCategory = [ export const ItemCategory = [
{ label: "itemCode", prop: 'itemCode', }, { label: "itemCode", prop: 'itemCode', },
@ -61,7 +61,7 @@
] ]
/** /**
* @returns {Array} * @returns {Array}
*/ */
export const ItemPack = [ export const ItemPack = [
{ label: "包装代码", prop: 'packCode', }, { label: "包装代码", prop: 'packCode', },
@ -76,7 +76,7 @@
] ]
/** /**
* @returns {Array} * @returns {Array}
*/ */
export const AQL = [ export const AQL = [
{ label: "itemCode", prop: "itemCode", }, { label: "itemCode", prop: "itemCode", },
@ -128,7 +128,7 @@
] ]
/** /**
* @returns {Array} * @returns {Array}
*/ */
export const CustomerItem = [ export const CustomerItem = [
{ label: "客户代码", prop: 'customerCode', }, { label: "客户代码", prop: 'customerCode', },
@ -189,7 +189,7 @@
] ]
/** /**
* @returns {Array} * @returns {Array}
*/ */
export const SupplierItem = [ export const SupplierItem = [
{ label: "供应商代码", prop: 'supplierCode' }, { label: "供应商代码", prop: 'supplierCode' },
@ -270,7 +270,7 @@
{ label: "名称", prop: 'name', }, { label: "名称", prop: 'name', },
{ label: "描述", prop: "description", }, { label: "描述", prop: "description", },
{ label: "溢流库位组", prop: "overflowLocationGroup", }, { label: "溢流库位组", prop: "overflowLocationGroup", },
{ type: "objectFilter", label: "是否混物", prop: "locSwitch", showProp: "enableMixItem", filters: "whetherOrNot", }, { type: "objectFilter", label: "是否混物", prop: "locSwitch", showProp: "enableMixItem", filters: "whetherOrNot", },
{ type: "objectFilter", label: "是否混批次", prop: "locSwitch", showProp: "enableMixLot", filters: "whetherOrNot", }, { type: "objectFilter", label: "是否混批次", prop: "locSwitch", showProp: "enableMixLot", filters: "whetherOrNot", },
{ type: "objectFilter", label: "是否混状态", prop: "locSwitch", showProp: "enableMixStatus", filters: "whetherOrNot", }, { type: "objectFilter", label: "是否混状态", prop: "locSwitch", showProp: "enableMixStatus", filters: "whetherOrNot", },
{ type: "objectFilter", label: "是否负库存", prop: "locSwitch", showProp: "enableNegative", filters: "whetherOrNot", }, { type: "objectFilter", label: "是否负库存", prop: "locSwitch", showProp: "enableNegative", filters: "whetherOrNot", },
@ -316,7 +316,7 @@
{ label: "拣料顺序", prop: "pickOrder", }, { label: "拣料顺序", prop: "pickOrder", },
{ label: "货架号", prop: "shelfCode", }, { label: "货架号", prop: "shelfCode", },
{ label: "ERP系统库位编号", prop: "erpLocationCode", }, { label: "ERP系统库位编号", prop: "erpLocationCode", },
{ type: "objectFilter", label: "是否混物", prop: "locSwitch", showProp: "enableMixItem", filters: "whetherOrNot", }, { type: "objectFilter", label: "是否混物", prop: "locSwitch", showProp: "enableMixItem", filters: "whetherOrNot", },
{ type: "objectFilter", label: "是否混批次", prop: "locSwitch", showProp: "enableMixLot", filters: "whetherOrNot", }, { type: "objectFilter", label: "是否混批次", prop: "locSwitch", showProp: "enableMixLot", filters: "whetherOrNot", },
{ type: "objectFilter", label: "是否混状态", prop: "locSwitch", showProp: "enableMixStatus", filters: "whetherOrNot", }, { type: "objectFilter", label: "是否混状态", prop: "locSwitch", showProp: "enableMixStatus", filters: "whetherOrNot", },
{ type: "objectFilter", label: "是否负库存", prop: "locSwitch", showProp: "enableNegative", filters: "whetherOrNot", }, { type: "objectFilter", label: "是否负库存", prop: "locSwitch", showProp: "enableNegative", filters: "whetherOrNot", },
@ -374,7 +374,7 @@
] ]
/** /**
* @returns {Array} * @returns {Array}
*/ */
export const ItemSafetyStock = [ export const ItemSafetyStock = [
{ label: "物料代码", prop: "itemCode", }, { label: "物料代码", prop: "itemCode", },
@ -390,7 +390,7 @@
] ]
/** /**
* @returns {Array} * @returns {Array}
*/ */
export const ItemSafetyStockQuery = [ export const ItemSafetyStockQuery = [
{ {
@ -1646,7 +1646,7 @@ export const OuterPillarDeliverNote = [
{ label: "项目号", prop: "projectCode" }, { label: "项目号", prop: "projectCode" },
{ label: "位置", prop: 'position' }, { label: "位置", prop: 'position' },
{ label: "配置号", prop: 'l7Part' }, { label: "配置号", prop: 'l7Part' },
{ label: "物描述", prop: 'itemName' }, { label: "物描述", prop: 'itemName' },
{ label: "备品生产号", prop: 'sparesNumber' }, { label: "备品生产号", prop: 'sparesNumber' },
{ label: "备品批次", prop: 'sparesLot' }, { label: "备品批次", prop: 'sparesLot' },
{ label: "目标生产号", prop: 'targetNumber' }, { label: "目标生产号", prop: 'targetNumber' },

90
src/utils/disposition/tableDetailsColumns.ts

@ -36,9 +36,9 @@
{ label: "订单行", prop: "poLine", width: "200px" }, { label: "订单行", prop: "poLine", width: "200px" },
{ label: "箱标签", prop: "packingCode", width: "200px" }, { label: "箱标签", prop: "packingCode", width: "200px" },
{ label: "itemCode", prop: "itemCode", width: "200px" }, { label: "itemCode", prop: "itemCode", width: "200px" },
{ type: "object", label: "物名称", prop: "item", showProp: "name", width: "200px" }, { type: "object", label: "物名称", prop: "item", showProp: "name", width: "200px" },
{ type: "object", label: "物描述1", prop: "item", showProp: "desc1", width: "200px" }, { type: "object", label: "物描述1", prop: "item", showProp: "desc1", width: "200px" },
{ type: "object", label: "物描述2", prop: "item", showProp: "desc2", width: "200px" }, { type: "object", label: "物描述2", prop: "item", showProp: "desc2", width: "200px" },
// { type: "object", label: "到货数量", prop: "qty", showProp: "qty", width: "200px" }, // { type: "object", label: "到货数量", prop: "qty", showProp: "qty", width: "200px" },
{ type: "object", label: "发货数量", prop: "qty", showProp: "qty", width: "200px" }, { type: "object", label: "发货数量", prop: "qty", showProp: "qty", width: "200px" },
{ type: "object", label: "计量单位", prop: "qty", showProp: "uom", width: "200px" }, { type: "object", label: "计量单位", prop: "qty", showProp: "uom", width: "200px" },
@ -58,9 +58,9 @@
{ label: "订单行", prop: "poLine", }, { label: "订单行", prop: "poLine", },
{ label: "箱标签", prop: "packingCode", }, { label: "箱标签", prop: "packingCode", },
{ label: "itemCode", prop: "itemCode", }, { label: "itemCode", prop: "itemCode", },
{ type: "object", label: "物名称", prop: "item", showProp: "name", }, { type: "object", label: "物名称", prop: "item", showProp: "name", },
{ type: "object", label: "物描述1", prop: "item", showProp: "desc1", }, { type: "object", label: "物描述1", prop: "item", showProp: "desc1", },
{ type: "object", label: "物描述2", prop: "item", showProp: "desc2", }, { type: "object", label: "物描述2", prop: "item", showProp: "desc2", },
{ type: "object", label: "发货数量", prop: "qty", showProp: "qty", }, { type: "object", label: "发货数量", prop: "qty", showProp: "qty", },
{ type: "object", label: "计量单位", prop: "qty", showProp: "uom", }, { type: "object", label: "计量单位", prop: "qty", showProp: "uom", },
{ label: "托标签", prop: "containerCode", }, { label: "托标签", prop: "containerCode", },
@ -75,13 +75,13 @@
*/ */
export const ArriveNotice = [ export const ArriveNotice = [
{ label: "itemCode", prop: "itemCode",fixed:"left", }, { label: "itemCode", prop: "itemCode",fixed:"left", },
{ type: "object", label: "物名称", prop: "item", showProp: "name", }, { type: "object", label: "物名称", prop: "item", showProp: "name", },
{ type: "object", valueType: Number, label: "到货数量", prop: "qty", showProp: "qty", }, { 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", }, { label: "每托数量", prop: "qtyPerPallet", },
{ type: "object", label: "计量单位", prop: "qty", showProp: "uom", }, { type: "object", label: "计量单位", prop: "qty", showProp: "uom", },
{ type: "object", label: "物描述1", prop: "item", showProp: "desc1", }, { type: "object", label: "物描述1", prop: "item", showProp: "desc1", },
{ type: "object", label: "物描述2", prop: "item", showProp: "desc2", }, { type: "object", label: "物描述2", prop: "item", showProp: "desc2", },
{ label: "批次", prop: "lot", }, { label: "批次", prop: "lot", },
{ type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", }, { type: "objectDateTime", label: "生产日期", prop: "batch", showProp: "produceDate", },
{ type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", }, { type: "object", label: "供应商批次", prop: "batch", showProp: "supplierBatch", },
@ -177,9 +177,9 @@
{ label: "请求库位", prop: "requestLocationCode", }, { label: "请求库位", prop: "requestLocationCode", },
{ label: "目标库位", prop: "toLocationCode", }, { label: "目标库位", prop: "toLocationCode", },
{ type: "dateTime", label: "过期日期", prop: "expiredTime", }, { type: "dateTime", label: "过期日期", prop: "expiredTime", },
{ type: "object", label: "物名称", prop: "item", showProp: "name", }, { type: "object", label: "物名称", prop: "item", showProp: "name", },
{ type: "object", label: "物描述1", prop: "item", showProp: "desc1", }, { type: "object", label: "物描述1", prop: "item", showProp: "desc1", },
{ type: "object", label: "物描述2", prop: "item", showProp: "desc2", }, { type: "object", label: "物描述2", prop: "item", showProp: "desc2", },
{ label: "备注", prop: 'remark', }, { label: "备注", prop: 'remark', },
] ]
/** /**
@ -627,10 +627,10 @@
* @returns {Array} * @returns {Array}
*/ */
export const WareHouseTransferNote = [ export const WareHouseTransferNote = [
{ label: "物编号", prop: "itemCode", fixed: "left",}, { label: "物编号", prop: "itemCode", fixed: "left",},
{ type: "object", label: "物名称", prop: "item", showProp: "name", }, { type: "object", label: "物名称", prop: "item", showProp: "name", },
{ type: "object", label: "物描述1", prop: "item", showProp: "desc1", }, { type: "object", label: "物描述1", prop: "item", showProp: "desc1", },
{ type: "object", label: "物描述2", prop: "item", showProp: "desc2", }, { type: "object", label: "物描述2", prop: "item", showProp: "desc2", },
{ 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: "toLocationCode", }, { label: "目标库位", prop: "toLocationCode", },
@ -1069,9 +1069,9 @@ export const ReceivingRecords = [
*/ */
export const JisProductRecycleNote = [ export const JisProductRecycleNote = [
{ label: "itemCode", prop: "itemCode", fixed: "left",}, { label: "itemCode", prop: "itemCode", fixed: "left",},
{ type: "object", label: "物名称", prop: "item", showProp: "name", }, { type: "object", label: "物名称", prop: "item", showProp: "name", },
{ type: "object", label: "物描述1", prop: "item", showProp: "desc1", }, { type: "object", label: "物描述1", prop: "item", showProp: "desc1", },
{ type: "object", label: "物描述2", prop: "item", showProp: "desc2", }, { type: "object", label: "物描述2", prop: "item", showProp: "desc2", },
{ 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: "packingCode"}, { label: "箱标签", prop: "packingCode"},
@ -1090,9 +1090,9 @@ export const ReceivingRecords = [
*/ */
export const JisProductReturnNote = [ export const JisProductReturnNote = [
{ label: "itemCode", prop: "itemCode", fixed: "left",}, { label: "itemCode", prop: "itemCode", fixed: "left",},
{ type: "object", label: "物名称", prop: "item", showProp: "name", }, { type: "object", label: "物名称", prop: "item", showProp: "name", },
{ type: "object", label: "物描述1", prop: "item", showProp: "desc1", }, { type: "object", label: "物描述1", prop: "item", showProp: "desc1", },
{ type: "object", label: "物描述2", prop: "item", showProp: "desc2", }, { type: "object", label: "物描述2", prop: "item", showProp: "desc2", },
{ 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: "productNo" }, { label: "产品号", prop: "productNo" },
@ -1104,9 +1104,9 @@ export const ReceivingRecords = [
*/ */
export const JisProductTransferNote = [ export const JisProductTransferNote = [
{ label: "itemCode", prop: "itemCode", fixed: "left",}, { label: "itemCode", prop: "itemCode", fixed: "left",},
{ type: "object", label: "物名称", prop: "item", showProp: "name", }, { type: "object", label: "物名称", prop: "item", showProp: "name", },
{ type: "object", label: "物描述1", prop: "item", showProp: "desc1", }, { type: "object", label: "物描述1", prop: "item", showProp: "desc1", },
{ type: "object", label: "物描述2", prop: "item", showProp: "desc2", }, { type: "object", label: "物描述2", prop: "item", showProp: "desc2", },
{ type: "object", label: "数量", prop: "qty", showProp: "qty", }, { type: "object", label: "数量", prop: "qty", showProp: "qty", },
{ label: "批次", prop: "lot" }, { label: "批次", prop: "lot" },
{ label: "产品号", prop: "productNo" }, { label: "产品号", prop: "productNo" },
@ -1132,9 +1132,9 @@ export const ReceivingRecords = [
* @returns {Array} JIS信息查询 * @returns {Array} JIS信息查询
*/ */
export const JISMessageQuery = [ export const JISMessageQuery = [
{ label: "物代码", prop: "itemCode", }, { label: "物代码", prop: "itemCode", },
{ label: "物名称",type: "object", prop: "item", showProp: "name" }, { label: "物名称",type: "object", prop: "item", showProp: "name" },
{ label: "物描述",type: "object", prop: "item", showProp: "desc1" }, { label: "物描述",type: "object", prop: "item", showProp: "desc1" },
{ label: "产品号", prop: "productNo" }, { label: "产品号", prop: "productNo" },
{ label: "项目号", prop: 'program' }, { label: "项目号", prop: 'program' },
{ label: "位置", prop: 'position' }, { label: "位置", prop: 'position' },
@ -1150,13 +1150,13 @@ export const ReceivingRecords = [
*/ */
export const OuterJisDeliverNote = [ export const OuterJisDeliverNote = [
{ label: "单据号", prop: "number" }, { label: "单据号", prop: "number" },
{ label: "物代码", prop: "itemCode" }, { label: "物代码", prop: "itemCode" },
{ label: "发货单号", prop: 'deliverNumber' }, { label: "发货单号", prop: 'deliverNumber' },
{ label: "生产号", prop: 'productionNumber' }, { label: "生产号", prop: 'productionNumber' },
{ label: "REV", prop: 'rev' }, { label: "REV", prop: 'rev' },
{ label: "配置号", prop: 'l7Part' }, { label: "配置号", prop: 'l7Part' },
{ label: "流水号", prop: 'serialNumber' }, { label: "流水号", prop: 'serialNumber' },
{ label: "物描述", prop: 'itemName' }, { label: "物描述", prop: 'itemName' },
{ label: "位置", prop: 'position' }, { label: "位置", prop: 'position' },
{ label: "数量", prop: 'qty' }, { label: "数量", prop: 'qty' },
{ label: "站别名", prop: 'siteNickName' }, { label: "站别名", prop: 'siteNickName' },
@ -1179,14 +1179,14 @@ export const ReceivingRecords = [
*/ */
export const OuterPillarDeliverNote = [ export const OuterPillarDeliverNote = [
{ label: "单据号", prop: "number" }, { label: "单据号", prop: "number" },
{ label: "物代码", prop: "itemCode" }, { label: "物代码", prop: "itemCode" },
{ label: "发货单号", prop: 'deliverNumber' }, { label: "发货单号", prop: 'deliverNumber' },
// { label: "生产号", prop: 'productionNumber' }, // { label: "生产号", prop: 'productionNumber' },
// { label: "REV", prop: 'rev' }, // { label: "REV", prop: 'rev' },
// { label: "配置号", prop: 'l7Part' }, // { label: "配置号", prop: 'l7Part' },
// { label: "流水号", prop: 'serialNumber' }, // { label: "流水号", prop: 'serialNumber' },
{ label: "物描述1", prop: 'item', showProp:'desc1', type: "object" }, { label: "物描述1", prop: 'item', showProp:'desc1', type: "object" },
{ label: "物描述2", prop: 'item', showProp:'desc2', type: "object" }, { label: "物描述2", prop: 'item', showProp:'desc2', type: "object" },
{ label: "来源库位", prop: 'locationCode' }, { label: "来源库位", prop: 'locationCode' },
{ label: "发货数量", prop: 'qty', showProp: 'qty', type: 'object' }, { label: "发货数量", prop: 'qty', showProp: 'qty', type: 'object' },
// { label: "位置", prop: 'position' }, // { label: "位置", prop: 'position' },
@ -1211,8 +1211,8 @@ export const OuterPillarDeliverNote = [
*/ */
export const OuterJisUnplannedReceiptNote = [ export const OuterJisUnplannedReceiptNote = [
{ label: "单据号", prop: "number" }, { label: "单据号", prop: "number" },
{ label: "物代码", prop: "itemCode" }, { label: "物代码", prop: "itemCode" },
{ label: "物描述", prop: 'itemName' }, { label: "物描述", prop: 'itemName' },
{ label: "计划外入库单号", prop: 'outerUnplannedReceiptNumber' }, { label: "计划外入库单号", prop: 'outerUnplannedReceiptNumber' },
{ label: "单据类型", prop: 'documentType' }, { label: "单据类型", prop: 'documentType' },
{ label: "生产号", prop: 'productionNumber' }, { label: "生产号", prop: 'productionNumber' },
@ -1234,8 +1234,8 @@ export const OuterPillarDeliverNote = [
*/ */
export const OuterJisUnplannedIssueNote = [ export const OuterJisUnplannedIssueNote = [
{ label: "单据号", prop: "number" }, { label: "单据号", prop: "number" },
{ label: "物代码", prop: "itemCode" }, { label: "物代码", prop: "itemCode" },
{ label: "物描述", prop: 'itemName' }, { label: "物描述", prop: 'itemName' },
{ label: "计划外出库单号", prop: 'outerUnplannedIssueNumber' }, { label: "计划外出库单号", prop: 'outerUnplannedIssueNumber' },
{ label: "单据类型", prop: 'documentType' }, { label: "单据类型", prop: 'documentType' },
{ label: "生产号", prop: 'productionNumber' }, { label: "生产号", prop: 'productionNumber' },
@ -1334,10 +1334,10 @@ export const SingleDoorPanelProductAdjust = [
* @returns {Array} - * @returns {Array} -
*/ */
export const SingleDoorPanelProductTransferNote = [ export const SingleDoorPanelProductTransferNote = [
{ label: "物编号", prop: "itemCode", fixed: "left" }, { label: "物编号", prop: "itemCode", fixed: "left" },
{ type: "object", label: "物名称", prop: "item", showProp: "name" }, { type: "object", label: "物名称", prop: "item", showProp: "name" },
{ type: "object", label: "物描述1", prop: "item", showProp: "desc1" }, { type: "object", label: "物描述1", prop: "item", showProp: "desc1" },
{ type: "object", label: "物描述2", prop: "item", showProp: "desc2" }, { type: "object", label: "物描述2", prop: "item", showProp: "desc2" },
{ label: "批次", prop: "lot" }, { label: "批次", prop: "lot" },
{ label: "箱标签", prop: "packingCode" }, { label: "箱标签", prop: "packingCode" },
{ label: "托标签", prop: "containerCode" }, { label: "托标签", prop: "containerCode" },
@ -1379,10 +1379,10 @@ export const SingleDoorPanelCustomerReturnNote = [
* @returns {Array} * @returns {Array}
*/ */
export const PillarDeliverNote = [ export const PillarDeliverNote = [
{ label: "物编号", prop: "itemCode", fixed: "left",}, { label: "物编号", prop: "itemCode", fixed: "left",},
{ type: "object", label: "物名称", prop: "item", showProp: "name", }, { type: "object", label: "物名称", prop: "item", showProp: "name", },
{ type: "object", label: "物描述1", prop: "item", showProp: "desc1", }, { type: "object", label: "物描述1", prop: "item", showProp: "desc1", },
{ type: "object", label: "物描述2", prop: "item", showProp: "desc2", }, { type: "object", label: "物描述2", prop: "item", showProp: "desc2", },
{ 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: "toLot", }, { label: "目标批次", prop: "toLot", },

4
src/utils/disposition/tabsList.ts

@ -1,10 +1,10 @@
// 页面tabs标签 // 页面tabs标签
export const ItemBasicTabsList = [{ export const ItemBasicTabsList = [{
label: "供应商物", label: "供应商物",
prop: 'SupplierItems', prop: 'SupplierItems',
}, },
{ {
label: "客户物", label: "客户物",
prop: 'CustomerItems', prop: 'CustomerItems',
}, },
{ {

8
src/views/Home/components/supplierIndex.vue

@ -180,10 +180,10 @@
<el-table-column prop="reason" label="原因" width="120" /> <el-table-column prop="reason" label="原因" width="120" />
<el-table-column prop="singlePrice" label="单价" width="120" /> <el-table-column prop="singlePrice" label="单价" width="120" />
<el-table-column prop="amount" label="金额" width="120" /> <el-table-column prop="amount" label="金额" width="120" />
<el-table-column prop="itemCode" label="物代码" width="160" /> <el-table-column prop="itemCode" label="物代码" width="160" />
<el-table-column prop="itemName" label="物名称" width="120" /> <el-table-column prop="itemName" label="物名称" width="120" />
<el-table-column prop="itemDesc1" label="物描述1" width="120" /> <el-table-column prop="itemDesc1" label="物描述1" width="120" />
<el-table-column prop="itemDesc2" label="物描述2" width="120" /> <el-table-column prop="itemDesc2" label="物描述2" width="120" />
<el-table-column prop="qty" label="数量" width="120" /> <el-table-column prop="qty" label="数量" width="120" />
<el-table-column prop="uom" label="计量单位" width="120"> <el-table-column prop="uom" label="计量单位" width="120">
<template #default="scope"> <template #default="scope">

10
src/views/wms/basicDataManage/customerManage/customeritem/customeritem.data.ts

@ -12,7 +12,7 @@ import {validateYS} from '@/utils/validator'
const { t } = useI18n() // 国际化 const { t } = useI18n() // 国际化
/** /**
* @returns {Array} * @returns {Array}
*/ */
export const Customeritem = useCrudSchemas(reactive<CrudSchema[]>([ export const Customeritem = useCrudSchemas(reactive<CrudSchema[]>([
{ {
@ -52,9 +52,9 @@ export const Customeritem = useCrudSchemas(reactive<CrudSchema[]>([
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择物代码', // 输入框占位文本 searchListPlaceholder: '请选择物代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '物基础信息', // 查询弹窗标题 searchTitle: '物基础信息', // 查询弹窗标题
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类 searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法 searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法
searchCondition: [{ searchCondition: [{
@ -291,7 +291,7 @@ export const CustomeritemRules = reactive({
{ required: true, message: '请输入客户代码', trigger: 'blur' } { required: true, message: '请输入客户代码', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请输入物代码', trigger: 'blur' } { required: true, message: '请输入物代码', trigger: 'blur' }
], ],
packUnit: [ packUnit: [
{ required: true, message: '请选择客户包装单位', trigger: 'change' } { required: true, message: '请选择客户包装单位', trigger: 'change' }
@ -307,7 +307,7 @@ export const CustomeritemRules = reactive({
], ],
customerItemCode: [ customerItemCode: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }, { max: 50, message: '不得超过50个字符', trigger: 'blur' },
{ validate: validateYS, message: '请输入正确的客户物代码', trigger: 'blur' } { validate: validateYS, message: '请输入正确的客户物代码', trigger: 'blur' }
], ],
remark: [ remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } { max: 50, message: '不得超过50个字符', trigger: 'blur' }

4
src/views/wms/basicDataManage/customerManage/customeritem/index.vue

@ -206,7 +206,7 @@ const handleExport = async () => {
// //
exportLoading.value = true exportLoading.value = true
const data = await CustomeritemApi.exportCustomeritem(tableObject.params) const data = await CustomeritemApi.exportCustomeritem(tableObject.params)
download.excel(data, '客户物 .xlsx') download.excel(data, '客户物 .xlsx')
} catch { } catch {
} finally { } finally {
exportLoading.value = false exportLoading.value = false
@ -221,7 +221,7 @@ const handleImport = () => {
// //
const importTemplateData = reactive({ const importTemplateData = reactive({
templateUrl: '', templateUrl: '',
templateTitle: '客户物导入模版.xlsx' templateTitle: '客户物导入模版.xlsx'
}) })
// //
const importSuccess = () => { const importSuccess = () => {

4
src/views/wms/basicDataManage/customerManage/saleprice/saleprice.data.ts

@ -52,9 +52,9 @@ export const Saleprice = useCrudSchemas(reactive<CrudSchema[]>([
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择物代码', // 输入框占位文本 searchListPlaceholder: '请选择物代码', // 输入框占位文本
searchField: 'itemCode', // 查询弹窗赋值字段 searchField: 'itemCode', // 查询弹窗赋值字段
searchTitle: '客户物信息', // 查询弹窗标题 searchTitle: '客户物信息', // 查询弹窗标题
searchAllSchemas: Customeritem.allSchemas, // 查询弹窗所需类 searchAllSchemas: Customeritem.allSchemas, // 查询弹窗所需类
searchPage: CustomeritemApi.getCustomeritemPage, // 查询弹窗所需分页方法 searchPage: CustomeritemApi.getCustomeritemPage, // 查询弹窗所需分页方法
searchCondition: [{ searchCondition: [{

8
src/views/wms/basicDataManage/documentSetting/businesstype/businesstype.data.ts

@ -48,7 +48,7 @@ export const Businesstype = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '可用物类型范围', label: '可用物类型范围',
field: 'itemTypes', field: 'itemTypes',
dictType: DICT_TYPE.ITEM_TYPE, dictType: DICT_TYPE.ITEM_TYPE,
dictClass: 'string', dictClass: 'string',
@ -65,7 +65,7 @@ export const Businesstype = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
{ {
label: '可用物状态范围', label: '可用物状态范围',
field: 'itemStatuses', field: 'itemStatuses',
dictType: DICT_TYPE.ITEM_STATUS, dictType: DICT_TYPE.ITEM_STATUS,
dictClass: 'string', dictClass: 'string',
@ -355,10 +355,10 @@ export const BusinesstypeRules = reactive({
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } { max: 50, message: '不得超过50个字符', trigger: 'blur' }
], ],
itemTypes: [ itemTypes: [
{ required: true, message: '请选择可用物类型范围', trigger: 'change' } { required: true, message: '请选择可用物类型范围', trigger: 'change' }
], ],
itemStatuses: [ itemStatuses: [
{ required: true, message: '请选择可用物状态范围', trigger: 'change' } { required: true, message: '请选择可用物状态范围', trigger: 'change' }
], ],
outTransactionType: [ outTransactionType: [
{ required: true, message: '请输入出库事务类型', trigger: 'blur' } { required: true, message: '请输入出库事务类型', trigger: 'blur' }

10
src/views/wms/basicDataManage/itemManage/bom/bom.data.ts

@ -26,9 +26,9 @@ export const Bom = useCrudSchemas(reactive<CrudSchema[]>([
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择物代码', // 输入框占位文本 searchListPlaceholder: '请选择物代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '物基础信息', // 查询弹窗标题 searchTitle: '物基础信息', // 查询弹窗标题
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类 searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法 searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法
searchCondition: [{ searchCondition: [{
@ -59,9 +59,9 @@ export const Bom = useCrudSchemas(reactive<CrudSchema[]>([
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择物代码', // 输入框占位文本 searchListPlaceholder: '请选择物代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '物基础信息', // 查询弹窗标题 searchTitle: '物基础信息', // 查询弹窗标题
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类 searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法 searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法
searchCondition: [{ searchCondition: [{
@ -131,7 +131,7 @@ export const Bom = useCrudSchemas(reactive<CrudSchema[]>([
field: 'version', field: 'version',
sort: 'custom', sort: 'custom',
form: { form: {
labelMessage: '子物品要和父物品版本相同', labelMessage: '子物料要和父物料版本相同',
} }
}, },
{ {

8
src/views/wms/basicDataManage/itemManage/bom/index.vue

@ -67,7 +67,7 @@ import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue' import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue' import Detail from '@/components/Detail/src/Detail.vue'
// bom // bom
defineOptions({ name: 'Bom' }) defineOptions({ name: 'Bom' })
const message = useMessage() // const message = useMessage() //
@ -162,7 +162,7 @@ const formsSuccess = async (formType,data) => {
if(data.activeTime==0)data.activeTime = null; if(data.activeTime==0)data.activeTime = null;
if(data.expireTime==0)data.expireTime = null; if(data.expireTime==0)data.expireTime = null;
if (data.productItemCode == data.componentItemCode) { if (data.productItemCode == data.componentItemCode) {
message.error('父物品代码和子物品代码不能相同!') message.error('父物料代码和子物料代码不能相同!')
return return
} }
if (formType === 'create') { if (formType === 'create') {
@ -216,7 +216,7 @@ const handleExport = async () => {
// //
exportLoading.value = true exportLoading.value = true
const data = await BomApi.exportBom(tableObject.params) const data = await BomApi.exportBom(tableObject.params)
download.excel(data, '物清单信息 .xlsx') download.excel(data, '物清单信息 .xlsx')
} catch { } catch {
} finally { } finally {
exportLoading.value = false exportLoading.value = false
@ -231,7 +231,7 @@ const handleImport = () => {
// //
const importTemplateData = reactive({ const importTemplateData = reactive({
templateUrl: '', templateUrl: '',
templateTitle: '物清单信息导入模版.xlsx' templateTitle: '物清单信息导入模版.xlsx'
}) })
// //
const importSuccess = () => { const importSuccess = () => {

8
src/views/wms/basicDataManage/itemManage/itembasic/index.vue

@ -88,7 +88,7 @@ import { Expectin } from '@/views/wms/inventoryManage/expectin/expectin.data'
import * as ExpectinApi from '@/api/wms/expectin' import * as ExpectinApi from '@/api/wms/expectin'
// //
defineOptions({ name: 'Itembasic' }) defineOptions({ name: 'Itembasic' })
const tabsExtend = ref(false) const tabsExtend = ref(false)
@ -179,7 +179,7 @@ const handleImport = () => {
// //
const importTemplateData = reactive({ const importTemplateData = reactive({
templateUrl: '', templateUrl: '',
templateTitle: '物基础信息导入模版.xlsx' templateTitle: '物基础信息导入模版.xlsx'
}) })
// //
@ -256,7 +256,7 @@ const handleExport = async () => {
// //
exportLoading.value = true exportLoading.value = true
const data = await ItembasicApi.exportItembasic(tableObject.params) const data = await ItembasicApi.exportItembasic(tableObject.params)
download.excel(data, '物基本信息.xlsx') download.excel(data, '物基本信息.xlsx')
} catch { } catch {
} finally { } finally {
exportLoading.value = false exportLoading.value = false
@ -311,7 +311,7 @@ const changeTabs = (item) => {
detailAllSchemas.value.tableColumns.splice(index,1) detailAllSchemas.value.tableColumns.splice(index,1)
} }
}) })
// //
tableObjectExtend.value = [{ tableObjectExtend.value = [{
key: 'itemCode', key: 'itemCode',
value: itemCodeRow.value value: itemCodeRow.value

4
src/views/wms/basicDataManage/itemManage/itempackaging/index.vue

@ -221,7 +221,7 @@ const handleExport = async () => {
// //
exportLoading.value = true exportLoading.value = true
const data = await ItempackagingApi.exportItempackaging(tableObject.params) const data = await ItempackagingApi.exportItempackaging(tableObject.params)
download.excel(data, '物包装信息.xlsx') download.excel(data, '物包装信息.xlsx')
} catch { } catch {
} finally { } finally {
exportLoading.value = false exportLoading.value = false
@ -236,7 +236,7 @@ const handleImport = () => {
// //
const importTemplateData = reactive({ const importTemplateData = reactive({
templateUrl: '', templateUrl: '',
templateTitle: '物包装信息导入模版.xlsx' templateTitle: '物包装信息导入模版.xlsx'
}) })
// //
const importSuccess = () => { const importSuccess = () => {

8
src/views/wms/basicDataManage/itemManage/itempackaging/itempackaging.data.ts

@ -10,7 +10,7 @@ const { t } = useI18n() // 国际化
*/ */
export const Itempackaging = useCrudSchemas(reactive<CrudSchema[]>([ export const Itempackaging = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
@ -22,9 +22,9 @@ export const Itempackaging = useCrudSchemas(reactive<CrudSchema[]>([
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择物代码', // 输入框占位文本 searchListPlaceholder: '请选择物代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '物基础信息', // 查询弹窗标题 searchTitle: '物基础信息', // 查询弹窗标题
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类 searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法 searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法
searchCondition: [{ searchCondition: [{
@ -274,7 +274,7 @@ export const Itempackaging = useCrudSchemas(reactive<CrudSchema[]>([
// 表单校验 // 表单校验
export const ItempackagingRules = reactive({ export const ItempackagingRules = reactive({
itemCode: [{ required: true, message: '物代码不能为空', trigger: 'change' }], itemCode: [{ required: true, message: '物代码不能为空', trigger: 'change' }],
uom: [{ required: true, message: '计量单位不能为空', trigger: 'change' }], uom: [{ required: true, message: '计量单位不能为空', trigger: 'change' }],
stdPackUnit: [{ required: true, message: '包装单位不能为空', trigger: 'change' }], stdPackUnit: [{ required: true, message: '包装单位不能为空', trigger: 'change' }],
stdPackQty: [{ required: true, message: '包装数量不能为空', trigger: 'change' }], stdPackQty: [{ required: true, message: '包装数量不能为空', trigger: 'change' }],

8
src/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data.ts

@ -86,7 +86,7 @@ export const Productionlineitem = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
isSearch: true, isSearch: true,
sort: 'custom', sort: 'custom',
@ -97,9 +97,9 @@ export const Productionlineitem = useCrudSchemas(reactive<CrudSchema[]>([
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
isSearchList: true, isSearchList: true,
searchListPlaceholder: '请选择物代码', searchListPlaceholder: '请选择物代码',
searchField: 'code', searchField: 'code',
searchTitle: '物信息', searchTitle: '物信息',
searchAllSchemas: Itembasic.allSchemas, searchAllSchemas: Itembasic.allSchemas,
searchPage: ItembasicApi.getItembasicPage, searchPage: ItembasicApi.getItembasicPage,
searchCondition: [ searchCondition: [
@ -245,7 +245,7 @@ export const ProductionlineitemRules = reactive({
{ required: true, message: '请输入产线代码', trigger: 'change' } { required: true, message: '请输入产线代码', trigger: 'change' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请输入物代码', trigger: 'change' } { required: true, message: '请输入物代码', trigger: 'change' }
], ],
remark: [ remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } { max: 50, message: '不得超过50个字符', trigger: 'blur' }

2
src/views/wms/basicDataManage/itemManage/stdcostprice/index.vue

@ -28,7 +28,7 @@
v-model:sort="tableObject.sort" v-model:sort="tableObject.sort"
> >
<template #itemCode="{row}"> <template #itemCode="{row}">
<el-button type="primary" link @click="openDetail(row, '物代码', row.itemCode)"> <el-button type="primary" link @click="openDetail(row, '物代码', row.itemCode)">
<span>{{ row.itemCode }}</span> <span>{{ row.itemCode }}</span>
</el-button> </el-button>
</template> </template>

6
src/views/wms/basicDataManage/itemManage/stdcostprice/stdcostprice.data.ts

@ -42,7 +42,7 @@ export const Stdcostprice = useCrudSchemas(reactive<CrudSchema[]>([
// } // }
// }, // },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
isSearch: true, isSearch: true,
sort: 'custom', sort: 'custom',
@ -54,9 +54,9 @@ export const Stdcostprice = useCrudSchemas(reactive<CrudSchema[]>([
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择物代码', // 输入框占位文本 searchListPlaceholder: '请选择物代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '物信息', // 查询弹窗标题 searchTitle: '物信息', // 查询弹窗标题
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类 searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法 searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法
searchCondition: [ searchCondition: [

18
src/views/wms/basicDataManage/labelManage/manufacturePackage/manufacturePackage.data.ts

@ -114,7 +114,7 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
@ -125,9 +125,9 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
isSearchList: true, isSearchList: true,
searchListPlaceholder: '请选择物代码', searchListPlaceholder: '请选择物代码',
searchField: 'code', searchField: 'code',
searchTitle: '物信息', searchTitle: '物信息',
searchAllSchemas: Itembasic.allSchemas, searchAllSchemas: Itembasic.allSchemas,
searchPage: ItembasicApi.getItembasicPage, searchPage: ItembasicApi.getItembasicPage,
searchCondition: [{ searchCondition: [{
@ -139,7 +139,7 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -148,7 +148,7 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
isForm:false isForm:false
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -157,7 +157,7 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
isForm:false isForm:false
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -360,9 +360,9 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
// // labelMessage: '信息提示说明!!!', // // labelMessage: '信息提示说明!!!',
// componentProps: { // componentProps: {
// isSearchList: true, // isSearchList: true,
// searchListPlaceholder: '请选择物代码', // searchListPlaceholder: '请选择物代码',
// searchField: 'code', // searchField: 'code',
// searchTitle: '物信息', // searchTitle: '物信息',
// searchAllSchemas: Itembasic.allSchemas, // searchAllSchemas: Itembasic.allSchemas,
// searchPage: ItembasicApi.getItembasicPage, // searchPage: ItembasicApi.getItembasicPage,
// searchCondition: [{ // searchCondition: [{
@ -467,7 +467,7 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
//表单校验 //表单校验
export const PackageRulesInventor = reactive({ export const PackageRulesInventor = reactive({
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
batch: [ batch: [
{ required: true, message: '请输入批次', trigger: 'blur' } { required: true, message: '请输入批次', trigger: 'blur' }

18
src/views/wms/basicDataManage/labelManage/purchasePackage/purchasePackage.data.ts

@ -123,7 +123,7 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
@ -134,9 +134,9 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
isSearchList: true, isSearchList: true,
searchListPlaceholder: '请选择物代码', searchListPlaceholder: '请选择物代码',
searchField: 'code', searchField: 'code',
searchTitle: '物信息', searchTitle: '物信息',
searchAllSchemas: Itembasic.allSchemas, searchAllSchemas: Itembasic.allSchemas,
searchPage: ItembasicApi.getItembasicPage, searchPage: ItembasicApi.getItembasicPage,
searchCondition: [{ searchCondition: [{
@ -148,7 +148,7 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -157,7 +157,7 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
isForm:false isForm:false
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -166,7 +166,7 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
isForm:false isForm:false
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -455,7 +455,7 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
{ {
label: '供应商物代码', label: '供应商物代码',
field: 'supplierItemCode', field: 'supplierItemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -600,7 +600,7 @@ export const PackageInventory = useCrudSchemas(reactive<CrudSchema[]>([
//表单校验 //表单校验
export const PackageRulesInventor = reactive({ export const PackageRulesInventor = reactive({
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
batch: [ batch: [
{ required: true, message: '请输入批次', trigger: 'blur' } { required: true, message: '请输入批次', trigger: 'blur' }
@ -633,7 +633,7 @@ export const PackageRulesInventor = reactive({
{ required: true, message: '请选择供应商代码', trigger: 'change' } { required: true, message: '请选择供应商代码', trigger: 'change' }
], ],
// supplierItemCode: [ // supplierItemCode: [
// { required: true, message: '请选择供应商物代码', trigger: 'change' } // { required: true, message: '请选择供应商物代码', trigger: 'change' }
// ], // ],
// poNumber: [ // poNumber: [
// { required: true, message: '请选择采购订单号', trigger: 'change' } // { required: true, message: '请选择采购订单号', trigger: 'change' }

22
src/views/wms/basicDataManage/strategySetting/strategy/batchStrategy/AddForm.vue

@ -94,7 +94,7 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<!-- 选择物类型 --> <!-- 选择物类型 -->
<el-form-item label="" label-width="0" class="err-240" v-if="index == 1"> <el-form-item label="" label-width="0" class="err-240" v-if="index == 1">
<el-select <el-select
v-model="item.ParamCode" v-model="item.ParamCode"
@ -123,7 +123,7 @@
</el-select> </el-select>
<el-select <el-select
v-model="item.Value" v-model="item.Value"
placeholder="请选择物类型" placeholder="请选择物类型"
style="flex: 1" style="flex: 1"
clearable clearable
multiple multiple
@ -155,7 +155,7 @@
</el-select> </el-select>
<el-input <el-input
v-model="item.Value" v-model="item.Value"
placeholder="请输入物品分组,多个物品分组以逗号分隔" placeholder="请输入物料分组,多个物料分组以逗号分隔"
clearable clearable
style="flex: 1" style="flex: 1"
v-else-if="item.ParamCode == 'ItemGroup'" v-else-if="item.ParamCode == 'ItemGroup'"
@ -169,7 +169,7 @@
/> />
<el-input <el-input
v-model="item.Value" v-model="item.Value"
placeholder="请输入物品,多个物品以逗号分隔" placeholder="请输入物料,多个物料以逗号分隔"
clearable clearable
style="flex: 1" style="flex: 1"
v-else-if="item.ParamCode == 'ItemCode'" v-else-if="item.ParamCode == 'ItemCode'"
@ -288,7 +288,7 @@ const formData = ref({
condition: [ condition: [
// //
{ ParamCode: 'SupplierCode', Operator: 'IN', Value: '' }, { ParamCode: 'SupplierCode', Operator: 'IN', Value: '' },
// ///abc// // ///abc//
{ ParamCode: 'ItemType', Operator: 'IN', Value: '' } { ParamCode: 'ItemType', Operator: 'IN', Value: '' }
], ],
configuration: { configuration: {
@ -343,11 +343,11 @@ const options = reactive({
], ],
// //
supplierList: [], supplierList: [],
// //
itemTypeOptions: [ itemTypeOptions: [
{ value: 'ItemType', label: '物类型' }, { value: 'ItemType', label: '物类型' },
{ value: 'ItemGroup', label: '物分组' }, { value: 'ItemGroup', label: '物分组' },
{ value: 'ItemCode', label: '物' }, { value: 'ItemCode', label: '物' },
{ value: 'Project', label: '项目' }, { value: 'Project', label: '项目' },
{ value: 'AbcClass', label: 'ABC类' } { value: 'AbcClass', label: 'ABC类' }
] ]
@ -386,7 +386,7 @@ const changeSupplierCustomer = (e) => {
} }
} }
getFormSupplierList() getFormSupplierList()
// //abc// // //abc//
const changeItemsType = () => { const changeItemsType = () => {
formData.value.condition[1].Value = '' formData.value.condition[1].Value = ''
} }
@ -529,7 +529,7 @@ const resetForm = () => {
condition: [ condition: [
// //
{ ParamCode: 'SupplierCode', Operator: 'IN', Value: '' }, { ParamCode: 'SupplierCode', Operator: 'IN', Value: '' },
// ///abc// // ///abc//
{ ParamCode: 'ItemType', Operator: 'IN', Value: '' } { ParamCode: 'ItemType', Operator: 'IN', Value: '' }
], ],
configuration: { configuration: {

22
src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/AddForm.vue

@ -95,7 +95,7 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<!-- 选择物类型 --> <!-- 选择物类型 -->
<el-form-item label="" label-width="0" class="err-240" v-if="index == 1"> <el-form-item label="" label-width="0" class="err-240" v-if="index == 1">
<el-select <el-select
v-model="item.ParamCode" v-model="item.ParamCode"
@ -124,7 +124,7 @@
</el-select> </el-select>
<el-select <el-select
v-model="item.Value" v-model="item.Value"
placeholder="请选择物类型" placeholder="请选择物类型"
style="flex: 1" style="flex: 1"
clearable clearable
multiple multiple
@ -156,7 +156,7 @@
</el-select> </el-select>
<el-input <el-input
v-model="item.Value" v-model="item.Value"
placeholder="请输入物品分组,多个物品分组以逗号分隔" placeholder="请输入物料分组,多个物料分组以逗号分隔"
clearable clearable
style="flex: 1" style="flex: 1"
v-else-if="item.ParamCode == 'ItemGroup'" v-else-if="item.ParamCode == 'ItemGroup'"
@ -170,7 +170,7 @@
/> />
<el-input <el-input
v-model="item.Value" v-model="item.Value"
placeholder="请输入物品,多个物品以逗号分隔" placeholder="请输入物料,多个物料以逗号分隔"
clearable clearable
style="flex: 1" style="flex: 1"
v-else-if="item.ParamCode == 'ItemCode'" v-else-if="item.ParamCode == 'ItemCode'"
@ -585,7 +585,7 @@ const formData = ref({
condition: [ condition: [
// //
{ ParamCode: 'SupplierCode', Operator: 'IN', Value: '' }, { ParamCode: 'SupplierCode', Operator: 'IN', Value: '' },
// ///abc// // ///abc//
{ ParamCode: 'ItemType', Operator: 'IN', Value: '' }, { ParamCode: 'ItemType', Operator: 'IN', Value: '' },
// // // //
{ ParamCode: 'Weight', Operator: '>', Value: [] }, { ParamCode: 'Weight', Operator: '>', Value: [] },
@ -672,11 +672,11 @@ const options = reactive({
], ],
// //
supplierList: [], supplierList: [],
// //
itemTypeOptions: [ itemTypeOptions: [
{ value: 'ItemType', label: '物类型' }, { value: 'ItemType', label: '物类型' },
{ value: 'ItemGroup', label: '物分组' }, { value: 'ItemGroup', label: '物分组' },
{ value: 'ItemCode', label: '物' }, { value: 'ItemCode', label: '物' },
{ value: 'Project', label: '项目' }, { value: 'Project', label: '项目' },
{ value: 'AbcClass', label: 'ABC类' } { value: 'AbcClass', label: 'ABC类' }
], ],
@ -735,7 +735,7 @@ const changeSupplierCustomer = (e) => {
} }
} }
getFormSupplierList() getFormSupplierList()
// //abc// // //abc//
const changeItemsType = () => { const changeItemsType = () => {
formData.value.condition[1].Value = '' formData.value.condition[1].Value = ''
} }
@ -931,7 +931,7 @@ const resetForm = () => {
condition: [ condition: [
// //
{ ParamCode: 'SupplierCode', Operator: 'IN', Value: '' }, { ParamCode: 'SupplierCode', Operator: 'IN', Value: '' },
// ///abc// // ///abc//
{ ParamCode: 'ItemType', Operator: 'IN', Value: '' }, { ParamCode: 'ItemType', Operator: 'IN', Value: '' },
// /// // ///
{ ParamCode: 'Weight', Operator: '>', Value: [] }, { ParamCode: 'Weight', Operator: '>', Value: [] },

12
src/views/wms/basicDataManage/strategySetting/strategy/inspectStrategy/AddForm.vue

@ -118,8 +118,8 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<!-- --> <!-- -->
<el-form-item v-else-if="index == 2" label="物" class="flex-top err-120"> <el-form-item v-else-if="index == 2" label="物" class="flex-top err-120">
<el-select <el-select
v-model="item.Operator" v-model="item.Operator"
placeholder="请选择范围" placeholder="请选择范围"
@ -134,7 +134,7 @@
</el-select> </el-select>
<el-input <el-input
v-model="item.Value" v-model="item.Value"
placeholder="请输入物品,多个物品以逗号分隔" placeholder="请输入物料,多个物料以逗号分隔"
clearable clearable
style="flex: 1" style="flex: 1"
/> />
@ -278,7 +278,7 @@ const formData = ref({
{ ParamCode: 'SupplierType', Operator: '==', Value: '' }, { ParamCode: 'SupplierType', Operator: '==', Value: '' },
// //
{ ParamCode: 'SupplierCode', Operator: '==', Value: '' }, { ParamCode: 'SupplierCode', Operator: '==', Value: '' },
// //
{ ParamCode: 'ItemCode', Operator: 'IN', Value: [] } { ParamCode: 'ItemCode', Operator: 'IN', Value: [] }
], ],
configuration: { configuration: {
@ -344,7 +344,7 @@ const options = reactive({
supplierRangeOptions: formatRangeOptions('=='), supplierRangeOptions: formatRangeOptions('=='),
// //
supplierList: [], supplierList: [],
// //
ItemCodeRangeOptions: formatRangeOptions('IN', 'NOT IN') ItemCodeRangeOptions: formatRangeOptions('IN', 'NOT IN')
}) })
// //
@ -527,7 +527,7 @@ const resetForm = () => {
{ ParamCode: 'SupplierType', Operator: '==', Value: '' }, { ParamCode: 'SupplierType', Operator: '==', Value: '' },
// //
{ ParamCode: 'SupplierCode', Operator: '==', Value: '' }, { ParamCode: 'SupplierCode', Operator: '==', Value: '' },
// //
{ ParamCode: 'ItemCode', Operator: 'IN', Value: [] } { ParamCode: 'ItemCode', Operator: 'IN', Value: [] }
], ],
configuration: { configuration: {

32
src/views/wms/basicDataManage/strategySetting/strategy/manageAccuracyStrategy/AddForm.vue

@ -94,7 +94,7 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<!-- 选择物类型 --> <!-- 选择物类型 -->
<el-form-item label="" label-width="0" class="err-240" v-if="index == 1"> <el-form-item label="" label-width="0" class="err-240" v-if="index == 1">
<el-select <el-select
v-model="item.ParamCode" v-model="item.ParamCode"
@ -123,7 +123,7 @@
</el-select> </el-select>
<el-select <el-select
v-model="item.Value" v-model="item.Value"
placeholder="请选择物类型" placeholder="请选择物类型"
style="flex: 1" style="flex: 1"
clearable clearable
multiple multiple
@ -155,7 +155,7 @@
</el-select> </el-select>
<el-input <el-input
v-model="item.Value" v-model="item.Value"
placeholder="请输入物品分组,多个物品分组以逗号分隔" placeholder="请输入物料分组,多个物料分组以逗号分隔"
clearable clearable
style="flex: 1" style="flex: 1"
v-else-if="item.ParamCode == 'ItemGroup'" v-else-if="item.ParamCode == 'ItemGroup'"
@ -169,7 +169,7 @@
/> />
<el-input <el-input
v-model="item.Value" v-model="item.Value"
placeholder="请输入物品,多个物品以逗号分隔" placeholder="请输入物料,多个物料以逗号分隔"
clearable clearable
style="flex: 1" style="flex: 1"
v-else-if="item.ParamCode == 'ItemCode'" v-else-if="item.ParamCode == 'ItemCode'"
@ -228,8 +228,8 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<!-- 忽略物 --> <!-- 忽略物 -->
<el-form-item label="忽略物" class="err-120" v-if="index == 3"> <el-form-item label="忽略物" class="err-120" v-if="index == 3">
<el-select <el-select
v-model="item.Operator" v-model="item.Operator"
placeholder="请选择范围" placeholder="请选择范围"
@ -244,7 +244,7 @@
</el-select> </el-select>
<el-input <el-input
v-model="item.Value" v-model="item.Value"
placeholder="请输入忽略物品,多个忽略物品以逗号分隔" placeholder="请输入忽略物料,多个忽略物料以逗号分隔"
clearable clearable
multiple multiple
collapse-tags collapse-tags
@ -342,11 +342,11 @@ const formData = ref({
condition: [ condition: [
// //
{ ParamCode: 'SupplierCode', Operator: 'IN', Value: '' }, { ParamCode: 'SupplierCode', Operator: 'IN', Value: '' },
// ///abc// // ///abc//
{ ParamCode: 'ItemType', Operator: 'IN', Value: '' }, { ParamCode: 'ItemType', Operator: 'IN', Value: '' },
// //
{ ParamCode: 'LocationCode', Operator: 'IN', Value: '' }, { ParamCode: 'LocationCode', Operator: 'IN', Value: '' },
// //
{ ParamCode: 'IgnoreListOfItem', Operator: 'IN', Value: '' }, { ParamCode: 'IgnoreListOfItem', Operator: 'IN', Value: '' },
// //
{ ParamCode: 'IgnoreListOfLocation', Operator: 'IN', Value: '' } { ParamCode: 'IgnoreListOfLocation', Operator: 'IN', Value: '' }
@ -395,11 +395,11 @@ const options = reactive({
], ],
// //
supplierList: [], supplierList: [],
// //
itemTypeOptions: [ itemTypeOptions: [
{ value: 'ItemType', label: '物类型' }, { value: 'ItemType', label: '物类型' },
{ value: 'ItemGroup', label: '物分组' }, { value: 'ItemGroup', label: '物分组' },
{ value: 'ItemCode', label: '物' }, { value: 'ItemCode', label: '物' },
{ value: 'Project', label: '项目' }, { value: 'Project', label: '项目' },
{ value: 'AbcClass', label: 'ABC类' } { value: 'AbcClass', label: 'ABC类' }
], ],
@ -454,7 +454,7 @@ const changeSupplierCustomer = (e) => {
} }
} }
getFormSupplierList() getFormSupplierList()
// //abc// // //abc//
const changeItemsType = () => { const changeItemsType = () => {
formData.value.condition[1].Value = '' formData.value.condition[1].Value = ''
} }
@ -629,11 +629,11 @@ const resetForm = () => {
condition: [ condition: [
// //
{ ParamCode: 'SupplierCode', Operator: 'IN', Value: '' }, { ParamCode: 'SupplierCode', Operator: 'IN', Value: '' },
// ///abc// // ///abc//
{ ParamCode: 'ItemType', Operator: 'IN', Value: '' }, { ParamCode: 'ItemType', Operator: 'IN', Value: '' },
// //
{ ParamCode: 'LocationCode', Operator: 'IN', Value: '' }, { ParamCode: 'LocationCode', Operator: 'IN', Value: '' },
// //
{ ParamCode: 'IgnoreListOfItem', Operator: 'IN', Value: '' }, { ParamCode: 'IgnoreListOfItem', Operator: 'IN', Value: '' },
// //
{ ParamCode: 'IgnoreListOfLocation', Operator: 'IN', Value: '' } { ParamCode: 'IgnoreListOfLocation', Operator: 'IN', Value: '' }

20
src/views/wms/basicDataManage/strategySetting/strategy/repairMaterialStrategy/AddForm.vue

@ -51,7 +51,7 @@
<div class="title">规则条件</div> <div class="title">规则条件</div>
<el-row gutter="10"> <el-row gutter="10">
<el-col :span="24" v-for="(item, index) in formData.condition" :key="index"> <el-col :span="24" v-for="(item, index) in formData.condition" :key="index">
<!-- 选择物类型 --> <!-- 选择物类型 -->
<el-form-item label="" label-width="0" class="err-240" v-if="index == 0"> <el-form-item label="" label-width="0" class="err-240" v-if="index == 0">
<el-select <el-select
v-model="item.ParamCode" v-model="item.ParamCode"
@ -80,7 +80,7 @@
</el-select> </el-select>
<el-select <el-select
v-model="item.Value" v-model="item.Value"
placeholder="请选择物类型" placeholder="请选择物类型"
style="flex: 1" style="flex: 1"
clearable clearable
multiple multiple
@ -112,7 +112,7 @@
</el-select> </el-select>
<el-input <el-input
v-model="item.Value" v-model="item.Value"
placeholder="请输入物品分组,多个物品分组以逗号分隔" placeholder="请输入物料分组,多个物料分组以逗号分隔"
clearable clearable
style="flex: 1" style="flex: 1"
v-else-if="item.ParamCode == 'ItemGroup'" v-else-if="item.ParamCode == 'ItemGroup'"
@ -126,7 +126,7 @@
/> />
<el-input <el-input
v-model="item.Value" v-model="item.Value"
placeholder="请输入物品,多个物品以逗号分隔" placeholder="请输入物料,多个物料以逗号分隔"
clearable clearable
style="flex: 1" style="flex: 1"
v-else-if="item.ParamCode == 'ItemCode'" v-else-if="item.ParamCode == 'ItemCode'"
@ -309,7 +309,7 @@ const formData = ref({
status: true, // status: true, //
// //
condition: [ condition: [
// ///abc// // ///abc//
{ ParamCode: 'ItemGroup', Operator: 'IN', Value: '' }, { ParamCode: 'ItemGroup', Operator: 'IN', Value: '' },
// //
{ ParamCode: 'LocationCode', Operator: 'IN', Value: '' } { ParamCode: 'LocationCode', Operator: 'IN', Value: '' }
@ -358,10 +358,10 @@ const options = reactive({
// //
rangeOptions1: formatRangeOptions('IN', 'NOT IN'), rangeOptions1: formatRangeOptions('IN', 'NOT IN'),
// //
itemTypeOptions: [ itemTypeOptions: [
{ value: 'ItemGroup', label: '物分组' }, { value: 'ItemGroup', label: '物分组' },
{ value: 'ItemCode', label: '物' }, { value: 'ItemCode', label: '物' },
{ value: 'Project', label: '项目' } { value: 'Project', label: '项目' }
], ],
@ -393,7 +393,7 @@ const buttonBaseClick = (val, item) => {
dialogVisible.value = false dialogVisible.value = false
} }
} }
// //abc// // //abc//
const changeItemsType = () => { const changeItemsType = () => {
formData.value.condition[0].Value = '' formData.value.condition[0].Value = ''
} }
@ -570,7 +570,7 @@ const resetForm = () => {
status: true, // status: true, //
// //
condition: [ condition: [
// ///abc// // ///abc//
{ ParamCode: 'ItemGroup', Operator: 'IN', Value: '' }, { ParamCode: 'ItemGroup', Operator: 'IN', Value: '' },
// //
{ ParamCode: 'LocationCode', Operator: 'IN', Value: '' } { ParamCode: 'LocationCode', Operator: 'IN', Value: '' }

20
src/views/wms/basicDataManage/strategySetting/strategy/storageCapacityStrategy/AddForm.vue

@ -51,7 +51,7 @@
<div class="title">规则条件</div> <div class="title">规则条件</div>
<el-row gutter="10"> <el-row gutter="10">
<el-col :span="24" v-for="(item, index) in formData.condition" :key="index"> <el-col :span="24" v-for="(item, index) in formData.condition" :key="index">
<!-- 选择物类型 --> <!-- 选择物类型 -->
<el-form-item label="" label-width="0" class="err-240" v-if="index == 0"> <el-form-item label="" label-width="0" class="err-240" v-if="index == 0">
<el-select <el-select
v-model="item.ParamCode" v-model="item.ParamCode"
@ -80,7 +80,7 @@
</el-select> </el-select>
<el-select <el-select
v-model="item.Value" v-model="item.Value"
placeholder="请选择物类型" placeholder="请选择物类型"
style="flex: 1" style="flex: 1"
clearable clearable
multiple multiple
@ -112,7 +112,7 @@
</el-select> </el-select>
<el-input <el-input
v-model="item.Value" v-model="item.Value"
placeholder="请输入物品分组,多个物品分组以逗号分隔" placeholder="请输入物料分组,多个物料分组以逗号分隔"
clearable clearable
style="flex: 1" style="flex: 1"
v-else-if="item.ParamCode == 'ItemGroup'" v-else-if="item.ParamCode == 'ItemGroup'"
@ -126,7 +126,7 @@
/> />
<el-input <el-input
v-model="item.Value" v-model="item.Value"
placeholder="请输入物品,多个物品以逗号分隔" placeholder="请输入物料,多个物料以逗号分隔"
clearable clearable
style="flex: 1" style="flex: 1"
v-else-if="item.ParamCode == 'ItemCode'" v-else-if="item.ParamCode == 'ItemCode'"
@ -307,7 +307,7 @@ const formData = ref({
status: true, // status: true, //
// //
condition: [ condition: [
// ///abc// // ///abc//
{ ParamCode: 'ItemGroup', Operator: 'IN', Value: '' }, { ParamCode: 'ItemGroup', Operator: 'IN', Value: '' },
// //
{ ParamCode: 'LocationCode', Operator: 'IN', Value: '' } { ParamCode: 'LocationCode', Operator: 'IN', Value: '' }
@ -359,10 +359,10 @@ const options = reactive({
// //
rangeOptions1: formatRangeOptions('IN', 'NOT IN'), rangeOptions1: formatRangeOptions('IN', 'NOT IN'),
// //
itemTypeOptions: [ itemTypeOptions: [
{ value: 'ItemGroup', label: '物分组' }, { value: 'ItemGroup', label: '物分组' },
{ value: 'ItemCode', label: '物' }, { value: 'ItemCode', label: '物' },
{ value: 'Project', label: '项目' } { value: 'Project', label: '项目' }
], ],
@ -393,7 +393,7 @@ const buttonBaseClick = (val, item) => {
dialogVisible.value = false dialogVisible.value = false
} }
} }
// //abc// // //abc//
const changeItemsType = () => { const changeItemsType = () => {
formData.value.condition[0].Value = '' formData.value.condition[0].Value = ''
} }
@ -568,7 +568,7 @@ const resetForm = () => {
status: true, // status: true, //
// //
condition: [ condition: [
// ///abc// // ///abc//
{ ParamCode: 'ItemGroup', Operator: 'IN', Value: '' }, { ParamCode: 'ItemGroup', Operator: 'IN', Value: '' },
// //
{ ParamCode: 'LocationCode', Operator: 'IN', Value: '' } { ParamCode: 'LocationCode', Operator: 'IN', Value: '' }

30
src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue

@ -95,7 +95,7 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<!-- 选择物类型 --> <!-- 选择物类型 -->
<el-form-item label="" label-width="0" class="err-240" v-if="index == 1"> <el-form-item label="" label-width="0" class="err-240" v-if="index == 1">
<el-select <el-select
v-model="item.ParamCode" v-model="item.ParamCode"
@ -124,7 +124,7 @@
</el-select> </el-select>
<el-select <el-select
v-model="item.Value" v-model="item.Value"
placeholder="请选择物类型" placeholder="请选择物类型"
style="flex: 1" style="flex: 1"
clearable clearable
multiple multiple
@ -156,7 +156,7 @@
</el-select> </el-select>
<el-input <el-input
v-model="item.Value" v-model="item.Value"
placeholder="请输入物品分组,多个物品分组以逗号分隔" placeholder="请输入物料分组,多个物料分组以逗号分隔"
clearable clearable
style="flex: 1" style="flex: 1"
v-else-if="item.ParamCode == 'ItemGroup'" v-else-if="item.ParamCode == 'ItemGroup'"
@ -170,7 +170,7 @@
/> />
<el-input <el-input
v-model="item.Value" v-model="item.Value"
placeholder="请输入物品,多个物品以逗号分隔" placeholder="请输入物料,多个物料以逗号分隔"
clearable clearable
style="flex: 1" style="flex: 1"
v-else-if="item.ParamCode == 'ItemCode'" v-else-if="item.ParamCode == 'ItemCode'"
@ -396,9 +396,9 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<!-- 可以混物 --> <!-- 可以混物 -->
<el-col :span="24"> <el-col :span="24">
<el-form-item label="可以混物"> <el-form-item label="可以混物">
<el-switch <el-switch
v-model="formData.configuration.EnableMixItem" v-model="formData.configuration.EnableMixItem"
active-value="TRUE" active-value="TRUE"
@ -536,7 +536,7 @@ const formData = ref({
condition: [ condition: [
// //
{ ParamCode: 'SupplierCode', Operator: 'IN', Value: '' }, { ParamCode: 'SupplierCode', Operator: 'IN', Value: '' },
// ///abc// // ///abc//
{ ParamCode: 'ItemType', Operator: 'IN', Value: '' }, { ParamCode: 'ItemType', Operator: 'IN', Value: '' },
// // // //
{ ParamCode: 'Weight', Operator: '>', Value: [] }, { ParamCode: 'Weight', Operator: '>', Value: [] },
@ -560,7 +560,7 @@ const formData = ref({
EmptyLocationFirst: 'FALSE', EmptyLocationFirst: 'FALSE',
// //
NotEmptyLocationFirst: 'FALSE', NotEmptyLocationFirst: 'FALSE',
// //
EnableMixItem: 'TRUE', EnableMixItem: 'TRUE',
// //
EnableMixLot: 'TRUE', EnableMixLot: 'TRUE',
@ -615,11 +615,11 @@ const options = reactive({
], ],
// //
supplierList: [], supplierList: [],
// //
itemTypeOptions: [ itemTypeOptions: [
{ value: 'ItemType', label: '物类型' }, { value: 'ItemType', label: '物类型' },
{ value: 'ItemGroup', label: '物分组' }, { value: 'ItemGroup', label: '物分组' },
{ value: 'ItemCode', label: '物' }, { value: 'ItemCode', label: '物' },
{ value: 'Project', label: '项目' }, { value: 'Project', label: '项目' },
{ value: 'AbcClass', label: 'ABC类' } { value: 'AbcClass', label: 'ABC类' }
], ],
@ -674,7 +674,7 @@ const changeSupplierCustomer = (e) => {
} }
} }
getFormSupplierList() getFormSupplierList()
// //abc// // //abc//
const changeItemsType = () => { const changeItemsType = () => {
formData.value.condition[1].Value = '' formData.value.condition[1].Value = ''
} }
@ -871,7 +871,7 @@ const resetForm = () => {
condition: [ condition: [
// //
{ ParamCode: 'SupplierCode', Operator: 'IN', Value: '' }, { ParamCode: 'SupplierCode', Operator: 'IN', Value: '' },
// ///abc// // ///abc//
{ ParamCode: 'ItemType', Operator: 'IN', Value: '' }, { ParamCode: 'ItemType', Operator: 'IN', Value: '' },
// /// // ///
{ ParamCode: 'Weight', Operator: '>', Value: [] }, { ParamCode: 'Weight', Operator: '>', Value: [] },
@ -895,7 +895,7 @@ const resetForm = () => {
EmptyLocationFirst: 'FALSE', EmptyLocationFirst: 'FALSE',
// //
NotEmptyLocationFirst: 'FALSE', NotEmptyLocationFirst: 'FALSE',
// //
EnableMixItem: 'TRUE', EnableMixItem: 'TRUE',
// //
EnableMixLot: 'TRUE', EnableMixLot: 'TRUE',

20
src/views/wms/basicDataManage/strategySetting/strategy/utensilCapacityStrategy/AddForm.vue

@ -91,7 +91,7 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<!-- 选择物类型 --> <!-- 选择物类型 -->
<el-form-item label="" label-width="0" class="err-240" v-if="index == 1"> <el-form-item label="" label-width="0" class="err-240" v-if="index == 1">
<el-select <el-select
v-model="item.ParamCode" v-model="item.ParamCode"
@ -120,7 +120,7 @@
</el-select> </el-select>
<el-select <el-select
v-model="item.Value" v-model="item.Value"
placeholder="请选择物类型" placeholder="请选择物类型"
style="flex: 1" style="flex: 1"
clearable clearable
multiple multiple
@ -152,7 +152,7 @@
</el-select> </el-select>
<el-input <el-input
v-model="item.Value" v-model="item.Value"
placeholder="请输入物品分组,多个物品分组以逗号分隔" placeholder="请输入物料分组,多个物料分组以逗号分隔"
clearable clearable
style="flex: 1" style="flex: 1"
v-else-if="item.ParamCode == 'ItemGroup'" v-else-if="item.ParamCode == 'ItemGroup'"
@ -166,7 +166,7 @@
/> />
<el-input <el-input
v-model="item.Value" v-model="item.Value"
placeholder="请输入物品,多个物品以逗号分隔" placeholder="请输入物料,多个物料以逗号分隔"
clearable clearable
style="flex: 1" style="flex: 1"
v-else-if="item.ParamCode == 'ItemCode'" v-else-if="item.ParamCode == 'ItemCode'"
@ -234,7 +234,7 @@ const formData = ref({
condition: [ condition: [
// //
{ ParamCode: 'ContainerType', Operator: 'IN', Value: '' }, { ParamCode: 'ContainerType', Operator: 'IN', Value: '' },
// ///abc// // ///abc//
{ ParamCode: 'ItemGroup', Operator: 'IN', Value: '' } { ParamCode: 'ItemGroup', Operator: 'IN', Value: '' }
], ],
configuration: { configuration: {
@ -274,10 +274,10 @@ const options = reactive({
// //
rangeOptions1: formatRangeOptions('IN', 'NOT IN'), rangeOptions1: formatRangeOptions('IN', 'NOT IN'),
// //
itemTypeOptions: [ itemTypeOptions: [
{ value: 'ItemGroup', label: '物分组' }, { value: 'ItemGroup', label: '物分组' },
{ value: 'ItemCode', label: '物' }, { value: 'ItemCode', label: '物' },
{ value: 'Project', label: '项目' } { value: 'Project', label: '项目' }
] ]
}) })
@ -298,7 +298,7 @@ const buttonBaseClick = (val, item) => {
} }
} }
// //abc// // //abc//
const changeItemsType = () => { const changeItemsType = () => {
formData.value.condition[1].Value = '' formData.value.condition[1].Value = ''
} }
@ -424,7 +424,7 @@ const resetForm = () => {
condition: [ condition: [
// //
{ ParamCode: 'ContainerType', Operator: 'IN', Value: '' }, { ParamCode: 'ContainerType', Operator: 'IN', Value: '' },
// ///abc// // ///abc//
{ ParamCode: 'ItemGroup', Operator: 'IN', Value: '' } { ParamCode: 'ItemGroup', Operator: 'IN', Value: '' }
], ],
configuration: { configuration: {

6
src/views/wms/basicDataManage/supplierManage/purchaseprice/purchaseprice.data.ts

@ -51,9 +51,9 @@ export const Purchaseprice = useCrudSchemas(reactive<CrudSchema[]>([
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择物代码', // 输入框占位文本 searchListPlaceholder: '请选择物代码', // 输入框占位文本
searchField: 'itemCode', // 查询弹窗赋值字段 searchField: 'itemCode', // 查询弹窗赋值字段
searchTitle: '供应商物信息', // 查询弹窗标题 searchTitle: '供应商物信息', // 查询弹窗标题
searchAllSchemas: Supplieritem.allSchemas, // 查询弹窗所需类 searchAllSchemas: Supplieritem.allSchemas, // 查询弹窗所需类
searchPage: SupplieritemApi.getSupplieritemPage, // 查询弹窗所需分页方法 searchPage: SupplieritemApi.getSupplieritemPage, // 查询弹窗所需分页方法
searchCondition: [{ searchCondition: [{
@ -219,7 +219,7 @@ export const PurchasepriceRules = reactive({
{ required: true, message: '请输入供应商代码', trigger: 'change' } { required: true, message: '请输入供应商代码', trigger: 'change' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请输入物代码', trigger: 'change' } { required: true, message: '请输入物代码', trigger: 'change' }
], ],
currency: [ currency: [
{ required: true, message: '请选择货币', trigger: 'change' } { required: true, message: '请选择货币', trigger: 'change' }

4
src/views/wms/basicDataManage/supplierManage/supplieritem/index.vue

@ -206,7 +206,7 @@ const handleExport = async () => {
// //
exportLoading.value = true exportLoading.value = true
const data = await SupplieritemApi.exportSupplieritem(tableObject.params) const data = await SupplieritemApi.exportSupplieritem(tableObject.params)
download.excel(data, '供应商物.xlsx') download.excel(data, '供应商物.xlsx')
} catch { } catch {
} finally { } finally {
exportLoading.value = false exportLoading.value = false
@ -221,7 +221,7 @@ const handleImport = () => {
// //
const importTemplateData = reactive({ const importTemplateData = reactive({
templateUrl: '', templateUrl: '',
templateTitle: '供应商物导入模版.xlsx' templateTitle: '供应商物导入模版.xlsx'
}) })
// //
const importSuccess = () => { const importSuccess = () => {

6
src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts

@ -18,7 +18,7 @@ import {validateYS} from '@/utils/validator'
const { t } = useI18n() // 国际化 const { t } = useI18n() // 国际化
/** /**
* @returns {Array} * @returns {Array}
*/ */
export const Supplieritem = useCrudSchemas(reactive<CrudSchema[]>([ export const Supplieritem = useCrudSchemas(reactive<CrudSchema[]>([
{ {
@ -59,9 +59,9 @@ export const Supplieritem = useCrudSchemas(reactive<CrudSchema[]>([
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择物代码', // 输入框占位文本 searchListPlaceholder: '请选择物代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '物基础信息', // 查询弹窗标题 searchTitle: '物基础信息', // 查询弹窗标题
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类 searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法 searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法
searchCondition: [{ searchCondition: [{

8
src/views/wms/countManage/count/countJobMain/countJobMain.data.ts

@ -575,7 +575,7 @@ export const CountJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -583,7 +583,7 @@ export const CountJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -591,7 +591,7 @@ export const CountJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -599,7 +599,7 @@ export const CountJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {

8
src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts

@ -64,7 +64,7 @@ export const CountPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
{ {
label: '物忽略名单', label: '物忽略名单',
field: 'ignoreListOfItem', field: 'ignoreListOfItem',
sort: 'custom', sort: 'custom',
table: { table: {
@ -74,9 +74,9 @@ export const CountPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
componentProps: { componentProps: {
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
multiple:true,//是否可以多选 multiple:true,//是否可以多选
searchListPlaceholder: '请选择物忽略名单', // 输入框占位文本 searchListPlaceholder: '请选择物忽略名单', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '物信息', // 查询弹窗标题 searchTitle: '物信息', // 查询弹窗标题
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类 searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
searchPage: ItembasicApi.getItembasicPage // 查询弹窗所需分页方法 searchPage: ItembasicApi.getItembasicPage // 查询弹窗所需分页方法
} }
@ -475,7 +475,7 @@ export const CountPlanMainRules = reactive({
// } // }
// }, // },
// { // {
// label: '物代码', // label: '物代码',
// field: 'itemCode', // field: 'itemCode',
// sort: 'custom', // sort: 'custom',
// table: { // table: {

2
src/views/wms/countManage/count/countPlanMain/index.vue

@ -713,7 +713,7 @@ const getCustomerAllList = async () => {
}) })
}) })
} }
// //
const getItembasicAllList = async () => { const getItembasicAllList = async () => {
await ItembasicApi.getItembasicList().then((res) => { await ItembasicApi.getItembasicList().then((res) => {
allList.value.itembasicAllList = res.map((element) => { allList.value.itembasicAllList = res.map((element) => {

10
src/views/wms/countManage/count/countRecordMain/countRecordMain.data.ts

@ -322,7 +322,7 @@ export const CountRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -330,7 +330,7 @@ export const CountRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -338,7 +338,7 @@ export const CountRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -346,7 +346,7 @@ export const CountRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -606,7 +606,7 @@ export const CountRecordDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
createTime: [ createTime: [
{ required: true, message: '请输入创建时间', trigger: 'blur' } { required: true, message: '请输入创建时间', trigger: 'blur' }

8
src/views/wms/countManage/count/countRequestMain/countRequestMain.data.ts

@ -374,7 +374,7 @@ export const CountRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -382,7 +382,7 @@ export const CountRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -392,7 +392,7 @@ export const CountRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false, isForm: false,
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -402,7 +402,7 @@ export const CountRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false, isForm: false,
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {

10
src/views/wms/countManage/countadjust/countadjustRecordMain/countadjustRecordMain.data.ts

@ -294,7 +294,7 @@ export const CountadjustRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -302,7 +302,7 @@ export const CountadjustRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -310,7 +310,7 @@ export const CountadjustRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -318,7 +318,7 @@ export const CountadjustRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -523,7 +523,7 @@ export const CountadjustRecordDetailRules =reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
createTime: [ createTime: [
{ required: true, message: '请输入创建时间', trigger: 'blur' } { required: true, message: '请输入创建时间', trigger: 'blur' }

10
src/views/wms/countManage/countadjust/countadjustRequestMain/countadjustRequestMain.data.ts

@ -353,7 +353,7 @@ export const CountadjustRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -361,7 +361,7 @@ export const CountadjustRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -371,7 +371,7 @@ export const CountadjustRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false, isForm: false,
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -381,7 +381,7 @@ export const CountadjustRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false, isForm: false,
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -613,6 +613,6 @@ export const CountadjustRequestDetailRules = reactive({
// { required: true, message: '请输入单据号', trigger: 'blur' } // { required: true, message: '请输入单据号', trigger: 'blur' }
// ], // ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
}) })

10
src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/customerreceiptRecordMain.data.ts

@ -413,7 +413,7 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
// }, // },
// }, // },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -421,7 +421,7 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -429,7 +429,7 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -437,7 +437,7 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -734,7 +734,7 @@ export const CustomerreceiptRecordDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
createTime: [ createTime: [
{ required: true, message: '请输入创建时间', trigger: 'blur' } { required: true, message: '请输入创建时间', trigger: 'blur' }

10
src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts

@ -480,7 +480,7 @@ export const CustomerreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
// }, // },
// }, // },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -488,7 +488,7 @@ export const CustomerreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -496,7 +496,7 @@ export const CustomerreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -504,7 +504,7 @@ export const CustomerreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -714,6 +714,6 @@ export const CustomerreceiptRequestDetailRules = reactive({
{ required: true, message: '请选择到库位代码', trigger: 'change' } { required: true, message: '请选择到库位代码', trigger: 'change' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
}) })

10
src/views/wms/deliversettlementManage/customerreturn/customerreturnJobMain/customerreturnJobMain.data.ts

@ -688,7 +688,7 @@ export const CustomerreturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
// }, // },
// }, // },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -696,7 +696,7 @@ export const CustomerreturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -704,7 +704,7 @@ export const CustomerreturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -712,7 +712,7 @@ export const CustomerreturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemdesc2', field: 'itemdesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -867,7 +867,7 @@ export const CustomerreturnJobDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
createTime: [ createTime: [
{ required: true, message: '请输入创建时间', trigger: 'blur' } { required: true, message: '请输入创建时间', trigger: 'blur' }

4
src/views/wms/deliversettlementManage/customerreturn/customerreturnJobMain/index.vue

@ -245,7 +245,7 @@ const buttonTableClick = async (val, row) => {
"fromLocationCode": "Loc_testCF", "fromLocationCode": "Loc_testCF",
"toLocationCode": "SFG", "toLocationCode": "SFG",
"itemCode": "testCF", "itemCode": "testCF",
"itemName": "陈放测试物", "itemName": "陈放测试物",
"itemDesc1": "测试用", "itemDesc1": "测试用",
"itemDesc2": "测试用", "itemDesc2": "测试用",
"projectCode": "5", "projectCode": "5",
@ -273,7 +273,7 @@ const buttonTableClick = async (val, row) => {
"fromLocationCode": "Loc_testCF", "fromLocationCode": "Loc_testCF",
"toLocationCode": "H03", "toLocationCode": "H03",
"itemCode": "testCF", "itemCode": "testCF",
"itemName": "陈放测试物", "itemName": "陈放测试物",
"itemDesc1": "测试用", "itemDesc1": "测试用",
"itemDesc2": "测试用", "itemDesc2": "测试用",
"projectCode": "5", "projectCode": "5",

10
src/views/wms/deliversettlementManage/customerreturn/customerreturnRecordMain/customerreturnRecordMain.data.ts

@ -433,7 +433,7 @@ export const CustomerreturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
// }, // },
// }, // },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -441,7 +441,7 @@ export const CustomerreturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -449,7 +449,7 @@ export const CustomerreturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -457,7 +457,7 @@ export const CustomerreturnRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -754,7 +754,7 @@ export const CustomerreturnRecordDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
createTime: [ createTime: [
{ required: true, message: '请输入创建时间', trigger: 'blur' } { required: true, message: '请输入创建时间', trigger: 'blur' }

10
src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts

@ -631,7 +631,7 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
// } // }
// }, // },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -647,7 +647,7 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
} }
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -657,7 +657,7 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
isForm: false isForm: false
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -667,7 +667,7 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
isForm: false isForm: false
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -965,7 +965,7 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
//表单校验 //表单校验
export const CustomerreturnRequestDetailRules = reactive({ export const CustomerreturnRequestDetailRules = reactive({
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
remark: [ remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } { max: 50, message: '不得超过50个字符', trigger: 'blur' }

10
src/views/wms/deliversettlementManage/customersettle/customersettleRecordMain/customersettleRecordMain.data.ts

@ -346,7 +346,7 @@ export const CustomersettleRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -354,7 +354,7 @@ export const CustomersettleRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -362,7 +362,7 @@ export const CustomersettleRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -370,7 +370,7 @@ export const CustomersettleRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -607,7 +607,7 @@ export const CustomersettleRecordDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
createTime: [ createTime: [
{ required: true, message: '请输入创建时间', trigger: 'blur' } { required: true, message: '请输入创建时间', trigger: 'blur' }

10
src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts

@ -462,7 +462,7 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
// } // }
// }, // },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -478,7 +478,7 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
} }
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -488,7 +488,7 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
isTableForm: false, isTableForm: false,
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -498,7 +498,7 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
isTableForm: false, isTableForm: false,
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -729,6 +729,6 @@ export const CustomersettleRequestDetailRules = reactive({
// { required: true, message: '请选择从库位代码', trigger: 'change' } // { required: true, message: '请选择从库位代码', trigger: 'change' }
// ], // ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
}) })

10
src/views/wms/deliversettlementManage/deliver/deliverJobMain/deliverJobMain.data.ts

@ -684,7 +684,7 @@ export const DeliverJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
// }, // },
// }, // },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -692,7 +692,7 @@ export const DeliverJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -700,7 +700,7 @@ export const DeliverJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -708,7 +708,7 @@ export const DeliverJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemdesc2', field: 'itemdesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -863,7 +863,7 @@ export const DeliverJobDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
createTime: [ createTime: [
{ required: true, message: '请输入创建时间', trigger: 'blur' } { required: true, message: '请输入创建时间', trigger: 'blur' }

2
src/views/wms/deliversettlementManage/deliver/deliverJobMain/index.vue

@ -247,7 +247,7 @@ const buttonTableClick = async (val, row) => {
"fromLocationCode": "L-R-001-001-1-01", "fromLocationCode": "L-R-001-001-1-01",
"toLocationCode": "CUST", "toLocationCode": "CUST",
"itemCode": "testCF", "itemCode": "testCF",
"itemName": "陈放测试物", "itemName": "陈放测试物",
"itemDesc1": "测试用", "itemDesc1": "测试用",
"itemDesc2": "测试用", "itemDesc2": "测试用",
"projectCode": "5", "projectCode": "5",

10
src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts

@ -430,7 +430,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
// }, // },
// }, // },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -438,7 +438,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -446,7 +446,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -454,7 +454,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -721,7 +721,7 @@ export const DeliverRecordDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
createTime: [ createTime: [
{ required: true, message: '请输入创建时间', trigger: 'blur' } { required: true, message: '请输入创建时间', trigger: 'blur' }

18
src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts

@ -634,7 +634,7 @@ export const DeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
// } // }
// }, // },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -642,9 +642,9 @@ export const DeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
tableForm:{ tableForm:{
isInpuFocusShow: true, // 开启查询弹窗 isInpuFocusShow: true, // 开启查询弹窗
searchListPlaceholder: '请选择物代码', searchListPlaceholder: '请选择物代码',
searchField: 'code', searchField: 'code',
searchTitle: '物基础信息', searchTitle: '物基础信息',
searchAllSchemas: Itembasic.allSchemas, searchAllSchemas: Itembasic.allSchemas,
searchPage: ItembasicApi.selectItembasicPageToFgAndSemibasicPage, searchPage: ItembasicApi.selectItembasicPageToFgAndSemibasicPage,
}, },
@ -652,16 +652,16 @@ export const DeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
isSearchList: true, isSearchList: true,
searchListPlaceholder: '请选择物代码', searchListPlaceholder: '请选择物代码',
searchField: 'code', searchField: 'code',
searchTitle: '物基础信息', searchTitle: '物基础信息',
searchAllSchemas: Itembasic.allSchemas, searchAllSchemas: Itembasic.allSchemas,
searchPage: ItembasicApi.selectItembasicPageToFgAndSemibasicPage, searchPage: ItembasicApi.selectItembasicPageToFgAndSemibasicPage,
} }
} }
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -671,7 +671,7 @@ export const DeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
isTableForm: false isTableForm: false
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -681,7 +681,7 @@ export const DeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
isTableForm: false isTableForm: false
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -905,7 +905,7 @@ export const DeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
//表单校验 //表单校验
export const DeliverRequestDetailRules = reactive({ export const DeliverRequestDetailRules = reactive({
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
remark: [ remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } { max: 50, message: '不得超过50个字符', trigger: 'blur' }

12
src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts

@ -348,7 +348,7 @@ export const DeliverPlanDetail = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -356,9 +356,9 @@ export const DeliverPlanDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
tableForm:{ tableForm:{
isInpuFocusShow: true, // 开启查询弹窗 isInpuFocusShow: true, // 开启查询弹窗
searchListPlaceholder: '请选择物代码', searchListPlaceholder: '请选择物代码',
searchField: 'code', searchField: 'code',
searchTitle: '物基础信息', searchTitle: '物基础信息',
searchAllSchemas: Itembasic.allSchemas, searchAllSchemas: Itembasic.allSchemas,
searchPage: ItembasicApi.getItembasicPage, searchPage: ItembasicApi.getItembasicPage,
searchCondition: [{ searchCondition: [{
@ -370,9 +370,9 @@ export const DeliverPlanDetail = useCrudSchemas(reactive<CrudSchema[]>([
form: { form: {
componentProps: { componentProps: {
isSearchList: true, isSearchList: true,
searchListPlaceholder: '请选择物代码', searchListPlaceholder: '请选择物代码',
searchField: 'code', searchField: 'code',
searchTitle: '物基础信息', searchTitle: '物基础信息',
searchAllSchemas: Itembasic.allSchemas, searchAllSchemas: Itembasic.allSchemas,
searchPage: ItembasicApi.getItembasicPage, searchPage: ItembasicApi.getItembasicPage,
searchCondition: [{ searchCondition: [{
@ -534,7 +534,7 @@ export const DeliverPlanDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
available: [ available: [
{ required: true, message: '请选择是否可用', trigger: 'change' } { required: true, message: '请选择是否可用', trigger: 'change' }

12
src/views/wms/deliversettlementManage/deliverplan/saleMain/saleMain.data.ts

@ -535,7 +535,7 @@ export const SaleDetail = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -543,9 +543,9 @@ export const SaleDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
tableForm:{ tableForm:{
isInpuFocusShow: true, isInpuFocusShow: true,
searchListPlaceholder: '请选择物代码', // 输入框占位文本 searchListPlaceholder: '请选择物代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '物基础信息', // 查询弹窗标题 searchTitle: '物基础信息', // 查询弹窗标题
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类 searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法 searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法
searchCondition: [{ searchCondition: [{
@ -558,9 +558,9 @@ export const SaleDetail = useCrudSchemas(reactive<CrudSchema[]>([
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择物代码', // 输入框占位文本 searchListPlaceholder: '请选择物代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '物基础信息', // 查询弹窗标题 searchTitle: '物基础信息', // 查询弹窗标题
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类 searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法 searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法
searchCondition: [{ searchCondition: [{
@ -738,7 +738,7 @@ export const SaleDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
remark: [ remark: [

2
src/views/wms/inventoryManage/balance/balance.data.ts

@ -407,7 +407,7 @@ export const BalanceRules = reactive({
{ required: true, message: '请选择器具号', trigger: 'change' } { required: true, message: '请选择器具号', trigger: 'change' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
batch: [ batch: [
{ required: true, message: '请输入批次', trigger: 'blur' } { required: true, message: '请输入批次', trigger: 'blur' }

4
src/views/wms/inventoryManage/expectout/expectout.data.ts

@ -21,7 +21,7 @@ export const Expectout = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -119,7 +119,7 @@ export const ExpectoutRules = reactive({
{ required: true, message: '请选择包装号', trigger: 'change' } { required: true, message: '请选择包装号', trigger: 'change' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
batch: [ batch: [
{ required: true, message: '请输入批次', trigger: 'blur' } { required: true, message: '请输入批次', trigger: 'blur' }

10
src/views/wms/inventoryManage/package/package.data.ts

@ -28,7 +28,7 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -36,7 +36,7 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -44,7 +44,7 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -237,7 +237,7 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '供应商物代码', label: '供应商物代码',
field: 'supplierItemCode', field: 'supplierItemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -333,7 +333,7 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '客户物代码', label: '客户物代码',
field: 'customerItemCode', field: 'customerItemCode',
sort: 'custom', sort: 'custom',
table: { table: {

2
src/views/wms/inventoryManage/transaction/transaction.data.ts

@ -302,7 +302,7 @@ export const TransactionRules = reactive({
{ required: true, message: '请选择生效时间', trigger: 'change' } { required: true, message: '请选择生效时间', trigger: 'change' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
batch: [ batch: [
{ required: true, message: '请输入批次', trigger: 'blur' } { required: true, message: '请输入批次', trigger: 'blur' }

4
src/views/wms/inventoryManage/transferlog/transferlog.data.ts

@ -47,7 +47,7 @@ export const Transferlog = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -366,6 +366,6 @@ export const TransferlogRules = reactive({
{ required: true, message: '请选择生效时间', trigger: 'change' } { required: true, message: '请选择生效时间', trigger: 'change' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
}) })

10
src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRecordMain/inventoryinitRecordMain.data.ts

@ -277,7 +277,7 @@ export const InventoryinitRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -285,7 +285,7 @@ export const InventoryinitRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -293,7 +293,7 @@ export const InventoryinitRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -301,7 +301,7 @@ export const InventoryinitRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -624,7 +624,7 @@ export const InventoryinitRecordDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
createTime: [ createTime: [
{ required: true, message: '请输入创建时间', trigger: 'blur' } { required: true, message: '请输入创建时间', trigger: 'blur' }

18
src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/inventoryinitRequestMain.data.ts

@ -367,7 +367,7 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
} }
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -375,9 +375,9 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
tableForm:{ tableForm:{
isInpuFocusShow: true, // 开启查询弹窗 isInpuFocusShow: true, // 开启查询弹窗
searchListPlaceholder: '请选择物代码', searchListPlaceholder: '请选择物代码',
searchField: 'code', searchField: 'code',
searchTitle: '物基础信息', searchTitle: '物基础信息',
searchAllSchemas: Itembasic.allSchemas, searchAllSchemas: Itembasic.allSchemas,
searchPage: ItembasicApi.getItembasicPage, searchPage: ItembasicApi.getItembasicPage,
searchCondition: [{ searchCondition: [{
@ -390,9 +390,9 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择物代码', searchListPlaceholder: '请选择物代码',
searchField: 'code', searchField: 'code',
searchTitle: '物基础信息', searchTitle: '物基础信息',
searchAllSchemas: Itembasic.allSchemas, searchAllSchemas: Itembasic.allSchemas,
searchPage: ItembasicApi.getItembasicPage, searchPage: ItembasicApi.getItembasicPage,
searchCondition: [{ searchCondition: [{
@ -404,7 +404,7 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
} }
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -414,7 +414,7 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
isForm: false isForm: false
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -424,7 +424,7 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
isForm: false isForm: false
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -849,7 +849,7 @@ export const InventoryinitRequestDetailRules = reactive({
{ required: true, message: '请选择库位代码', trigger: 'change' } { required: true, message: '请选择库位代码', trigger: 'change' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
remark: [ remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } { max: 50, message: '不得超过50个字符', trigger: 'blur' }

8
src/views/wms/inventoryjobManage/packageManage/packagemergeMain/packagemergeMain.data.ts

@ -332,7 +332,7 @@ export const PackagemergeDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -340,7 +340,7 @@ export const PackagemergeDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -348,7 +348,7 @@ export const PackagemergeDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -356,7 +356,7 @@ export const PackagemergeDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {

8
src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverMain.data.ts

@ -334,7 +334,7 @@ export const PackageoverDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -342,7 +342,7 @@ export const PackageoverDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -350,7 +350,7 @@ export const PackageoverDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -358,7 +358,7 @@ export const PackageoverDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {

8
src/views/wms/inventoryjobManage/packageManage/packagesplitMain/packagesplitMain.data.ts

@ -334,7 +334,7 @@ export const PackagesplitDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -342,7 +342,7 @@ export const PackagesplitDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -350,7 +350,7 @@ export const PackagesplitDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -358,7 +358,7 @@ export const PackagesplitDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {

10
src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts

@ -567,7 +567,7 @@ export const ScrapJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -575,7 +575,7 @@ export const ScrapJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -583,7 +583,7 @@ export const ScrapJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -591,7 +591,7 @@ export const ScrapJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -746,7 +746,7 @@ export const ScrapJobDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
createTime: [ createTime: [
{ required: true, message: '请输入创建时间', trigger: 'blur' } { required: true, message: '请输入创建时间', trigger: 'blur' }

10
src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts

@ -307,7 +307,7 @@ export const ScrapRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -315,7 +315,7 @@ export const ScrapRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -323,7 +323,7 @@ export const ScrapRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -331,7 +331,7 @@ export const ScrapRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -557,7 +557,7 @@ export const ScrapRecordDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
createTime: [ createTime: [
{ required: true, message: '请输入创建时间', trigger: 'blur' } { required: true, message: '请输入创建时间', trigger: 'blur' }

10
src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts

@ -392,7 +392,7 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -403,7 +403,7 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -416,7 +416,7 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -426,7 +426,7 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false, isForm: false,
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -701,7 +701,7 @@ export const ScrapRequestDetailRules = reactive({
{ required: true, message: '请选择库存状态', trigger: 'change' } { required: true, message: '请选择库存状态', trigger: 'change' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
remark: [ remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } { max: 50, message: '不得超过50个字符', trigger: 'blur' }

10
src/views/wms/inventoryjobManage/transferissue/transferissueJobMain/transferissueJobMain.data.ts

@ -633,7 +633,7 @@ export const TransferissueJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -641,7 +641,7 @@ export const TransferissueJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -649,7 +649,7 @@ export const TransferissueJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -657,7 +657,7 @@ export const TransferissueJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -820,7 +820,7 @@ export const TransferissueJobDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
createTime: [ createTime: [
{ required: true, message: '请输入创建时间', trigger: 'blur' } { required: true, message: '请输入创建时间', trigger: 'blur' }

10
src/views/wms/inventoryjobManage/transferissue/transferissueRecordMain/transferissueRecordMain.data.ts

@ -379,7 +379,7 @@ export const TransferissueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -387,7 +387,7 @@ export const TransferissueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -395,7 +395,7 @@ export const TransferissueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -403,7 +403,7 @@ export const TransferissueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -667,7 +667,7 @@ export const TransferissueRecordDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
createTime: [ createTime: [
{ required: true, message: '请输入创建时间', trigger: 'blur' } { required: true, message: '请输入创建时间', trigger: 'blur' }

10
src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts

@ -523,7 +523,7 @@ export const TransferissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
} }
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -534,7 +534,7 @@ export const TransferissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
} }
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -544,7 +544,7 @@ export const TransferissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
isForm: false isForm: false
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -554,7 +554,7 @@ export const TransferissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
isForm: false isForm: false
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -858,7 +858,7 @@ export const TransferissueRequestDetailRules = reactive({
{ required: true, message: '请选择到库位代码', trigger: 'change' } { required: true, message: '请选择到库位代码', trigger: 'change' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
remark: [ remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } { max: 50, message: '不得超过50个字符', trigger: 'blur' }

10
src/views/wms/inventoryjobManage/transferreceipt/transferreceiptJobMain/transferreceiptJobMain.data.ts

@ -625,7 +625,7 @@ export const TransferreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -633,7 +633,7 @@ export const TransferreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -641,7 +641,7 @@ export const TransferreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -649,7 +649,7 @@ export const TransferreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -812,7 +812,7 @@ export const TransferreceiptJobDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
createTime: [ createTime: [
{ required: true, message: '请输入创建时间', trigger: 'blur' } { required: true, message: '请输入创建时间', trigger: 'blur' }

10
src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRecordMain/transferreceiptRecordMain.data.ts

@ -387,7 +387,7 @@ export const TransferreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -395,7 +395,7 @@ export const TransferreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -403,7 +403,7 @@ export const TransferreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -411,7 +411,7 @@ export const TransferreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -675,7 +675,7 @@ export const TransferreceiptRecordDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
createTime: [ createTime: [
{ required: true, message: '请输入创建时间', trigger: 'blur' } { required: true, message: '请输入创建时间', trigger: 'blur' }

10
src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts

@ -426,7 +426,7 @@ export const TransferreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
} }
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -434,7 +434,7 @@ export const TransferreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -442,7 +442,7 @@ export const TransferreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -450,7 +450,7 @@ export const TransferreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -648,6 +648,6 @@ export const TransferreceiptRequestDetailRules = reactive({
{ required: true, message: '请选择从库位代码', trigger: 'change' } { required: true, message: '请选择从库位代码', trigger: 'change' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
}) })

10
src/views/wms/inventoryjobManage/unplannedissue/unplannedissueJobMain/unplannedissueJobMain.data.ts

@ -568,7 +568,7 @@ export const UnplannedissueJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -576,7 +576,7 @@ export const UnplannedissueJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -584,7 +584,7 @@ export const UnplannedissueJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -592,7 +592,7 @@ export const UnplannedissueJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -747,7 +747,7 @@ export const UnplannedissueJobDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
createTime: [ createTime: [
{ required: true, message: '请输入创建时间', trigger: 'blur' } { required: true, message: '请输入创建时间', trigger: 'blur' }

10
src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRecordMain/unplannedissueRecordMain.data.ts

@ -319,7 +319,7 @@ export const UnplannedissueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -327,7 +327,7 @@ export const UnplannedissueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -335,7 +335,7 @@ export const UnplannedissueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -343,7 +343,7 @@ export const UnplannedissueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -569,7 +569,7 @@ export const UnplannedissueRecordDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
createTime: [ createTime: [
{ required: true, message: '请输入创建时间', trigger: 'blur' } { required: true, message: '请输入创建时间', trigger: 'blur' }

10
src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts

@ -361,7 +361,7 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
} }
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -369,7 +369,7 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -379,7 +379,7 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
isForm: false, isForm: false,
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -389,7 +389,7 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
isForm: false, isForm: false,
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -639,7 +639,7 @@ export const UnplannedissueRequestDetailRules = reactive({
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } { max: 50, message: '不得超过50个字符', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' }, { required: true, message: '请选择物代码', trigger: 'change' },
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } { max: 50, message: '不得超过50个字符', trigger: 'blur' }
], ],
remark: [ remark: [

10
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptJobMain/unplannedreceiptJobMain.data.ts

@ -568,7 +568,7 @@ export const UnplannedreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -576,7 +576,7 @@ export const UnplannedreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -584,7 +584,7 @@ export const UnplannedreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -592,7 +592,7 @@ export const UnplannedreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -824,7 +824,7 @@ export const UnplannedreceiptJobDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
createTime: [ createTime: [
{ required: true, message: '请输入创建时间', trigger: 'blur' } { required: true, message: '请输入创建时间', trigger: 'blur' }

8
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRecordMain/unplannedreceiptRecordMain.data.ts

@ -311,7 +311,7 @@ export const UnplannedreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -319,7 +319,7 @@ export const UnplannedreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -327,7 +327,7 @@ export const UnplannedreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -335,7 +335,7 @@ export const UnplannedreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {

6
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue

@ -304,7 +304,7 @@ const buttonTableClick = async (val, row) => {
// dialogVisible.value = true // dialogVisible.value = true
formLabelRef.value.open('create', row) formLabelRef.value.open('create', row)
detatableData.tableList.map((item) => { detatableData.tableList.map((item) => {
// 线 // 线
ItembasicApi.getItembasicPage({ ItembasicApi.getItembasicPage({
pageSize: 10, pageSize: 10,
pageNo: 1, pageNo: 1,
@ -313,7 +313,7 @@ const buttonTableClick = async (val, row) => {
by: 'ASC', by: 'ASC',
}).then(res => { }).then(res => {
if (res.list.length > 0) { if (res.list.length > 0) {
// //
if (res.list[0].type == "RAW") { if (res.list[0].type == "RAW") {
// tableform // tableform
detailListTableColumns.tableFormColumns.map(item => { detailListTableColumns.tableFormColumns.map(item => {
@ -344,7 +344,7 @@ const buttonTableClick = async (val, row) => {
}) })
} }
} else { } else {
message.warning('没有查询到物代码:【' + item.itemCode + '】') message.warning('没有查询到物代码:【' + item.itemCode + '】')
return return
} }
}) })

32
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts

@ -401,7 +401,7 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[
} }
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -409,9 +409,9 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[
}, },
tableForm:{ tableForm:{
isInpuFocusShow: true, // 开启查询弹窗 isInpuFocusShow: true, // 开启查询弹窗
searchListPlaceholder: '请选择物代码',// 输入框占位文本 searchListPlaceholder: '请选择物代码',// 输入框占位文本
searchField: 'code',// 查询弹窗赋值字段 searchField: 'code',// 查询弹窗赋值字段
searchTitle: '物基础信息', searchTitle: '物基础信息',
searchAllSchemas: Itembasic.allSchemas, searchAllSchemas: Itembasic.allSchemas,
searchPage: ItembasicApi.getItembasicPage, searchPage: ItembasicApi.getItembasicPage,
searchCondition: [{ searchCondition: [{
@ -425,9 +425,9 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[
form: { form: {
componentProps: { componentProps: {
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择物代码', // 输入框占位文本 searchListPlaceholder: '请选择物代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '物基础信息', // 查询弹窗标题 searchTitle: '物基础信息', // 查询弹窗标题
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类 searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法 searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法
searchCondition: [{ searchCondition: [{
@ -441,7 +441,7 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[
} }
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -451,7 +451,7 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[
isForm: false isForm: false
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -461,7 +461,7 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[
isForm: false isForm: false
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -811,7 +811,7 @@ export const UnplannedreceiptRequestDetailRules = reactive({
{ required: true, message: '请选择库存状态', trigger: 'change' } { required: true, message: '请选择库存状态', trigger: 'change' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
remark: [ remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } { max: 50, message: '不得超过50个字符', trigger: 'blur' }
@ -834,13 +834,13 @@ export const UnplannedreceiptRequestDetailLabel = useCrudSchemas(reactive<CrudSc
isInpuFocusShow: true, isInpuFocusShow: true,
searchListPlaceholder: '请选择生产线代码', // 输入框占位文本 searchListPlaceholder: '请选择生产线代码', // 输入框占位文本
searchField: 'productionLineCode', // 查询弹窗赋值字段 searchField: 'productionLineCode', // 查询弹窗赋值字段
searchTitle: '生产线物关系信息', // 查询弹窗标题 searchTitle: '生产线物关系信息', // 查询弹窗标题
searchAllSchemas: Productionlineitem.allSchemas, // 查询弹窗所需类 searchAllSchemas: Productionlineitem.allSchemas, // 查询弹窗所需类
searchPage: ProductionlineitemApi.getProductionlineitemPage, // 查询弹窗所需分页方法 searchPage: ProductionlineitemApi.getProductionlineitemPage, // 查询弹窗所需分页方法
searchCondition:[{ searchCondition:[{
key: 'itemCode', key: 'itemCode',
value: 'itemCode', value: 'itemCode',
message: '请填写物代码!', message: '请填写物代码!',
isMainValue: true isMainValue: true
}] }]
} }
@ -862,13 +862,13 @@ export const UnplannedreceiptRequestDetailLabel = useCrudSchemas(reactive<CrudSc
searchCondition:[{ searchCondition:[{
key: 'itemCode', key: 'itemCode',
value: 'itemCode', value: 'itemCode',
message: '请填写物代码!', message: '请填写物代码!',
isMainValue: true isMainValue: true
}] }]
} }
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -1019,7 +1019,7 @@ export const UnplannedreceiptRequestDetailLabel = useCrudSchemas(reactive<CrudSc
} }
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -1029,7 +1029,7 @@ export const UnplannedreceiptRequestDetailLabel = useCrudSchemas(reactive<CrudSc
isForm: false, isForm: false,
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -1039,7 +1039,7 @@ export const UnplannedreceiptRequestDetailLabel = useCrudSchemas(reactive<CrudSc
isForm: false, isForm: false,
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {

2
src/views/wms/issueManage/issue/issueJobMain/index.vue

@ -220,7 +220,7 @@ const buttonTableClick = async (val, row) => {
fromLocationCode: "H03", fromLocationCode: "H03",
toLocationCode: "1", toLocationCode: "1",
itemCode: "item01", itemCode: "item01",
itemName: "物01", itemName: "物01",
itemDesc1: "", itemDesc1: "",
itemDesc2: "", itemDesc2: "",
stdPackQty: null, stdPackQty: null,

10
src/views/wms/issueManage/issue/issueJobMain/issueJobMain.data.ts

@ -673,7 +673,7 @@ export const IssueJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -681,7 +681,7 @@ export const IssueJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -689,7 +689,7 @@ export const IssueJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -697,7 +697,7 @@ export const IssueJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -861,7 +861,7 @@ export const IssueJobDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
createTime: [ createTime: [
{ required: true, message: '请输入创建时间', trigger: 'blur' } { required: true, message: '请输入创建时间', trigger: 'blur' }

10
src/views/wms/issueManage/issue/issueRecordMain/issueRecordMain.data.ts

@ -523,7 +523,7 @@ export const IssueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -567,7 +567,7 @@ export const IssueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -575,7 +575,7 @@ export const IssueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -583,7 +583,7 @@ export const IssueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -685,7 +685,7 @@ export const IssueRecordDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
createTime: [ createTime: [
{ required: true, message: '请输入创建时间', trigger: 'blur' } { required: true, message: '请输入创建时间', trigger: 'blur' }

18
src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts

@ -595,7 +595,7 @@ export const IssueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false isForm: false
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -604,9 +604,9 @@ export const IssueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
tableForm:{ tableForm:{
isInpuFocusShow: true, isInpuFocusShow: true,
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择物代码', // 输入框占位文本 searchListPlaceholder: '请选择物代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '物信息', // 查询弹窗标题 searchTitle: '物信息', // 查询弹窗标题
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类 searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法 searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法
searchCondition: [{ searchCondition: [{
@ -619,9 +619,9 @@ export const IssueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择物代码', // 输入框占位文本 searchListPlaceholder: '请选择物代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '物信息', // 查询弹窗标题 searchTitle: '物信息', // 查询弹窗标题
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类 searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法 searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法
searchCondition: [{ searchCondition: [{
@ -633,7 +633,7 @@ export const IssueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -643,7 +643,7 @@ export const IssueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false isForm: false
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -653,7 +653,7 @@ export const IssueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false isForm: false
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -840,7 +840,7 @@ export const IssueRequestDetailRules = reactive({
{ required: true, message: '请选择工位代码', trigger: 'change' } { required: true, message: '请选择工位代码', trigger: 'change' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
packingNumber: [ packingNumber: [
{ required: true, message: '请输入包装号', trigger: 'blur' } { required: true, message: '请输入包装号', trigger: 'blur' }

8
src/views/wms/issueManage/onlinesettlement/onlinesettlementRecordMain/onlinesettlementRecordMain.data.ts

@ -324,7 +324,7 @@ export const OnlinesettlementRecordDetail = useCrudSchemas(reactive<CrudSchema[]
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -332,7 +332,7 @@ export const OnlinesettlementRecordDetail = useCrudSchemas(reactive<CrudSchema[]
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -340,7 +340,7 @@ export const OnlinesettlementRecordDetail = useCrudSchemas(reactive<CrudSchema[]
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -348,7 +348,7 @@ export const OnlinesettlementRecordDetail = useCrudSchemas(reactive<CrudSchema[]
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {

12
src/views/wms/issueManage/onlinesettlement/onlinesettlementRequestMain/onlinesettlementRequestMain.data.ts

@ -45,7 +45,7 @@ export const OnlinesettlementRequestMain = useCrudSchemas(reactive<CrudSchema[]>
}, },
isSearch: true, isSearch: true,
form: { form: {
labelMessage: '该记录中物料代码、供应商代码会影响单号的选择,请在供应商物信息中维护', labelMessage: '该记录中物料代码、供应商代码会影响单号的选择,请在供应商物信息中维护',
componentProps: { componentProps: {
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择发料记录单号', // 输入框占位文本 searchListPlaceholder: '请选择发料记录单号', // 输入框占位文本
@ -415,7 +415,7 @@ export const OnlinesettlementRequestDetail = useCrudSchemas(reactive<CrudSchema[
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -423,7 +423,7 @@ export const OnlinesettlementRequestDetail = useCrudSchemas(reactive<CrudSchema[
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -431,7 +431,7 @@ export const OnlinesettlementRequestDetail = useCrudSchemas(reactive<CrudSchema[
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -515,7 +515,7 @@ export const OnlinesettlementRequestDetail = useCrudSchemas(reactive<CrudSchema[
} }
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -590,6 +590,6 @@ export const OnlinesettlementRequestDetailRules = reactive({
{ required: true, message: '请选择库位代码', trigger: 'change' } { required: true, message: '请选择库位代码', trigger: 'change' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
}) })

10
src/views/wms/issueManage/pick/pickJobMain/pickJobMain.data.ts

@ -630,7 +630,7 @@ export const PickJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -638,7 +638,7 @@ export const PickJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -646,7 +646,7 @@ export const PickJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -654,7 +654,7 @@ export const PickJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemdesc2', field: 'itemdesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -774,7 +774,7 @@ export const PickJobDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
createTime: [ createTime: [
{ required: true, message: '请输入创建时间', trigger: 'blur' } { required: true, message: '请输入创建时间', trigger: 'blur' }

10
src/views/wms/issueManage/pick/pickRecordMain/pickRecordMain.data.ts

@ -448,7 +448,7 @@ export const PickRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -492,7 +492,7 @@ export const PickRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -500,7 +500,7 @@ export const PickRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -508,7 +508,7 @@ export const PickRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -629,7 +629,7 @@ export const PickRecordDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
createTime: [ createTime: [
{ required: true, message: '请输入创建时间', trigger: 'blur' } { required: true, message: '请输入创建时间', trigger: 'blur' }

10
src/views/wms/issueManage/pick/pickRequestMain/pickRequestMain.data.ts

@ -407,7 +407,7 @@ export const PickRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -455,7 +455,7 @@ export const PickRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false isForm: false
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -463,7 +463,7 @@ export const PickRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -471,7 +471,7 @@ export const PickRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -578,6 +578,6 @@ export const PickRequestDetailRules = reactive({
{ required: true, message: '请输入到库位代码', trigger: 'blur' } { required: true, message: '请输入到库位代码', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请输入物代码', trigger: 'blur' } { required: true, message: '请输入物代码', trigger: 'blur' }
], ],
}) })

2
src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/index.vue

@ -125,7 +125,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
PreparetoissueMainApi.getBomDisassemble(val[0]['id']) PreparetoissueMainApi.getBomDisassemble(val[0]['id'])
.then(res => { .then(res => {
if (res) tableData.value = res if (res) tableData.value = res
// 线 线 // 线 线
tableData.value.map(item => { tableData.value.map(item => {
ProductionlineitemApi.getProductionlineitemPage({ ProductionlineitemApi.getProductionlineitemPage({
productionLineCode: val[0]['productionLine'], productionLineCode: val[0]['productionLine'],

14
src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/preparetoissueMain.data.ts

@ -100,7 +100,7 @@ export const PreparetoissueMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
form: { form: {
labelMessage: '该生产线会影响明细中的物代码,工位', labelMessage: '该生产线会影响明细中的物代码,工位',
componentProps: { componentProps: {
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择生产线', // 输入框占位文本 searchListPlaceholder: '请选择生产线', // 输入框占位文本
@ -383,7 +383,7 @@ export const PreparetoissueMainRules = reactive({
*/ */
export const PreparetoissueDetail = useCrudSchemas(reactive<CrudSchema[]>([ export const PreparetoissueDetail = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -393,9 +393,9 @@ export const PreparetoissueDetail = useCrudSchemas(reactive<CrudSchema[]>([
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择物代码', // 输入框占位文本 searchListPlaceholder: '请选择物代码', // 输入框占位文本
searchField: 'itemCode', // 查询弹窗赋值字段 searchField: 'itemCode', // 查询弹窗赋值字段
searchTitle: '物清单信息', // 查询弹窗标题 searchTitle: '物清单信息', // 查询弹窗标题
searchAllSchemas: Bom.allSchemas, // 查询弹窗所需类 searchAllSchemas: Bom.allSchemas, // 查询弹窗所需类
searchPage: ProductionlineitemApi.getProductionlineitemPageByItemtype, // 查询弹窗所需分页方法 searchPage: ProductionlineitemApi.getProductionlineitemPageByItemtype, // 查询弹窗所需分页方法
searchCondition: [{ searchCondition: [{
@ -408,9 +408,9 @@ export const PreparetoissueDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
tableForm:{ tableForm:{
isInpuFocusShow: true, isInpuFocusShow: true,
searchListPlaceholder: '请选择物代码', // 输入框占位文本 searchListPlaceholder: '请选择物代码', // 输入框占位文本
searchField: 'itemCode', // 查询弹窗赋值字段 searchField: 'itemCode', // 查询弹窗赋值字段
searchTitle: '物清单信息', // 查询弹窗标题 searchTitle: '物清单信息', // 查询弹窗标题
searchAllSchemas: Bom.allSchemas, // 查询弹窗所需类 searchAllSchemas: Bom.allSchemas, // 查询弹窗所需类
searchPage: ProductionlineitemApi.getProductionlineitemPageByItemtype, // 查询弹窗所需分页方法 searchPage: ProductionlineitemApi.getProductionlineitemPageByItemtype, // 查询弹窗所需分页方法
searchCondition: [{ searchCondition: [{
@ -692,7 +692,7 @@ export const PreparetoissueDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
workStation: [ workStation: [
{ required: true, message: '请选择工位', trigger: 'change' } { required: true, message: '请选择工位', trigger: 'change' }

4
src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/index.vue

@ -205,7 +205,7 @@ const buttonTableClick = async (val, row) => {
"inventoryStatus": "OK", "inventoryStatus": "OK",
"fromLocationCode": "H03", "fromLocationCode": "H03",
"itemCode": "item01", "itemCode": "item01",
"itemName": "物01", "itemName": "物01",
"itemDesc1": "", "itemDesc1": "",
"itemDesc2": "", "itemDesc2": "",
"projectCode": "xm01", "projectCode": "xm01",
@ -236,7 +236,7 @@ const buttonTableClick = async (val, row) => {
"inventoryStatus": "OK", "inventoryStatus": "OK",
"fromLocationCode": "H03", "fromLocationCode": "H03",
"itemCode": "item01", "itemCode": "item01",
"itemName": "物01", "itemName": "物01",
"itemDesc1": "", "itemDesc1": "",
"itemDesc2": "", "itemDesc2": "",
"projectCode": "xm01", "projectCode": "xm01",

10
src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/productionreceiptJobMain.data.ts

@ -641,7 +641,7 @@ export const ProductionreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -649,7 +649,7 @@ export const ProductionreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -657,7 +657,7 @@ export const ProductionreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -665,7 +665,7 @@ export const ProductionreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>(
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -785,7 +785,7 @@ export const ProductionreceiptJobDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
createTime: [ createTime: [
{ required: true, message: '请输入创建时间', trigger: 'blur' } { required: true, message: '请输入创建时间', trigger: 'blur' }

10
src/views/wms/issueManage/productionreceipt/productionreceiptRecordMain/productionreceiptRecordMain.data.ts

@ -475,7 +475,7 @@ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -519,7 +519,7 @@ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -528,7 +528,7 @@ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -537,7 +537,7 @@ export const ProductionreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -666,7 +666,7 @@ export const ProductionreceiptRecordDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
createTime: [ createTime: [
{ required: true, message: '请输入创建时间', trigger: 'blur' } { required: true, message: '请输入创建时间', trigger: 'blur' }

10
src/views/wms/issueManage/productionreturn/productionreturnJobMain/productionreturnJobMain.data.ts

@ -653,7 +653,7 @@ export const ProductionreturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物代码', label: '物代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
table: { table: {
@ -661,7 +661,7 @@ export const ProductionreturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物名称', label: '物名称',
field: 'itemName', field: 'itemName',
sort: 'custom', sort: 'custom',
table: { table: {
@ -669,7 +669,7 @@ export const ProductionreturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述1', label: '物描述1',
field: 'itemDesc1', field: 'itemDesc1',
sort: 'custom', sort: 'custom',
table: { table: {
@ -677,7 +677,7 @@ export const ProductionreturnJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '物描述2', label: '物描述2',
field: 'itemDesc2', field: 'itemDesc2',
sort: 'custom', sort: 'custom',
table: { table: {
@ -797,7 +797,7 @@ export const ProductionreturnJobDetailRules = reactive({
{ required: true, message: '请输入单据号', trigger: 'blur' } { required: true, message: '请输入单据号', trigger: 'blur' }
], ],
itemCode: [ itemCode: [
{ required: true, message: '请选择物代码', trigger: 'change' } { required: true, message: '请选择物代码', trigger: 'change' }
], ],
createTime: [ createTime: [
{ required: true, message: '请输入创建时间', trigger: 'blur' } { required: true, message: '请输入创建时间', trigger: 'blur' }

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save