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

Loading…
Cancel
Save