Browse Source

单据设置页面修改

master
李胜楠 1 year ago
parent
commit
a84fe70c76
  1. 16
      src/views/wms/basicDataManage/documentSetting/documentsetting/documentsetting.data.ts
  2. 4
      src/views/wms/basicDataManage/documentSetting/documentsetting/index.vue
  3. 4
      src/views/wms/basicDataManage/documentSetting/jobsetting/index.vue
  4. 12
      src/views/wms/basicDataManage/documentSetting/jobsetting/jobsetting.data.ts
  5. 4
      src/views/wms/basicDataManage/documentSetting/recordsetting/index.vue
  6. 31
      src/views/wms/basicDataManage/documentSetting/recordsetting/recordsetting.data.ts
  7. 4
      src/views/wms/basicDataManage/documentSetting/requestsetting/index.vue
  8. 14
      src/views/wms/basicDataManage/documentSetting/requestsetting/requestsetting.data.ts
  9. 2
      src/views/wms/basicDataManage/documentSetting/switch/index.vue
  10. 13
      src/views/wms/basicDataManage/documentSetting/switch/switch.data.ts
  11. 4
      src/views/wms/basicDataManage/documentSetting/transactiontype/index.vue
  12. 50
      src/views/wms/basicDataManage/documentSetting/transactiontype/transactiontype.data.ts

16
src/views/wms/basicDataManage/documentSetting/documentsetting/documentsetting.data.ts

@ -15,6 +15,11 @@ export const Documentsetting = useCrudSchemas(reactive<CrudSchema[]>([
fixed: 'left' fixed: 'left'
}, },
isSearch: true, isSearch: true,
form: {
componentProps: {
disabled: true
}
}
}, },
{ {
label: '名称', label: '名称',
@ -24,6 +29,11 @@ export const Documentsetting = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
isSearch: true, isSearch: true,
form: {
componentProps: {
disabled: true
}
}
}, },
{ {
label: '描述', label: '描述',
@ -142,7 +152,7 @@ export const Documentsetting = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
isTable: true, isTable: false,
formatter: dateFormatter, formatter: dateFormatter,
isForm: false, isForm: false,
detail: { detail: {
@ -185,8 +195,6 @@ export const Documentsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'available', field: 'available',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true,
isSearch: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -199,6 +207,8 @@ export const Documentsetting = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE' activeValue: 'TRUE'
} }
}, },
isTable: false,
isForm: false
}, },
{ {
label: '操作', label: '操作',

4
src/views/wms/basicDataManage/documentSetting/documentsetting/index.vue

@ -90,7 +90,7 @@ const { getList, setSearchParams } = tableMethods
// //
const HeadButttondata = [ const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:documentsetting:create'}), // // defaultButtons.defaultAddBtn({hasPermi:'wms:documentsetting:create'}), //
// defaultButtons.defaultImportBtn({hasPermi:'wms:documentsetting:import'}), // // defaultButtons.defaultImportBtn({hasPermi:'wms:documentsetting:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:documentsetting:export'}), // // defaultButtons.defaultExportBtn({hasPermi:'wms:documentsetting:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
@ -125,7 +125,7 @@ const buttonBaseClick = (val, item) => {
// - // -
const butttondata = [ const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'wms:documentsetting:update'}), // defaultButtons.mainListEditBtn({hasPermi:'wms:documentsetting:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'wms:documentsetting:delete'}), // // defaultButtons.mainListDeleteBtn({hasPermi:'wms:documentsetting:delete'}), //
] ]
// - // -

4
src/views/wms/basicDataManage/documentSetting/jobsetting/index.vue

@ -90,7 +90,7 @@ const { getList, setSearchParams } = tableMethods
// //
const HeadButttondata = [ const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:jobsetting:create'}), // // defaultButtons.defaultAddBtn({hasPermi:'wms:jobsetting:create'}), //
// defaultButtons.defaultImportBtn({hasPermi:'wms:jobsetting:import'}), // // defaultButtons.defaultImportBtn({hasPermi:'wms:jobsetting:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:jobsetting:export'}), // // defaultButtons.defaultExportBtn({hasPermi:'wms:jobsetting:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
@ -125,7 +125,7 @@ const buttonBaseClick = (val, item) => {
// - // -
const butttondata = [ const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'wms:jobsetting:update'}), // defaultButtons.mainListEditBtn({hasPermi:'wms:jobsetting:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'wms:jobsetting:delete'}), // // defaultButtons.mainListDeleteBtn({hasPermi:'wms:jobsetting:delete'}), //
] ]
// - // -

12
src/views/wms/basicDataManage/documentSetting/jobsetting/jobsetting.data.ts

