Browse Source

修改WMS新需求

intex_onlin20250418
叶佳兴 2 weeks ago
parent
commit
40a91d98ca
  1. 40
      src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts
  2. 12
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptJobMain/unplannedreceiptJobMain.data.ts
  3. 12
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRecordMain/unplannedreceiptRecordMain.data.ts
  4. 14
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts
  5. 25
      src/views/wms/purchasereceiptManage/amvpurchasereceipt/amvPurchasereceiptRecordMain/purchasereceiptRecordMain.data.ts
  6. 25
      src/views/wms/purchasereceiptManage/bspurchasereceipt/bsPurchasereceiptRecordMain/purchasereceiptRecordMain.data.ts
  7. 25
      src/views/wms/purchasereceiptManage/developpurchasereceipt/developPurchasereceiptRecordMain/purchasereceiptRecordMain.data.ts
  8. 25
      src/views/wms/purchasereceiptManage/jispurchasereceipt/jisPurchasereceiptRecordMain/purchasereceiptRecordMain.data.ts
  9. 52
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/purchasereceiptRecordMain.data.ts
  10. 25
      src/views/wms/purchasereceiptManage/toolpurchasereceipt/toolPurchasereceiptRecordMain/purchasereceiptRecordMain.data.ts

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

@ -533,26 +533,26 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
} }
}, },
{ // {
label: '直接生成记录', // label: '直接生成记录',
field: 'directCreateRecord', // field: 'directCreateRecord',
dictType: DICT_TYPE.TRUE_FALSE, // dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // dictClass: 'string',
isForm: true, // isForm: true,
isTable: false, // isTable: false,
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
component: 'Switch', // component: 'Switch',
value: 'FALSE',//HL-6130原来走的接口配置,和喜婷确认不走接口了,只是页面写死默认值为关闭 // value: 'FALSE',//HL-6130原来走的接口配置,和喜婷确认不走接口了,只是页面写死默认值为关闭
componentProps: { // componentProps: {
inactiveValue: 'FALSE', // inactiveValue: 'FALSE',
activeValue: 'TRUE' // activeValue: 'TRUE'
} // }
} // }
}, // },
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',

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

