liuchen864 11 months ago
parent
commit
36ac7938c4
  1. 6
      src/views/wms/inventoryManage/containerinit/containerBindRecord/containerBindRecordMain.data.ts
  2. 10
      src/views/wms/inventoryManage/containerinit/containerRepair/containerRepairRecordMain.data.ts
  3. 4
      src/views/wms/inventoryManage/containerinit/containerRepair/index.vue
  4. 6
      src/views/wms/inventoryManage/containerinit/containerUnbindRecord/containerUnbindRecordMain.data.ts
  5. 10
      src/views/wms/inventoryManage/containerinit/containerUnbindRecord/index.vue
  6. 2
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

6
src/views/wms/inventoryManage/containerinit/containerBindRecord/containerBindRecordMain.data.ts

@ -64,6 +64,8 @@ export const ContainerBindRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '内容物类型', label: '内容物类型',
field: 'containerContentType', field: 'containerContentType',
dictType: DICT_TYPE.CONTAINER_CONTENT_TYPE,
dictClass: 'string',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
form: { form: {
@ -103,6 +105,8 @@ export const ContainerBindRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '库存状态', label: '库存状态',
field: 'inventoryStatus', field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
sort: 'custom', sort: 'custom',
form: { form: {
component: 'Radio' component: 'Radio'
@ -114,6 +118,8 @@ export const ContainerBindRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '计量单位', label: '计量单位',
field: 'uom', field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150

10
src/views/wms/inventoryManage/containerinit/containerRepair/containerRepairRecordMain.data.ts

@ -80,6 +80,8 @@ export const ContainerRepairRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
{ {
label: '从状态', label: '从状态',
field: 'fromContainerStatus', field: 'fromContainerStatus',
dictType: DICT_TYPE.CONTAINER_STATUS,
dictClass: 'string',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
form: { form: {
@ -92,6 +94,8 @@ export const ContainerRepairRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
{ {
label: '到状态', label: '到状态',
field: 'toContainerStatus', field: 'toContainerStatus',
dictType: DICT_TYPE.CONTAINER_STATUS,
dictClass: 'string',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
form: { form: {
@ -115,6 +119,9 @@ export const ContainerRepairRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
} }
}, },
table: {
width: 150
},
isForm: false, isForm: false,
}, },
{ {
@ -122,6 +129,9 @@ export const ContainerRepairRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
field: 'remark', field: 'remark',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: {
width: 150
},
}, },
{ {
label: '操作', label: '操作',

4
src/views/wms/inventoryManage/containerinit/containerRepair/index.vue

@ -154,8 +154,8 @@ const buttonBaseClick = (val, item) => {
// - // -
const butttondata = [ const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'wms:container-repair-record-main:update'}), // //defaultButtons.mainListEditBtn({hasPermi:'wms:container-repair-record-main:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'wms:container-repair-record-main:delete'}), // //defaultButtons.mainListDeleteBtn({hasPermi:'wms:container-repair-record-main:delete'}), //
] ]
// - // -

6
src/views/wms/inventoryManage/containerinit/containerUnbindRecord/containerUnbindRecordMain.data.ts

@ -63,6 +63,8 @@ export const ContainerUnbindRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
{ {
label: '内容物类型', label: '内容物类型',
field: 'containerContentType', field: 'containerContentType',
dictType: DICT_TYPE.CONTAINER_CONTENT_TYPE,
dictClass: 'string',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
form: { form: {
@ -102,6 +104,8 @@ export const ContainerUnbindRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
{ {
label: '库存状态', label: '库存状态',
field: 'inventoryStatus', field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
sort: 'custom', sort: 'custom',
form: { form: {
component: 'Radio' component: 'Radio'
@ -113,6 +117,8 @@ export const ContainerUnbindRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
{ {
label: '计量单位', label: '计量单位',
field: 'uom', field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150

10
src/views/wms/inventoryManage/containerinit/containerUnbindRecord/index.vue

@ -120,9 +120,9 @@ const { getList, setSearchParams } = tableMethods
// //
const HeadButttondata = [ const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:containerUnbindRecordMain:create'}), // // defaultButtons.defaultAddBtn({hasPermi:'wms:container-unbind-record-main:create'}), //
defaultButtons.defaultImportBtn({hasPermi:'wms:containerUnbindRecordMain:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:container-unbind-record-main:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:containerUnbindRecordMain:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:container-unbind-record-main:export'}), //
defaultButtons.defaultFreshBtn(null), // defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), // defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
@ -154,8 +154,8 @@ const buttonBaseClick = (val, item) => {
// - // -
const butttondata = [ const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'wms:containerUnbindRecordMain:update'}), // //defaultButtons.mainListEditBtn({hasPermi:'wms:container-unbind-record-main:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'wms:containerUnbindRecordMain:delete'}), // //defaultButtons.mainListDeleteBtn({hasPermi:'wms:container-unbind-record-main:delete'}), //
] ]
// - // -

2
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

@ -185,7 +185,7 @@
defaultButtons.mainListPlanSubBtn({ hide: isShowMainButton(row, ['1']) }), // defaultButtons.mainListPlanSubBtn({ hide: isShowMainButton(row, ['1']) }), //
defaultButtons.mainListPlanAppBtn({ hide: isShowMainButton(row, ['2']) }), // defaultButtons.mainListPlanAppBtn({ hide: isShowMainButton(row, ['2']) }), //
defaultButtons.mainListPlanTurBtn({ hide: isShowMainButton(row, ['2']) }), // defaultButtons.mainListPlanTurBtn({ hide: isShowMainButton(row, ['2']) }), //
defaultButtons.mainListEditBtn({ hasPermi: 'wms:supplierdeliver-request-main:update' }), // defaultButtons.mainListEditBtn({ hide: isShowMainButton(row, ['1']),hasPermi: 'wms:supplierdeliver-request-main:update' }), //
// defaultButtons.mainListDeleteBtn({ hasPermi: 'wms:supplierdeliver-request-main:delete' }), // // defaultButtons.mainListDeleteBtn({ hasPermi: 'wms:supplierdeliver-request-main:delete' }), //
{ {
label: '生成标签', label: '生成标签',

Loading…
Cancel
Save