@ -15,6 +15,11 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
fixed: 'left' fixed: 'left'
}, },
isSearch: true, isSearch: true,
form: {
componentProps: {
disabled: true
}
}
}, },
{ {
label: '有效分钟', label: '有效分钟',
@ -225,8 +230,6 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'available', field: 'available',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -239,6 +242,8 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE' activeValue: 'TRUE'
} }
}, },
isTable: false,
isForm: false,
}, },
{ {
label: '生效时间', label: '生效时间',
@ -267,7 +272,6 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'isSoftDeleted', field: 'isSoftDeleted',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -280,6 +284,8 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE' activeValue: 'TRUE'
} }
}, },
isTable: false,
isForm: false,
}, },
{ {
label: '失效时间', label: '失效时间',

4
src/views/wms/basicDataManage/documentSetting/recordsetting/index.vue

@ -90,7 +90,7 @@ const { getList, setSearchParams } = tableMethods
// //
const HeadButttondata = [ const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:recordsetting:create'}), // // defaultButtons.defaultAddBtn({hasPermi:'wms:recordsetting:create'}), //
// defaultButtons.defaultImportBtn({hasPermi:'wms:recordsetting:import'}), // // defaultButtons.defaultImportBtn({hasPermi:'wms:recordsetting:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:recordsetting:export'}), // // defaultButtons.defaultExportBtn({hasPermi:'wms:recordsetting:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
@ -125,7 +125,7 @@ const buttonBaseClick = (val, item) => {
// - // -
const butttondata = [ const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'wms:recordsetting:update'}), // defaultButtons.mainListEditBtn({hasPermi:'wms:recordsetting:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'wms:recordsetting:delete'}), // // defaultButtons.mainListDeleteBtn({hasPermi:'wms:recordsetting:delete'}), //
] ]
// - // -

31
src/views/wms/basicDataManage/documentSetting/recordsetting/recordsetting.data.ts

@ -15,6 +15,11 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
fixed: 'left' fixed: 'left'
}, },
isSearch: true, isSearch: true,
form: {
componentProps: {
disabled: true
}
}
}, },
{ {
label: '接口类型', label: '接口类型',
@ -24,9 +29,6 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true, isSearch: true,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: {
width: 150
},
}, },
{ {
label: '生效时间', label: '生效时间',
@ -37,9 +39,6 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
sort: 'custom', sort: 'custom',
table: {
width: 180
},
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -59,9 +58,6 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
sort: 'custom', sort: 'custom',
table: {
width: 180
},
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -82,9 +78,6 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
sort: 'custom', sort: 'custom',
table: {
width: 180
},
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -99,9 +92,6 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
label: '备注', label: '备注',
field: 'remark', field: 'remark',
sort: 'custom', sort: 'custom',
table: {
width: 150
},
}, },
{ {
label: '创建者', label: '创建者',
@ -109,21 +99,13 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
isTable: false, isTable: false,
isForm: false, isForm: false,
sort: 'custom', sort: 'custom',
table: {
width: 150
},
}, },
{ {
label: '是否可用', label: '是否可用',
field: 'available', field: 'available',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true,
isSearch: true,
sort: 'custom', sort: 'custom',
table: {
width: 150
},
form: { form: {
component: 'Switch', component: 'Switch',
value: 'TRUE', value: 'TRUE',
@ -132,6 +114,8 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE' activeValue: 'TRUE'
} }
}, },
isTable: false,
isForm: false,
}, },
{ {
label: '操作', label: '操作',
@ -139,7 +123,6 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
isDetail: false, isDetail: false,
isForm: false , isForm: false ,
table: { table: {
width: 150,
fixed: 'right' fixed: 'right'
} }
} }

4
src/views/wms/basicDataManage/documentSetting/requestsetting/index.vue

@ -90,7 +90,7 @@ const { getList, setSearchParams } = tableMethods
// //
const HeadButttondata = [ const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:requestsetting:create'}), // // defaultButtons.defaultAddBtn({hasPermi:'wms:requestsetting:create'}), //
// defaultButtons.defaultImportBtn({hasPermi:'wms:requestsetting:import'}), // // defaultButtons.defaultImportBtn({hasPermi:'wms:requestsetting:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:requestsetting:export'}), // // defaultButtons.defaultExportBtn({hasPermi:'wms:requestsetting:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
@ -125,7 +125,7 @@ const buttonBaseClick = (val, item) => {
// - // -
const butttondata = [ const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'wms:requestsetting:update'}), // defaultButtons.mainListEditBtn({hasPermi:'wms:requestsetting:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'wms:requestsetting:delete'}), // // defaultButtons.mainListDeleteBtn({hasPermi:'wms:requestsetting:delete'}), //
] ]
// - // -

14
src/views/wms/basicDataManage/documentSetting/requestsetting/requestsetting.data.ts

@ -15,6 +15,11 @@ export const Requestsetting = useCrudSchemas(reactive<CrudSchema[]>([
fixed: 'left' fixed: 'left'
}, },
isSearch: true, isSearch: true,
form: {
componentProps: {
disabled: true
}
}
}, },
{ {
label: '申请模式', label: '申请模式',
@ -26,6 +31,11 @@ export const Requestsetting = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
form: {
componentProps: {
disabled: true
}
}
}, },
{ {
label: '自动提交', label: '自动提交',
@ -108,8 +118,6 @@ export const Requestsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'available', field: 'available',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -122,6 +130,8 @@ export const Requestsetting = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE' activeValue: 'TRUE'
} }
}, },
isTable: false,
isForm: false
}, },
{ {
label: '生效时间', label: '生效时间',

2
src/views/wms/basicDataManage/documentSetting/switch/index.vue

@ -124,7 +124,7 @@ const buttonBaseClick = (val, item) => {
// - // -
const butttondata = [ const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'wms:switch:update'}), // defaultButtons.mainListEditBtn(null), //
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:switch:delete'}), // // defaultButtons.mainListDeleteBtn({hasPermi:'wms:switch:delete'}), //
] ]

