Browse Source

页面宽度修改

master_hella_20240701
zhaoxuebing 8 months ago
parent
commit
841d130144
  1. 2
      src/components/BasicForm/src/BasicForm.vue
  2. 17
      src/views/wms/basicDataManage/documentSetting/businesstype/businesstype.data.ts
  3. 3
      src/views/wms/basicDataManage/documentSetting/businesstype/index.vue
  4. 1
      src/views/wms/basicDataManage/itemManage/itemarea/index.vue
  5. 31
      src/views/wms/basicDataManage/itemManage/itemarea/itemarea.data.ts

2
src/components/BasicForm/src/BasicForm.vue

@ -252,7 +252,7 @@ const { t } = useI18n() // 国际化
const message = useMessage() // const message = useMessage() //
const dialogWidth = ref() const dialogWidth = ref()
if (props.basicFormWidth) { if (props.basicFormWidth) {
dialogWidth.value = props.basicFormWidth dialogWidth.value = props.basicFormWidth + '%'
} else { } else {
dialogWidth.value = props.isBusiness ? '60%' : '40%' dialogWidth.value = props.isBusiness ? '60%' : '40%'
} }

17
src/views/wms/basicDataManage/documentSetting/businesstype/businesstype.data.ts

@ -39,14 +39,7 @@ export const Businesstype = useCrudSchemas(reactive<CrudSchema[]>([
} }
} }
}, },
{
label: '描述',
field: 'description',
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '可用物料类型范围', label: '可用物料类型范围',
field: 'itemTypes', field: 'itemTypes',
@ -291,6 +284,14 @@ export const Businesstype = useCrudSchemas(reactive<CrudSchema[]>([
isTable: false, isTable: false,
isForm: false, isForm: false,
}, },
{
label: '描述',
field: 'description',
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '备注', label: '备注',
field: 'remark', field: 'remark',

3
src/views/wms/basicDataManage/documentSetting/businesstype/index.vue

@ -52,10 +52,11 @@
:apiCreate="BusinesstypeApi.createBusinesstype" :apiCreate="BusinesstypeApi.createBusinesstype"
@searchTableSuccess="searchTableSuccess" @searchTableSuccess="searchTableSuccess"
:isBusiness="false" :isBusiness="false"
:basicFormWidth="75"
/> />
<!-- 详情 --> <!-- 详情 -->
<Detail ref="detailRef" :isBasic="true" :allSchemas="Businesstype.allSchemas" /> <Detail ref="detailRef" :isBasic="true" :allSchemas="Businesstype.allSchemas" />
<!-- 导入 --> <!-- 导入 -->
<ImportForm <ImportForm

1
src/views/wms/basicDataManage/itemManage/itemarea/index.vue

@ -56,6 +56,7 @@
@searchTableSuccess="searchTableSuccess" @searchTableSuccess="searchTableSuccess"
@submitForm="submitForm" @submitForm="submitForm"
:isShowButton = isShowButton :isShowButton = isShowButton
:basicFormWidth="75"
/> />
<!-- 详情 --> <!-- 详情 -->

31
src/views/wms/basicDataManage/itemManage/itemarea/itemarea.data.ts

@ -118,6 +118,19 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([
} }
} }
}, },
{
label: '管理精度',
field: 'manageMode',
sort: 'custom',
isSearch: false,
dictType: DICT_TYPE.MANAGEMENT_MODE,
dictClass: 'string',
// colorType: 'danger',
isTable: true,
table: {
width: 150
},
},
{ {
label: '最高库存数量', label: '最高库存数量',
field: 'maxQty', field: 'maxQty',
@ -223,19 +236,7 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
}, },
{
label: '管理精度',
field: 'manageMode',
sort: 'custom',
isSearch: false,
dictType: DICT_TYPE.MANAGEMENT_MODE,
dictClass: 'string',
// colorType: 'danger',
isTable: true,
table: {
width: 150
},
},
{ {
label: '入库自动转为出库包装规格', label: '入库自动转为出库包装规格',
field: 'newlyToOutpackunit', field: 'newlyToOutpackunit',
@ -255,6 +256,7 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE' activeValue: 'TRUE'
} }
}, },
isTable:false
}, },
{ {
label: '出库自动转为出库包装规格', label: '出库自动转为出库包装规格',
@ -275,6 +277,7 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE' activeValue: 'TRUE'
} }
}, },
isTable:false
}, },
{ {
label: '需要接收确认', label: '需要接收确认',
@ -331,6 +334,7 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE' activeValue: 'TRUE'
} }
}, },
isTable:false
}, },
{ {
label: '超过高储是否允许叫料', label: '超过高储是否允许叫料',
@ -346,6 +350,7 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE' activeValue: 'TRUE'
} }
}, },
isTable:false
}, },
{ {
label: '优先空库位', label: '优先空库位',

Loading…
Cancel
Save