ZY
2024-09-25 2191824072549f0da35d73686a075e59b0196321
zy-asrs-admin/src/views/in/waitPakin/index.vue
@@ -23,6 +23,12 @@
let currentPage = 1;
let pageSize = 10;
const searchInput = ref("")
const searchParam = ref({
  orderNo: null,
  barcode: null,
  matnr: null,
  batch: null,
})
const editChild = ref(null)
const generateTaskChild = ref(null)
@@ -63,17 +69,17 @@
  },
  {
    title: formatMessage('db.man_wait_pakin.matnr', '商品编号'),
    dataIndex: ['detl$', 'mat$', 'matnr'],
    dataIndex: 'matnr',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('detl$.matnr'),
    ...getColumnSearchProps('matnr'),
  },
  {
    title: formatMessage('db.man_wait_pakin.batch', '批号'),
    dataIndex: ['detl$', 'batch'],
    dataIndex: 'batch',
    width: 140,
    ellipsis: true,
    ...getColumnSearchProps('detl$.matnr'),
    ...getColumnSearchProps('batch'),
  },
  {
    title: formatMessage('db.man_wait_pakin.anfme', '组托数量'),
@@ -161,7 +167,8 @@
  post('/api/waitPakin/page', {
    current: currentPage,
    pageSize: pageSize,
    condition: searchInput.value
    condition: searchInput.value,
    _param: searchParam.value,
  }).then((resp) => {
    let result = resp.data;
    if (result.code == 200) {
@@ -287,8 +294,22 @@
  <div>
    <EditView ref="editChild" @tableReload="handleTableReload" />
    <div class="table-header">
      <a-input-search v-model:value="searchInput" :placeholder="formatMessage('page.input', '请输入')"
        style="width: 200px;" @search="onSearch" />
      <div>
        <a-input v-model:value="searchParam.orderNo"
          :placeholder="formatMessage('page.waitPakin.orderNo.input', '请输入订单编号')"
          style="width: 140px;margin-right: 10px;" />
        <a-input v-model:value="searchParam.barcode"
          :placeholder="formatMessage('page.waitPakin.barcode.input', '请输入托盘码')"
          style="width: 140px;margin-right: 10px;" />
        <a-input v-model:value="searchParam.matnr"
          :placeholder="formatMessage('page.waitPakin.matnr.input', '请输入商品编号')"
          style="width: 140px;margin-right: 10px;" />
        <a-input v-model:value="searchParam.batch" :placeholder="formatMessage('page.waitPakin.batch.input', '请输入批号')"
          style="width: 140px;margin-right: 10px;" />
        <a-input-search v-model:value="searchInput" :placeholder="formatMessage('page.input', '请输入')"
          style="width: 200px;" @search="onSearch" />
      </div>
      <div class="table-header-right">
        <a-dropdown>
          <template #overlay>