yangyang
2025-07-15 8bf05b0864422c94384b7155ec04660f5c21094a
库位管理添加库位状态筛选功能
3个文件已修改
63 ■■■■■ 已修改文件
zy-asrs-admin/src/views/base/loc/index.vue 21 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-admin/src/views/base/locAreaType/index.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-admin/src/views/base/mat/index.vue 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-admin/src/views/base/loc/index.vue
@@ -23,6 +23,7 @@
  row1: null,
  bay1: null,
  lev1: null,
  locStsId: null,
  barcode: null,
})
const editChild = ref(null)
@@ -47,98 +48,84 @@
    dataIndex: 'locNo',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('locNo'),
  },
  {
    title: formatMessage('db.man_loc.loc_sts_id', '库位状态'),
    dataIndex: 'locStsId$',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('locStsId$'),
  },
  {
    title: formatMessage('db.man_loc.row1', '排'),
    dataIndex: 'row1',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('row1'),
  },
  {
    title: formatMessage('db.man_loc.bay1', '列'),
    dataIndex: 'bay1',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('bay1'),
  },
  {
    title: formatMessage('db.man_loc.lev1', '层'),
    dataIndex: 'lev1',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('lev1'),
  },
  {
    title: formatMessage('db.man_loc.barcode', '条码'),
    dataIndex: 'barcode',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('barcode'),
  },
  {
    title: formatMessage('db.man_loc.uuid', '编号'),
    dataIndex: 'uuid',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('uuid'),
  },
  {
    title: formatMessage('db.man_loc.flag', '标识'),
    dataIndex: 'flag',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('flag'),
  },
  {
    title: formatMessage('db.man_loc.status', '状态'),
    dataIndex: 'status$',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('status$'),
  },
  {
    title: formatMessage('db.man_loc.create_time', '添加时间'),
    dataIndex: 'createTime$',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('createTime$'),
  },
  {
    title: formatMessage('db.man_loc.create_by', '添加人员'),
    dataIndex: 'createBy$',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('createBy$'),
  },
  {
    title: formatMessage('db.man_loc.update_time', '修改时间'),
    dataIndex: 'updateTime$',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('updateTime$'),
  },
  {
    title: formatMessage('db.man_loc.update_by', '修改人员'),
    dataIndex: 'updateBy$',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('updateBy$'),
  },
  {
    title: formatMessage('db.man_loc.memo', '备注'),
    dataIndex: 'memo',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('memo'),
  },
  {
@@ -282,7 +269,11 @@
          style="width: 140px;margin-right: 10px;" />
        <a-input v-model:value="searchParam.barcode" :placeholder="formatMessage('page.loc.barcode.input', '请输入条码')"
          style="width: 140px;margin-right: 10px;" />
        <a-select v-model:value="searchParam.locStsId" :placeholder="formatMessage('page.locDetl.orderNo.input', '选择库位状态')"
          :options="[
            { label: '全部', value: null }, { label: '在库', value: 1 }, { label: '空库', value: 2 }, { label: '空板', value: 3 },
            { label: '入库预约', value: 4 }, { label: '出库预约', value: 5 }, { label: '禁用', value: 6 }]" style="width: 140px;margin-right: 10px;">
        </a-select>
        <a-input-search v-model:value="searchInput" :placeholder="formatMessage('page.input', '请输入')"
          style="width: 200px;" @search="onSearch" />
      </div>
