Browse Source

单据设置页面修改

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

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

@ -90,7 +90,7 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:documentsetting:create'}), //
// defaultButtons.defaultAddBtn({hasPermi:'wms:documentsetting:create'}), //
// defaultButtons.defaultImportBtn({hasPermi:'wms:documentsetting:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:documentsetting:export'}), //
defaultButtons.defaultFreshBtn(null),//
@ -125,7 +125,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = [
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 = [
defaultButtons.defaultAddBtn({hasPermi:'wms:jobsetting:create'}), //
// defaultButtons.defaultAddBtn({hasPermi:'wms:jobsetting:create'}), //
// defaultButtons.defaultImportBtn({hasPermi:'wms:jobsetting:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:jobsetting:export'}), //
defaultButtons.defaultFreshBtn(null),//
@ -125,7 +125,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = [
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'
},
isSearch: true,
form: {
componentProps: {
disabled: true
}
}
},
{
label: '有效分钟',
@ -225,8 +230,6 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
@ -239,6 +242,8 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE'
}
},
isTable: false,
isForm: false,
},
{
label: '生效时间',
@ -267,7 +272,6 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'isSoftDeleted',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
@ -280,6 +284,8 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE'
}
},
isTable: false,
isForm: false,
},
{
label: '失效时间',

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

@ -90,7 +90,7 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:recordsetting:create'}), //
// defaultButtons.defaultAddBtn({hasPermi:'wms:recordsetting:create'}), //
// defaultButtons.defaultImportBtn({hasPermi:'wms:recordsetting:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:recordsetting:export'}), //
defaultButtons.defaultFreshBtn(null),//
@ -125,7 +125,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = [
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'
},
isSearch: true,
form: {
componentProps: {
disabled: true
}
}
},
{
label: '接口类型',
@ -24,9 +29,6 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{
label: '生效时间',
@ -37,9 +39,6 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
@ -59,9 +58,6 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
@ -82,9 +78,6 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
@ -99,9 +92,6 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 150
},
},
{
label: '创建者',
@ -109,21 +99,13 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
isTable: false,
isForm: false,
sort: 'custom',
table: {
width: 150
},
},
{
label: '是否可用',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isSearch: true,
sort: 'custom',
table: {
width: 150
},
form: {
component: 'Switch',
value: 'TRUE',
@ -132,6 +114,8 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE'
}
},
isTable: false,
isForm: false,
},
{
label: '操作',
@ -139,7 +123,6 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
isDetail: false,
isForm: false ,
table: {
width: 150,
fixed: 'right'
}
}

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

@ -90,7 +90,7 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:requestsetting:create'}), //
// defaultButtons.defaultAddBtn({hasPermi:'wms:requestsetting:create'}), //
// defaultButtons.defaultImportBtn({hasPermi:'wms:requestsetting:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:requestsetting:export'}), //
defaultButtons.defaultFreshBtn(null),//
@ -125,7 +125,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = [
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'
},
isSearch: true,
form: {
componentProps: {
disabled: true
}
}
},
{
label: '申请模式',
@ -26,6 +31,11 @@ export const Requestsetting = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
form: {
componentProps: {
disabled: true
}
}
},
{
label: '自动提交',
@ -108,8 +118,6 @@ export const Requestsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
@ -122,6 +130,8 @@ export const Requestsetting = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE'
}
},
isTable: false,
isForm: false
},
{
label: '生效时间',

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

@ -124,7 +124,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'wms:switch:update'}), //
defaultButtons.mainListEditBtn(null), //
// 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',
isSearch: true,
table: {
width: 150,
fixed: 'left'
},
form: {
@ -24,9 +23,6 @@ export const Switch = useCrudSchemas(reactive<CrudSchema[]>([
field: 'description',
sort: 'custom',
isSearch: true,
table: {
width: 150
},
form: {
componentProps: {
disabled: true
@ -41,9 +37,6 @@ export const Switch = useCrudSchemas(reactive<CrudSchema[]>([
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
table: {
width: 150
},
form: {
component: 'Switch',
value: 'TRUE',
@ -60,10 +53,8 @@ export const Switch = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true,
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
table: {
width: 150
},
isTable: false,
isForm: false,
form: {
component: 'Switch',
value: 'TRUE',

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

@ -90,7 +90,7 @@ const { getList, setSearchParams } = tableMethods
//
const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:transactiontype:create'}), //
// defaultButtons.defaultAddBtn({hasPermi:'wms:transactiontype:create'}), //
// defaultButtons.defaultImportBtn({hasPermi:'wms:transactiontype:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:transactiontype:export'}), //
defaultButtons.defaultFreshBtn(null),//
@ -125,7 +125,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = [
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',
sort: 'custom',
table: {
width: 150,
fixed: 'left'
},
isSearch: true,
form: {
componentProps: {
disabled: true
}
}
},
{
label: '名称',
field: 'name',
sort: 'custom',
table: {
width: 150
},
form: {
componentProps: {
disabled: true
}
}
},
{
label: '描述',
field: 'description',
sort: 'custom',
table: {
width: 150
},
},
{
label: '库存动作',
@ -40,9 +43,6 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{
label: '允许负数',
@ -52,9 +52,6 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
form: {
component: 'Switch',
value: 'TRUE',
@ -70,11 +67,8 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true,
isTable: false,
sort: 'custom',
table: {
width: 150
},
form: {
component: 'Switch',
value: 'TRUE',
@ -83,17 +77,15 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE'
}
},
isForm: false,
},
{
label: '是否软删除',
field: 'isSoftDeleted',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isTable: false,
sort: 'custom',
table: {
width: 150
},
form: {
component: 'Switch',
value: 'TRUE',
@ -102,6 +94,7 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE'
}
},
isForm: false,
},
{
label: '生效时间',
@ -112,9 +105,6 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 150
},
form: {
component: 'DatePicker',
componentProps: {
@ -134,9 +124,6 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 150
},
form: {
component: 'DatePicker',
componentProps: {
@ -155,9 +142,6 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 150
},
isTable: false,
isForm: false,
form: {
@ -174,9 +158,6 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 150
},
},
{
label: '创建者',
@ -184,9 +165,6 @@ export const Transactiontype = useCrudSchemas(reactive<CrudSchema[]>([
isTable: false,
isForm: false,
sort: 'custom',
table: {
width: 150
},
},
{
label: '操作',

Loading…
Cancel
Save