Browse Source

器具解绑导出修改

master
zhaoxuebing 11 months ago
parent
commit
d5623df1ac
  1. 6
      src/views/wms/inventoryManage/containerinit/containerBindRecord/containerBindRecordMain.data.ts
  2. 6
      src/views/wms/inventoryManage/containerinit/containerUnbindRecord/containerUnbindRecordMain.data.ts
  3. 10
      src/views/wms/inventoryManage/containerinit/containerUnbindRecord/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

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'}), //
] ]
// - // -

Loading…
Cancel
Save