Browse Source

mes条码片段页面展示

master_hella_20240701
chenfang 11 months ago
parent
commit
72d9ec5c2d
  1. 4
      src/views/wms/mes/mesBarCode/index.vue
  2. 86
      src/views/wms/mes/mesBarCode/mesBarCode.data.ts

4
src/views/wms/mes/mesBarCode/index.vue

@ -133,8 +133,8 @@ const buttonBaseClick = (val, item) => {
// - // -
const butttondata = [ const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'wms:mesBarCode:update'}), // defaultButtons.mainListEditBtn({hasPermi:'wms:mes-bar-code:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'wms:mesBarCode:delete'}), // defaultButtons.mainListDeleteBtn({hasPermi:'wms:mes-bar-code:delete'}), //
] ]
// - // -

86
src/views/wms/mes/mesBarCode/mesBarCode.data.ts

@ -7,17 +7,13 @@ export const MesBarCodeRules = reactive({
}) })
export const MesBarCode = useCrudSchemas(reactive<CrudSchema[]>([ export const MesBarCode = useCrudSchemas(reactive<CrudSchema[]>([
{
label: 'id',
field: 'id',
sort: 'custom',
isForm: false,
},
{ {
label: 'Plnt', label: 'Plnt',
field: 'plat', field: 'plat',
sort: 'custom', sort: 'custom',
isSearch: true, table: {
width: 120
},
form: { form: {
component: 'InputNumber', component: 'InputNumber',
value: 0 value: 0
@ -27,43 +23,57 @@ export const MesBarCode = useCrudSchemas(reactive<CrudSchema[]>([
label: 'Counter', label: 'Counter',
field: 'counter', field: 'counter',
sort: 'custom', sort: 'custom',
isSearch: true, table: {
width: 150
},
}, },
{ {
label: 'SIGN', label: 'SIGN',
field: 'sign', field: 'sign',
sort: 'custom', sort: 'custom',
isSearch: true, table: {
width: 120
},
}, },
{ {
label: 'Option', label: 'Option',
field: 'option', field: 'option',
sort: 'custom', sort: 'custom',
isSearch: true, table: {
width: 120
},
}, },
{ {
label: 'Lower Lim.', label: 'Lower Lim.',
field: 'lowerLim', field: 'lowerLim',
sort: 'custom', sort: 'custom',
isSearch: true, table: {
width: 150
},
}, },
{ {
label: 'UpperLimit', label: 'UpperLimit',
field: 'upperLimit', field: 'upperLimit',
sort: 'custom', sort: 'custom',
isSearch: true, table: {
width: 150
},
}, },
{ {
label: 'ITAC', label: 'ITAC',
field: 'itac', field: 'itac',
sort: 'custom', sort: 'custom',
isSearch: true, table: {
width: 120
},
}, },
{ {
label: 'Type', label: 'Type',
field: 'type', field: 'type',
sort: 'custom', sort: 'custom',
isSearch: true, table: {
width: 120
},
form: { form: {
component: 'SelectV2' component: 'SelectV2'
}, },
@ -72,7 +82,9 @@ export const MesBarCode = useCrudSchemas(reactive<CrudSchema[]>([
label: 'Length BC', label: 'Length BC',
field: 'lengthBc', field: 'lengthBc',
sort: 'custom', sort: 'custom',
isSearch: true, table: {
width: 150
},
form: { form: {
component: 'InputNumber', component: 'InputNumber',
value: 0 value: 0
@ -82,13 +94,17 @@ export const MesBarCode = useCrudSchemas(reactive<CrudSchema[]>([
label: 'Pos. mat', label: 'Pos. mat',
field: 'posMat', field: 'posMat',
sort: 'custom', sort: 'custom',
isSearch: true, table: {
width: 150
},
}, },
{ {
label: 'Length mat', label: 'Length mat',
field: 'lengthMat', field: 'lengthMat',
sort: 'custom', sort: 'custom',
isSearch: true, table: {
width: 150
},
form: { form: {
component: 'InputNumber', component: 'InputNumber',
value: 0 value: 0
@ -98,37 +114,49 @@ export const MesBarCode = useCrudSchemas(reactive<CrudSchema[]>([
label: 'Pos. revlv', label: 'Pos. revlv',
field: 'posRevlv', field: 'posRevlv',
sort: 'custom', sort: 'custom',
isSearch: true, table: {
width: 150
},
}, },
{ {
label: 'Part number', label: 'Part number',
field: 'partNumber', field: 'partNumber',
sort: 'custom', sort: 'custom',
isSearch: true, table: {
width: 150
},
}, },
{ {
label: 'Pack Label', label: 'Pack Label',
field: 'packLabel', field: 'packLabel',
sort: 'custom', sort: 'custom',
isSearch: true, table: {
width: 150
},
}, },
{ {
label: 'OES-Label', label: 'OES-Label',
field: 'oesLabel', field: 'oesLabel',
sort: 'custom', sort: 'custom',
isSearch: true, table: {
width: 150
},
}, },
{ {
label: 'Check Rvl', label: 'Check Rvl',
field: 'checkRvl', field: 'checkRvl',
sort: 'custom', sort: 'custom',
isSearch: true, table: {
width: 150
},
}, },
{ {
label: 'Days', label: 'Days',
field: 'days', field: 'days',
sort: 'custom', sort: 'custom',
isSearch: true, table: {
width: 120
},
form: { form: {
component: 'InputNumber', component: 'InputNumber',
value: 0 value: 0
@ -138,14 +166,18 @@ export const MesBarCode = useCrudSchemas(reactive<CrudSchema[]>([
label: '是否可用', label: '是否可用',
field: 'available', field: 'available',
sort: 'custom', sort: 'custom',
isSearch: true, table: {
width: 120
},
}, },
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
isSearch: true, table: {
width: 180
},
search: { search: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -160,7 +192,9 @@ export const MesBarCode = useCrudSchemas(reactive<CrudSchema[]>([
label: '备注', label: '备注',
field: 'remark', field: 'remark',
sort: 'custom', sort: 'custom',
isSearch: true, table: {
width: 120
},
}, },
{ {
label: '操作', label: '操作',

Loading…
Cancel
Save