Browse Source

修改宽度

master_hella_20240701
zhaoxuebing 10 months ago
parent
commit
c8fbaa0218
  1. 24
      src/views/wms/basicDataManage/factoryModeling/warehouse/warehouse.data.ts
  2. 30
      src/views/wms/basicDataManage/supplierManage/purchaseprice/purchaseprice.data.ts

24
src/views/wms/basicDataManage/factoryModeling/warehouse/warehouse.data.ts

@ -14,7 +14,7 @@ export const Warehouse = useCrudSchemas(reactive<CrudSchema[]>([
field: 'code', field: 'code',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150, width: 200,
fixed: 'left' fixed: 'left'
}, },
isSearch: true isSearch: true
@ -24,18 +24,10 @@ export const Warehouse = useCrudSchemas(reactive<CrudSchema[]>([
field: 'name', field: 'name',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 200
}, },
isSearch: true isSearch: true
}, },
{
label: '描述',
field: 'description',
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '类型', label: '类型',
field: 'type', field: 'type',
@ -44,6 +36,14 @@ export const Warehouse = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true, isSearch: true,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: {
width: 200
},
},
{
label: '描述',
field: 'description',
sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
@ -78,7 +78,7 @@ export const Warehouse = useCrudSchemas(reactive<CrudSchema[]>([
}, },
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 200
}, },
form: { form: {
component: 'DatePicker', component: 'DatePicker',
@ -109,7 +109,7 @@ export const Warehouse = useCrudSchemas(reactive<CrudSchema[]>([
}, },
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 200
}, },
}, },
{ {

30
src/views/wms/basicDataManage/supplierManage/purchaseprice/purchaseprice.data.ts

@ -18,7 +18,7 @@ export const Purchaseprice = useCrudSchemas(reactive<CrudSchema[]>([
field: 'supplierCode', field: 'supplierCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150, width: 190,
fixed: 'left' fixed: 'left'
}, },
isSearch: true, isSearch: true,
@ -45,7 +45,7 @@ export const Purchaseprice = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: { table: {
width: 150 width: 190
}, },
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
@ -78,7 +78,7 @@ export const Purchaseprice = useCrudSchemas(reactive<CrudSchema[]>([
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 180
} }
}, },
{ {
@ -86,7 +86,7 @@ export const Purchaseprice = useCrudSchemas(reactive<CrudSchema[]>([
field: 'price', field: 'price',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 180
}, },
form: { form: {
component: 'InputNumber', component: 'InputNumber',
@ -105,7 +105,7 @@ export const Purchaseprice = useCrudSchemas(reactive<CrudSchema[]>([
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 180
}, },
form: { form: {
component: 'Switch', component: 'Switch',
@ -160,14 +160,6 @@ export const Purchaseprice = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
}, },
{
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
@ -198,16 +190,24 @@ export const Purchaseprice = useCrudSchemas(reactive<CrudSchema[]>([
isForm:false, isForm:false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 180
} }
}, },
{
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',
isDetail: false, isDetail: false,
isForm: false , isForm: false ,
table: { table: {
width: 150, width: 190,
fixed: 'right' fixed: 'right'
} }
} }

Loading…
Cancel
Save