@ -114,7 +114,7 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '领用原因代码', label: '预算科目',
field: 'reasonCodeRequisition', field: 'reasonCodeRequisition',
sort: 'custom', sort: 'custom',
table: { table: {
@ -122,9 +122,9 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
tableForm: { tableForm: {
isInpuFocusShow: true, // 开启查询弹窗 isInpuFocusShow: true, // 开启查询弹窗
searchListPlaceholder: '请选择成领用原因代码', searchListPlaceholder: '请选择成预算科目',
searchField: 'code', searchField: 'code',
searchTitle: '领用原因代码', searchTitle: '预算科目',
searchAllSchemas: SubjectAccount.allSchemas, searchAllSchemas: SubjectAccount.allSchemas,
searchPage: SubjectAccountApi.getSubjectAccountPage, searchPage: SubjectAccountApi.getSubjectAccountPage,
searchCondition: [{ searchCondition: [{
@ -144,7 +144,7 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择成本中心代码', // 输入框占位文本 searchListPlaceholder: '请选择成本中心代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '领用原因代码', // 查询弹窗标题 searchTitle: '预算科目', // 查询弹窗标题
searchAllSchemas: SubjectAccount.allSchemas, // 查询弹窗所需类 searchAllSchemas: SubjectAccount.allSchemas, // 查询弹窗所需类
searchPage: SubjectAccountApi.getSubjectAccountPage, // 查询弹窗所需分页方法 searchPage: SubjectAccountApi.getSubjectAccountPage, // 查询弹窗所需分页方法
searchCondition: [{ searchCondition: [{
@ -171,7 +171,7 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
isInpuFocusShow: true, // 开启查询弹窗 isInpuFocusShow: true, // 开启查询弹窗
searchListPlaceholder: '请选择QAD项目信息', searchListPlaceholder: '请选择QAD项目信息',
searchField: 'projectCode', searchField: 'projectCode',
searchTitle: '领用原因代码', searchTitle: '预算科目',
searchAllSchemas: QadProject.allSchemas, searchAllSchemas: QadProject.allSchemas,
searchPage: QadProjectApi.getQadProjectPage searchPage: QadProjectApi.getQadProjectPage
}, },
@ -181,7 +181,7 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择QAD项目信息', // 输入框占位文本 searchListPlaceholder: '请选择QAD项目信息', // 输入框占位文本
searchField: 'projectCode', // 查询弹窗赋值字段 searchField: 'projectCode', // 查询弹窗赋值字段
searchTitle: '领用原因代码', // 查询弹窗标题 searchTitle: '预算科目', // 查询弹窗标题
searchAllSchemas: QadProject.allSchemas, // 查询弹窗所需类 searchAllSchemas: QadProject.allSchemas, // 查询弹窗所需类
searchPage: QadProjectApi.getQadProjectPage, // 查询弹窗所需分页方法 searchPage: QadProjectApi.getQadProjectPage, // 查询弹窗所需分页方法
searchCondition: [{ searchCondition: [{

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

@ -189,7 +189,7 @@ export const UnplannedreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>(
}, },
}, },
{ {
label: '领用原因代码', label: '预算科目',
field: 'reasonCodeRequisition', field: 'reasonCodeRequisition',
sort: 'custom', sort: 'custom',
table: { table: {
@ -197,9 +197,9 @@ export const UnplannedreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>(
}, },
tableForm: { tableForm: {
isInpuFocusShow: true, // 开启查询弹窗 isInpuFocusShow: true, // 开启查询弹窗
searchListPlaceholder: '请选择成领用原因代码', searchListPlaceholder: '请选择成预算科目',
searchField: 'code', searchField: 'code',
searchTitle: '领用原因代码', searchTitle: '预算科目',
searchAllSchemas: SubjectAccount.allSchemas, searchAllSchemas: SubjectAccount.allSchemas,
searchPage: SubjectAccountApi.getSubjectAccountPage, searchPage: SubjectAccountApi.getSubjectAccountPage,
searchCondition: [{ searchCondition: [{
@ -219,7 +219,7 @@ export const UnplannedreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>(
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择成本中心代码', // 输入框占位文本 searchListPlaceholder: '请选择成本中心代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '领用原因代码', // 查询弹窗标题 searchTitle: '预算科目', // 查询弹窗标题
searchAllSchemas: SubjectAccount.allSchemas, // 查询弹窗所需类 searchAllSchemas: SubjectAccount.allSchemas, // 查询弹窗所需类
searchPage: SubjectAccountApi.getSubjectAccountPage, // 查询弹窗所需分页方法 searchPage: SubjectAccountApi.getSubjectAccountPage, // 查询弹窗所需分页方法
searchCondition: [{ searchCondition: [{
@ -246,7 +246,7 @@ export const UnplannedreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>(
isInpuFocusShow: true, // 开启查询弹窗 isInpuFocusShow: true, // 开启查询弹窗
searchListPlaceholder: '请选择QAD项目信息', searchListPlaceholder: '请选择QAD项目信息',
searchField: 'projectCode', searchField: 'projectCode',
searchTitle: '领用原因代码', searchTitle: '预算科目',
searchAllSchemas: QadProject.allSchemas, searchAllSchemas: QadProject.allSchemas,
searchPage: QadProjectApi.getQadProjectPage searchPage: QadProjectApi.getQadProjectPage
}, },
@ -256,7 +256,7 @@ export const UnplannedreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>(
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择QAD项目信息', // 输入框占位文本 searchListPlaceholder: '请选择QAD项目信息', // 输入框占位文本
searchField: 'projectCode', // 查询弹窗赋值字段 searchField: 'projectCode', // 查询弹窗赋值字段
searchTitle: '领用原因代码', // 查询弹窗标题 searchTitle: '预算科目', // 查询弹窗标题
searchAllSchemas: QadProject.allSchemas, // 查询弹窗所需类 searchAllSchemas: QadProject.allSchemas, // 查询弹窗所需类
searchPage: QadProjectApi.getQadProjectPage, // 查询弹窗所需分页方法 searchPage: QadProjectApi.getQadProjectPage, // 查询弹窗所需分页方法
searchCondition: [{ searchCondition: [{

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

@ -196,7 +196,7 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>
}, },
}, },
{ {
label: '领用原因代码', label: '预算科目',
field: 'reasonCodeRequisition', field: 'reasonCodeRequisition',
sort: 'custom', sort: 'custom',
table: { table: {
@ -205,9 +205,9 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>
tableForm: { tableForm: {
enterSearch: true, enterSearch: true,
isInpuFocusShow: true, // 开启查询弹窗 isInpuFocusShow: true, // 开启查询弹窗
searchListPlaceholder: '请选择成领用原因代码', searchListPlaceholder: '请选择成预算科目',
searchField: 'code', searchField: 'code',
searchTitle: '领用原因代码', searchTitle: '预算科目',
searchAllSchemas: SubjectAccount.allSchemas, searchAllSchemas: SubjectAccount.allSchemas,
searchPage: SubjectAccountApi.getSubjectAccountPage, searchPage: SubjectAccountApi.getSubjectAccountPage,
searchCondition: [{ searchCondition: [{
@ -238,7 +238,7 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择成本中心代码', // 输入框占位文本 searchListPlaceholder: '请选择成本中心代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '领用原因代码', // 查询弹窗标题 searchTitle: '预算科目', // 查询弹窗标题
searchAllSchemas: SubjectAccount.allSchemas, // 查询弹窗所需类 searchAllSchemas: SubjectAccount.allSchemas, // 查询弹窗所需类
searchPage: SubjectAccountApi.getSubjectAccountPage, // 查询弹窗所需分页方法 searchPage: SubjectAccountApi.getSubjectAccountPage, // 查询弹窗所需分页方法
searchCondition: [{ searchCondition: [{
@ -276,7 +276,7 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>
isInpuFocusShow: true, // 开启查询弹窗 isInpuFocusShow: true, // 开启查询弹窗
searchListPlaceholder: '请选择QAD项目信息', searchListPlaceholder: '请选择QAD项目信息',
searchField: ' ', searchField: ' ',
searchTitle: '领用原因代码', searchTitle: '预算科目',
searchAllSchemas: QadProject.allSchemas, searchAllSchemas: QadProject.allSchemas,
searchPage: QadProjectApi.getQadProjectPage, searchPage: QadProjectApi.getQadProjectPage,
verificationParams: [{ verificationParams: [{
@ -295,7 +295,7 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择QAD项目信息', // 输入框占位文本 searchListPlaceholder: '请选择QAD项目信息', // 输入框占位文本
searchField: 'projectCode', // 查询弹窗赋值字段 searchField: 'projectCode', // 查询弹窗赋值字段
searchTitle: '领用原因代码', // 查询弹窗标题 searchTitle: '预算科目', // 查询弹窗标题
searchAllSchemas: QadProject.allSchemas, // 查询弹窗所需类 searchAllSchemas: QadProject.allSchemas, // 查询弹窗所需类
searchPage: QadProjectApi.getQadProjectPage, // 查询弹窗所需分页方法 searchPage: QadProjectApi.getQadProjectPage, // 查询弹窗所需分页方法
searchCondition: [{ searchCondition: [{
@ -665,7 +665,7 @@ export const UnplannedreceiptRequestMainRules = reactive({
{ required: false, message: '请输入项目代码', trigger: 'blur' } { required: false, message: '请输入项目代码', trigger: 'blur' }
], ],
reasonCodeRequisition: [ reasonCodeRequisition: [
{ required: true, message: '请输入领用原因代码', trigger: 'blur' } { required: true, message: '请输入预算科目', trigger: 'blur' }
], ],
autoCommit: [ autoCommit: [
{ required: true, message: '请选择是否自动提交', trigger: 'change' } { required: true, message: '请选择是否自动提交', trigger: 'change' }

25
src/views/wms/purchasereceiptManage/amvpurchasereceipt/amvPurchasereceiptRecordMain/purchasereceiptRecordMain.data.ts

@ -816,6 +816,31 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
}, },
sortTableDefault:13, sortTableDefault:13,
}, },
{
label: '供应商发货数量',
field: 'supplierQty',
sort: 'custom',
isTable: true,
table: {
width: 150
},
form: {
component: 'InputNumber',
},
sortTableDefault:13,
},
{
label: '供应商计量单位',
field: 'supplierUom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
sortTableDefault:13,
},
{ {
label: '包装规格', label: '包装规格',
field: 'packUnit', field: 'packUnit',

25
src/views/wms/purchasereceiptManage/bspurchasereceipt/bsPurchasereceiptRecordMain/purchasereceiptRecordMain.data.ts

@ -806,6 +806,31 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
}, },
sortTableDefault:13, sortTableDefault:13,
}, },
{
label: '供应商发货数量',
field: 'supplierQty',
sort: 'custom',
isTable: true,
table: {
width: 150
},
form: {
component: 'InputNumber',
},
sortTableDefault:13,
},
{
label: '供应商计量单位',
field: 'supplierUom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
sortTableDefault:13,
},
{ {
label: '包装规格', label: '包装规格',
field: 'packUnit', field: 'packUnit',

25
src/views/wms/purchasereceiptManage/developpurchasereceipt/developPurchasereceiptRecordMain/purchasereceiptRecordMain.data.ts

@ -808,6 +808,31 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
}, },
sortTableDefault:13, sortTableDefault:13,
}, },
{
label: '供应商发货数量',
field: 'supplierQty',
sort: 'custom',
isTable: true,
table: {
width: 150
},
form: {
component: 'InputNumber',
},
sortTableDefault:13,
},
{
label: '供应商计量单位',
field: 'supplierUom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
sortTableDefault:13,
},
{ {
label: '包装规格', label: '包装规格',
field: 'packUnit', field: 'packUnit',

25
src/views/wms/purchasereceiptManage/jispurchasereceipt/jisPurchasereceiptRecordMain/purchasereceiptRecordMain.data.ts

@ -806,6 +806,31 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
}, },
sortTableDefault:13, sortTableDefault:13,
}, },
{
label: '供应商发货数量',
field: 'supplierQty',
sort: 'custom',
isTable: true,
table: {
width: 150
},
form: {
component: 'InputNumber',
},
sortTableDefault:13,
},
{
label: '供应商计量单位',
field: 'supplierUom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
sortTableDefault:13,
},
{ {
label: '包装规格', label: '包装规格',
field: 'packUnit', field: 'packUnit',

52
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/purchasereceiptRecordMain.data.ts

@ -819,6 +819,31 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
}, },
sortTableDefault:13, sortTableDefault:13,
}, },
{
label: '供应商发货数量',
field: 'supplierQty',
sort: 'custom',
isTable: true,
table: {
width: 150
},
form: {
component: 'InputNumber',
},
sortTableDefault:13,
},
{
label: '供应商计量单位',
field: 'supplierUom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
sortTableDefault:13,
},
{ {
label: '包装规格', label: '包装规格',
field: 'packUnit', field: 'packUnit',
@ -846,32 +871,7 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
isForm:false, isForm:false,
sortTableDefault:16, sortTableDefault:16,
}, },
{
label: '供应商发货数量',
field: 'supplierQty',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
},
sortTableDefault:24,
hiddenInMain:true
},
{
label: '供应商计量单位',
field: 'supplierUom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
sortTableDefault:24,
hiddenInMain:true
},
{ {
label: '库存状态', label: '库存状态',

25
src/views/wms/purchasereceiptManage/toolpurchasereceipt/toolPurchasereceiptRecordMain/purchasereceiptRecordMain.data.ts

@ -818,6 +818,31 @@ export const PurchasereceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
}, },
sortTableDefault:13, sortTableDefault:13,
}, },
{
label: '供应商发货数量',
field: 'supplierQty',
sort: 'custom',
isTable: true,
table: {
width: 150
},
form: {
component: 'InputNumber',
},
sortTableDefault:13,
},
{
label: '供应商计量单位',
field: 'supplierUom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
sortTableDefault:13,
},
{ {
label: '包装规格', label: '包装规格',
field: 'packUnit', field: 'packUnit',

Loading…
Cancel
Save