zy-asrs-admin/src/views/base/locAreaType/index.vue
@@ -42,63 +42,54 @@
    dataIndex: 'type$',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('type$'),
  },
  {
    title: formatMessage('db.man_loc_area_type.uuid', '编号'),
    dataIndex: 'uuid',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('uuid'),
  },
  {
    title: formatMessage('db.man_loc_area_type.sort', '排序'),
    dataIndex: 'sort',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('sort'),
  },
  {
    title: formatMessage('db.man_loc_area_type.status', '状态'),
    dataIndex: 'status$',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('status$'),
  },
  {
    title: formatMessage('db.man_loc_area_type.create_time', '添加时间'),
    dataIndex: 'createTime$',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('createTime$'),
  },
  {
    title: formatMessage('db.man_loc_area_type.create_by', '添加人员'),
    dataIndex: 'createBy$',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('createBy$'),
  },
  {
    title: formatMessage('db.man_loc_area_type.update_time', '修改时间'),
    dataIndex: 'updateTime$',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('updateTime$'),
  },
  {
    title: formatMessage('db.man_loc_area_type.update_by', '修改人员'),
    dataIndex: 'updateBy$',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('updateBy$'),
  },
  {
    title: formatMessage('db.man_loc_area_type.memo', '备注'),
    dataIndex: 'memo',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('memo'),
  },
  {
zy-asrs-admin/src/views/base/mat/index.vue
@@ -67,196 +67,168 @@
    dataIndex: 'id',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('id'),
  },
  {
    title: formatMessage('db.man_mat.tag_id', '所属归类'),
    dataIndex: 'tagId$',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('tagId$'),
  },
  {
    title: formatMessage('db.man_mat.matnr', '商品编号'),
    dataIndex: 'matnr',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('matnr'),
  },
  {
    title: formatMessage('db.man_mat.maktx', '商品名称'),
    dataIndex: 'maktx',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('maktx'),
  },
  {
    title: formatMessage('db.man_mat.name', '别名'),
    dataIndex: 'name',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('name'),
  },
  {
    title: formatMessage('db.man_mat.specs', '规格'),
    dataIndex: 'specs',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('specs'),
  },
  {
    title: formatMessage('db.man_mat.model', '型号'),
    dataIndex: 'model',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('model'),
  },
  {
    title: formatMessage('db.man_mat.color', '颜色'),
    dataIndex: 'color',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('color'),
  },
  {
    title: formatMessage('db.man_mat.brand', '品牌'),
    dataIndex: 'brand',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('brand'),
  },
  {
    title: formatMessage('db.man_mat.unit', '单位'),
    dataIndex: 'unit',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('unit'),
  },
  {
    title: formatMessage('db.man_mat.price', '单价'),
    dataIndex: 'price',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('price'),
  },
  {
    title: formatMessage('db.man_mat.sku', 'sku'),
    dataIndex: 'sku',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('sku'),
  },
  {
    title: formatMessage('db.man_mat.units', '单位量'),
    dataIndex: 'units',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('units'),
  },
  {
    title: formatMessage('db.man_mat.barcode', '条码'),
    dataIndex: 'barcode',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('barcode'),
  },
  {
    title: formatMessage('db.man_mat.origin', '产地'),
    dataIndex: 'origin',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('origin'),
  },
  {
    title: formatMessage('db.man_mat.manu', '厂家'),
    dataIndex: 'manu',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('manu'),
  },
  {
    title: formatMessage('db.man_mat.manu_date', '生产日期'),
    dataIndex: 'manuDate',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('manuDate'),
  },
  {
    title: formatMessage('db.man_mat.item_num', '品项数'),
    dataIndex: 'itemNum',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('itemNum'),
  },
  {
    title: formatMessage('db.man_mat.weight', '重量'),
    dataIndex: 'weight',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('weight'),
  },
  {
    title: formatMessage('db.man_mat.length', '长度'),
    dataIndex: 'length',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('length'),
  },
  {
    title: formatMessage('db.man_mat.volume', '体积'),
    dataIndex: 'volume',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('volume'),
  },
  {
    title: formatMessage('db.man_mat.three_code', '三方编码'),
    dataIndex: 'threeCode',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('threeCode'),
  },
  {
    title: formatMessage('db.man_mat.supp', '供应商'),
    dataIndex: 'supp',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('supp'),
  },
  {
    title: formatMessage('db.man_mat.supp_code', '供应商编码'),
    dataIndex: 'suppCode',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('suppCode'),
  },
  {
    title: formatMessage('db.man_mat.dead_time', '保质期'),
    dataIndex: 'deadTime',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('deadTime'),
  },
  {
    title: formatMessage('db.man_mat.safeStockLimit', '安全库存上限'),
    dataIndex: 'safeStockLimit',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('safeStockLimit'),
  },
  {
    title: formatMessage('db.man_mat.safeStockMinimum', '安全库存下限'),
    dataIndex: 'safeStockMinimum',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('safeStockMinimum'),
  },
  {
    title: formatMessage('db.man_mat.validity', '有效期'),
    dataIndex: 'validity',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('validity'),
  },
  {
@@ -264,28 +236,24 @@
    dataIndex: 'uuid',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('uuid'),
  },
  {
    title: formatMessage('db.man_mat.flag', '标识'),
    dataIndex: 'flag',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('flag'),
  },
  {
    title: formatMessage('db.man_mat.sort', '排序'),
    dataIndex: 'sort',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('sort'),
  },
  {
    title: formatMessage('db.man_mat.status', '状态'),
    dataIndex: 'status$',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('status$'),
  },
  // {
  //   title: formatMessage('db.man_mat.create_time', '添加时间'),
@@ -316,7 +284,6 @@
    dataIndex: 'memo',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('memo'),
  },
];