Browse Source

去掉标签类型搜索条件,调整列表宽度

intex_online20241228
zhaoyiran 5 months ago
parent
commit
2ee3b99cd8
  1. 38
      src/views/wms/basicDataManage/labelManage/barcode/barcode.data.ts
  2. 36
      src/views/wms/basicDataManage/labelManage/labeltype/labeltype.data.ts
  3. 31
      src/views/wms/basicDataManage/labelManage/locationLabel/locationLabel.data.ts
  4. 34
      src/views/wms/basicDataManage/labelManage/manufacturePackage/manufacturePackage.data.ts
  5. 36
      src/views/wms/basicDataManage/labelManage/purchasePackage/purchasePackage.data.ts
  6. 3
      src/views/wms/basicDataManage/labelManage/utensilPackage/index.vue
  7. 34
      src/views/wms/basicDataManage/labelManage/utensilPackage/utensilPackage.data.ts

38
src/views/wms/basicDataManage/labelManage/barcode/barcode.data.ts

@ -51,7 +51,8 @@ export const Barcode = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: { table: {
fixed: 'left' fixed: 'left',
width: 200
} }
}, },
{ {
@ -61,23 +62,35 @@ export const Barcode = useCrudSchemas(reactive<CrudSchema[]>([
dictType: DICT_TYPE.LABEL_TYPE, dictType: DICT_TYPE.LABEL_TYPE,
dictClass: 'string', dictClass: 'string',
isSearch: true, isSearch: true,
isTable: true isTable: true,
table: {
width: 180
}
}, },
{ {
label: '名称', label: '名称',
field: 'name', field: 'name',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: {
width: 180
}
}, },
{ {
label: '描述', label: '描述',
field: 'description', field: 'description',
sort: 'custom', sort: 'custom',
table: {
width: 180
}
}, },
{ {
label: '顺序', label: '顺序',
field: 'order', field: 'order',
sort: 'custom', sort: 'custom',
table: {
width: 180
},
form: { form: {
component: 'InputNumber', component: 'InputNumber',
componentProps: { componentProps: {
@ -90,6 +103,9 @@ export const Barcode = useCrudSchemas(reactive<CrudSchema[]>([
label: '长度', label: '长度',
field: 'length', field: 'length',
sort: 'custom', sort: 'custom',
table: {
width: 180
},
form: { form: {
component: 'InputNumber', component: 'InputNumber',
componentProps: { componentProps: {
@ -109,26 +125,41 @@ export const Barcode = useCrudSchemas(reactive<CrudSchema[]>([
}, },
value: 0 value: 0
}, },
table: {
width: 180
}
}, },
{ {
label: '前缀字符', label: '前缀字符',
field: 'prefixChar', field: 'prefixChar',
sort: 'custom', sort: 'custom',
table: {
width: 180
}
}, },
{ {
label: '实体属性', label: '实体属性',
field: 'entityProperties', field: 'entityProperties',
sort: 'custom', sort: 'custom',
table: {
width: 180
}
}, },
{ {
label: '加密方法', label: '加密方法',
field: 'encyptMethod', field: 'encyptMethod',
sort: 'custom', sort: 'custom',
table: {
width: 180
}
}, },
{ {
label: '截断尾部空格', label: '截断尾部空格',
field: 'trimEnd', field: 'trimEnd',
sort: 'custom', sort: 'custom',
table: {
width: 180
}
}, },
{ {
label: '是否加密', label: '是否加密',
@ -144,6 +175,9 @@ export const Barcode = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE' activeValue: 'TRUE'
} }
}, },
table: {
width: 180
}
}, },
{ {
label: '创建时间', label: '创建时间',

36
src/views/wms/basicDataManage/labelManage/labeltype/labeltype.data.ts

@ -89,6 +89,9 @@ export const Labeltype = useCrudSchemas(reactive<CrudSchema[]>([
label: '数据协议', label: '数据协议',
field: 'dataProtocol', field: 'dataProtocol',
sort: 'custom', sort: 'custom',
table: {
width: 180
}
}, },
{ {
label: '拆分方法', label: '拆分方法',
@ -102,26 +105,41 @@ export const Labeltype = useCrudSchemas(reactive<CrudSchema[]>([
label: '数据头', label: '数据头',
field: 'header', field: 'header',
sort: 'custom', sort: 'custom',
table: {
width: 180
}
}, },
{ {
label: '版本号', label: '版本号',
field: 'version', field: 'version',
sort: 'custom', sort: 'custom',
table: {
width: 180
}
}, },
{ {
label: '分隔符', label: '分隔符',
field: 'separators', field: 'separators',
sort: 'custom', sort: 'custom',
table: {
width: 180
}
}, },
{ {
label: '校验方法', label: '校验方法',
field: 'validateMethod', field: 'validateMethod',
sort: 'custom', sort: 'custom',
table: {
width: 180
}
}, },
{ {
label: '校验数', label: '校验数',
field: 'validateNumber', field: 'validateNumber',
sort: 'custom', sort: 'custom',
table: {
width: 180
},
form: { form: {
component: 'InputNumber', component: 'InputNumber',
componentProps: { componentProps: {
@ -133,21 +151,33 @@ export const Labeltype = useCrudSchemas(reactive<CrudSchema[]>([
label: '加密方法', label: '加密方法',
field: 'encyptEthod', field: 'encyptEthod',
sort: 'custom', sort: 'custom',
table: {
width: 180
}
}, },
{ {
label: '压缩方法', label: '压缩方法',
field: 'compressMethod', field: 'compressMethod',
sort: 'custom', sort: 'custom',
table: {
width: 180
}
}, },
{ {
label: '模板名称', label: '模板名称',
field: 'templateName', field: 'templateName',
sort: 'custom', sort: 'custom',
table: {
width: 180
}
}, },
{ {
label: '模板文件', label: '模板文件',
field: 'templateFile', field: 'templateFile',
sort: 'custom', sort: 'custom',
table: {
width: 180
}
}, },
{ {
label: '是否加密', label: '是否加密',
@ -163,6 +193,9 @@ export const Labeltype = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE' activeValue: 'TRUE'
} }
}, },
table: {
width: 180
}
}, },
{ {
label: '是否压缩', label: '是否压缩',
@ -178,6 +211,9 @@ export const Labeltype = useCrudSchemas(reactive<CrudSchema[]>([
activeValue: 'TRUE' activeValue: 'TRUE'
} }
}, },
table: {
width: 180
}
}, },
{ {
label: '是否可用', label: '是否可用',

31
src/views/wms/basicDataManage/labelManage/locationLabel/locationLabel.data.ts

@ -14,16 +14,20 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: { table: {
fixed: 'left' fixed: 'left',
width: 210
} }
}, },
{ {
label: '标签类型', label: '标签类型',
field: 'type', field: 'type',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: false,
dictType: DICT_TYPE.LABEL_TYPE, dictType: DICT_TYPE.LABEL_TYPE,
dictClass: 'string' dictClass: 'string',
table: {
width: 180
}
}, },
// { // {
// label: '标签模板', // label: '标签模板',
@ -36,19 +40,25 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
dictType: DICT_TYPE.LABEL_STATUS, dictType: DICT_TYPE.LABEL_STATUS,
dictClass: 'string' dictClass: 'string',
table: {
width: 180
}
}, },
{ {
label: '关联号', label: '关联号',
field: 'relateNumber', field: 'relateNumber',
sort: 'custom', sort: 'custom',
table: {
width: 210
}
}, },
{ {
label: '标签条码字符串', label: '标签条码字符串',
field: 'barcodeString', field: 'barcodeString',
sort: 'custom', sort: 'custom',
table: { table: {
width: 170, width: 380,
} }
}, },
{ {
@ -62,6 +72,9 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
}, },
value: 0 value: 0
}, },
table: {
width: 180
}
}, },
{ {
label: '最后打印时间', label: '最后打印时间',
@ -77,11 +90,17 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
valueFormat: 'x', valueFormat: 'x',
} }
}, },
table: {
width: 180
}
}, },
{ {
label: '最后打印人ID', label: '最后打印人ID',
field: 'lastPrintUserId', field: 'lastPrintUserId',
sort: 'custom' sort: 'custom',
table: {
width: 180
}
}, },
{ {
label: '最后打印人用户名', label: '最后打印人用户名',

34
src/views/wms/basicDataManage/labelManage/manufacturePackage/manufacturePackage.data.ts

@ -24,7 +24,8 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: { table: {
fixed: 'left' fixed: 'left',
width:210
} }
}, },
{ {
@ -33,12 +34,18 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: false,
dictType: DICT_TYPE.LABEL_TYPE, dictType: DICT_TYPE.LABEL_TYPE,
dictClass: 'string' dictClass: 'string',
table: {
width: 180
}
}, },
{ {
label: '标签模板', label: '标签模板',
field: 'template', field: 'template',
sort: 'custom', sort: 'custom',
table: {
width: 180
}
}, },
{ {
label: '标签状态', label: '标签状态',
@ -46,20 +53,26 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
dictType: DICT_TYPE.LABEL_STATUS, dictType: DICT_TYPE.LABEL_STATUS,
dictClass: 'string' dictClass: 'string',
table: {
width: 180
}
}, },
{ {
label: '关联号', label: '关联号',
field: 'relateNumber', field: 'relateNumber',
sort: 'custom', sort: 'custom',
isSearch:true isSearch:true,
table: {
width: 210
}
}, },
{ {
label: '标签条码字符串', label: '标签条码字符串',
field: 'barcodeString', field: 'barcodeString',
sort: 'custom', sort: 'custom',
table: { table: {
width: 180, width: 380,
} }
}, },
{ {
@ -73,6 +86,9 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
}, },
value: 0 value: 0
}, },
table: {
width: 180
}
}, },
{ {
label: '最后打印时间', label: '最后打印时间',
@ -88,11 +104,17 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
valueFormat: 'x', valueFormat: 'x',
} }
}, },
table: {
width: 180
}
}, },
{ {
label: '最后打印人ID', label: '最后打印人ID',
field: 'lastPrintUserId', field: 'lastPrintUserId',
sort: 'custom' sort: 'custom',
table: {
width: 180
}
}, },
{ {
label: '最后打印人用户名', label: '最后打印人用户名',

36
src/views/wms/basicDataManage/labelManage/purchasePackage/purchasePackage.data.ts

@ -36,8 +36,9 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: { table: {
fixed: 'left' fixed: 'left',
} width: 210
},
}, },
{ {
label: '标签类型', label: '标签类型',
@ -45,12 +46,18 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: false,
dictType: DICT_TYPE.LABEL_TYPE, dictType: DICT_TYPE.LABEL_TYPE,
dictClass: 'string' dictClass: 'string',
table: {
width: 180
}
}, },
{ {
label: '标签模板', label: '标签模板',
field: 'template', field: 'template',
sort: 'custom', sort: 'custom',
table: {
width: 180
}
}, },
{ {
label: '标签状态', label: '标签状态',
@ -58,20 +65,26 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
dictType: DICT_TYPE.LABEL_STATUS, dictType: DICT_TYPE.LABEL_STATUS,
dictClass: 'string' dictClass: 'string',
table: {
width: 180
}
}, },
{ {
label: '关联号', label: '关联号',
field: 'relateNumber', field: 'relateNumber',
sort: 'custom', sort: 'custom',
isSearch:true isSearch:true,
table: {
width: 210
}
}, },
{ {
label: '标签条码字符串', label: '标签条码字符串',
field: 'barcodeString', field: 'barcodeString',
sort: 'custom', sort: 'custom',
table: { table: {
width: 180, width: 380,
} }
}, },
{ {
@ -85,6 +98,9 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
}, },
value: 0 value: 0
}, },
table: {
width: 180
}
}, },
{ {
label: '最后打印时间', label: '最后打印时间',
@ -100,11 +116,17 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
valueFormat: 'x', valueFormat: 'x',
} }
}, },
table: {
width: 180
}
}, },
{ {
label: '最后打印人ID', label: '最后打印人ID',
field: 'lastPrintUserId', field: 'lastPrintUserId',
sort: 'custom' sort: 'custom',
table: {
width: 180
}
}, },
{ {
label: '最后打印人用户名', label: '最后打印人用户名',

3
src/views/wms/basicDataManage/labelManage/utensilPackage/index.vue

@ -314,7 +314,8 @@ const searchFormClick = (searchData) => {
/** 初始化 **/ /** 初始化 **/
onMounted(async () => { onMounted(async () => {
tableObject.params = { tableObject.params = {
available: true available: true,
type: 'ContainerLabel'
} }
getList() getList()
}) })

34
src/views/wms/basicDataManage/labelManage/utensilPackage/utensilPackage.data.ts

@ -26,21 +26,28 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: { table: {
fixed: 'left' fixed: 'left',
width: 180
} }
}, },
{ {
label: '标签类型', label: '标签类型',
field: 'type', field: 'type',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: false,
dictType: DICT_TYPE.LABEL_TYPE, dictType: DICT_TYPE.LABEL_TYPE,
dictClass: 'string' dictClass: 'string',
table: {
width: 180
}
}, },
{ {
label: '标签模板', label: '标签模板',
field: 'template', field: 'template',
sort: 'custom', sort: 'custom',
table: {
width: 180
}
}, },
{ {
label: '标签状态', label: '标签状态',
@ -48,19 +55,25 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
dictType: DICT_TYPE.LABEL_STATUS, dictType: DICT_TYPE.LABEL_STATUS,
dictClass: 'string' dictClass: 'string',
table: {
width: 180
}
}, },
{ {
label: '关联号', label: '关联号',
field: 'relateNumber', field: 'relateNumber',
sort: 'custom', sort: 'custom',
table: {
width: 210
}
}, },
{ {
label: '标签条码字符串', label: '标签条码字符串',
field: 'barcodeString', field: 'barcodeString',
sort: 'custom', sort: 'custom',
table: { table: {
width: 180, width: 380,
} }
}, },
{ {
@ -74,6 +87,9 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
}, },
value: 0 value: 0
}, },
table: {
width: 180
}
}, },
{ {
label: '最后打印时间', label: '最后打印时间',
@ -89,11 +105,17 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
valueFormat: 'x', valueFormat: 'x',
} }
}, },
table: {
width: 180
}
}, },
{ {
label: '最后打印人ID', label: '最后打印人ID',
field: 'lastPrintUserId', field: 'lastPrintUserId',
sort: 'custom' sort: 'custom',
table: {
width: 180
}
}, },
{ {
label: '最后打印人用户名', label: '最后打印人用户名',

Loading…
Cancel
Save