ZN
2026-03-16 6d97adcf82344dcbb084354a7a93240ba52f4f4c
src/views/consumablesLogistics/receiptManagement/Record.vue
@@ -107,6 +107,15 @@
                         prop="weighingOperator"
                         v-if="type === '0'"
                         show-overflow-tooltip/>
        <el-table-column label="操作"
                         width="120"
                         align="center">
          <template #default="scope">
            <el-button type="primary"
                       size="mini"
                       @click="handlePreview(scope.row)">导出过磅单</el-button>
          </template>
        </el-table-column>
      </el-table>
      <pagination v-show="total > 0"
                  :total="total"
@@ -174,6 +183,13 @@
  return stockRecordTypeOptions.value.find(item => item.value === recordType)?.label || ''
}
// 导出过磅单
const handlePreview = (row) => {
  console.log(row);
  console.log(row.weighbridgeDocPath);
  proxy.$download.name(row.weighbridgeDocPath);
}
const pageProductChange = obj => {
  page.current = obj.page;
  page.size = obj.limit;