13
src/views/wms/basicDataManage/documentSetting/switch/switch.data.ts

@ -10,7 +10,6 @@ export const Switch = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: { table: {
width: 150,
fixed: 'left' fixed: 'left'
}, },
form: { form: {
@ -24,9 +23,6 @@ export const Switch = useCrudSchemas(reactive<CrudSchema[]>([
field: 'description', field: 'description',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: {
width: 150
},
form: { form: {
componentProps: { componentProps: {
disabled: true disabled: true
@ -41,9 +37,6 @@ export const Switch = useCrudSchemas(reactive<CrudSchema[]>([
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: true,
table: {
width: 150
},
form: { form: {
component: 'Switch', component: 'Switch',
value: 'TRUE', value: 'TRUE',
@ -60,10 +53,8 @@ export const Switch = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true, isSearch: true,
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
table: { isForm: false,
width: 150
},
form: { form: {
component: 'Switch', component: 'Switch',
value: 'TRUE', value: 'TRUE',

4
src/views/wms/basicDataManage/documentSetting/transactiontype/index.vue

@ -90,7 +90,7 @@ const { getList, setSearchParams } = tableMethods
// //
const HeadButttondata = [ const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:transactiontype:create'}), // // defaultButtons.defaultAddBtn({hasPermi:'wms:transactiontype:create'}), //
// defaultButtons.defaultImportBtn({hasPermi:'wms:transactiontype:import'}), // // defaultButtons.defaultImportBtn({hasPermi:'wms:transactiontype:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:transactiontype:export'}), // // defaultButtons.defaultExportBtn({hasPermi:'wms:transactiontype:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
@ -125,7 +125,7 @@ const buttonBaseClick = (val, item) => {
// - // -
const butttondata = [ const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'wms:transactiontype:update'}), // defaultButtons.mainListEditBtn({hasPermi:'wms:transactiontype:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'wms:transactiontype:delete'}), // // defaultButtons.mainListDeleteBtn({hasPermi:'wms:transactiontype:delete'}), //
] ]
// - // -

50
src/views/wms/basicDataManage/documentSetting/transactiontype/transactiontype.data.ts

@ -11,26 +11,29 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
field: 'code', field: 'code',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150,
fixed: 'left' fixed: 'left'
}, },
isSearch: true, isSearch: true,
form: {
componentProps: {
disabled: true
}
}
}, },
{ {
label: '名称', label: '名称',
field: 'name', field: 'name',
sort: 'custom', sort: 'custom',
table: { form: {
width: 150 componentProps: {
}, disabled: true
}
}
}, },
{ {
label: '描述', label: '描述',
field: 'description', field: 'description',
sort: 'custom', sort: 'custom',
table: {
width: 150
},
}, },
{ {
label: '库存动作', label: '库存动作',
@ -40,9 +43,6 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true, isSearch: true,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: {
width: 150
},
}, },
{ {
label: '允许负数', label: '允许负数',
@ -52,9 +52,6 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true, isSearch: true,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: {
width: 150
},
form: { form: {
component: 'Switch', component: 'Switch',
value: 'TRUE', value: 'TRUE',
@ -70,11 +67,8 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isSearch: true, isSearch: true,
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: {
width: 150
},
form: { form: {
component: 'Switch', component: 'Switch',
value: 'TRUE', value: 'TRUE',
@ -83,17 +77,15 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE' activeValue: 'TRUE'
} }
}, },
isForm: false,
}, },
{ {
label: '是否软删除', label: '是否软删除',
field: 'isSoftDeleted', field: 'isSoftDeleted',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: {
width: 150
},
form: { form: {
component: 'Switch', component: 'Switch',
value: 'TRUE', value: 'TRUE',
@ -102,6 +94,7 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE' activeValue: 'TRUE'
} }
}, },
isForm: false,
}, },
{ {
label: '生效时间', label: '生效时间',
@ -112,9 +105,6 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
sort: 'custom', sort: 'custom',
table: {
width: 150
},
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -134,9 +124,6 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
sort: 'custom', sort: 'custom',
table: {
width: 150
},
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -155,9 +142,6 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
sort: 'custom', sort: 'custom',
table: {
width: 150
},
isTable: false, isTable: false,
isForm: false, isForm: false,
form: { form: {
@ -174,9 +158,6 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
label: '备注', label: '备注',
field: 'remark', field: 'remark',
sort: 'custom', sort: 'custom',
table: {
width: 150
},
}, },
{ {
label: '创建者', label: '创建者',
@ -184,9 +165,6 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
isTable: false, isTable: false,
isForm: false, isForm: false,
sort: 'custom', sort: 'custom',
table: {
width: 150
},
}, },
{ {
label: '操作', label: '操作',

Loading…
Cancel
Save