云
5 小时以前 fb4db4ae9b6a7f113ba049f6789e6916c0dcc276
src/views/mes/pro/pallet/data.ts
@@ -10,6 +10,7 @@
/** 列表的搜索表单 */
export function useGridFormSchema(): VbenFormSchema[] {
  return [
    { fieldName: 'businessCode', label: '业务码', component: 'Input', componentProps: { allowClear: true, placeholder: '请输入出入库业务码' } },
    {
      fieldName: 'code',
      label: '托盘码',
@@ -54,6 +55,7 @@
export function useGridColumns(): VxeTableGridOptions<MesProPalletApi.Pallet>['columns'] {
  return [
    { type: 'checkbox', width: 50 },
    { field: 'businessCode', title: '业务码(出入库)', minWidth: 210 },
    {
      field: 'code',
      title: '托盘码',
@@ -61,6 +63,8 @@
      minWidth: 210,
      slots: { default: 'code' },
    },
    { field: 'itemName', title: '品种名称', minWidth: 150 },
    { field: 'itemCode', title: '品种编码', minWidth: 150 },
    {
      field: 'palletNo',
      title: '托盘序号',
@@ -73,15 +77,11 @@
      slots: { default: 'batchCode' },
    },
    {
      field: 'capacity',
      title: '可装袋数(袋/托盘)',
      width: 150,
    },
    {
      field: 'bagCount',
      title: '已绑袋码数量',
      width: 120,
    },
    { field: 'inboundTime', title: '入库状态', width: 100, formatter: ({ cellValue }) => cellValue ? '已入库' : '未入库' },
    {
      field: 'status',
      title: '托盘状态',