diff --git a/inventory-web/src/views/borrow/apply/index.vue b/inventory-web/src/views/borrow/apply/index.vue new file mode 100644 index 0000000..a11722b --- /dev/null +++ b/inventory-web/src/views/borrow/apply/index.vue @@ -0,0 +1,1121 @@ + + + + + + + 借库拣货车 + (请添加需要借出的物品) + + + + + + 取消 + + + 移除选中 ({{ selectedRows.length }}) + + + + + + 批量操作 + + + 清空列表 + + + + 手动添加库存 + + + 按 BOM 套餐添加 + + + + + 生成预览 & 打印 + + + 提交借库申请 + + + + + + + + + + + + + + {{ row.typeLabel }} + + + + + + + + + {{ row.warehouse_location || '-' }} + + + + + + {{ row.available_quantity }} + + + + + + handleMainQuantityChange(val, row)" + /> + + + + + + 移除 + + + + + + 共 {{ selectedItems.length }} 种物品, + 合计借出 {{ totalExportCount }} 件 + + + + + + + + 提示:点击表格行可勾选;修改数量会自动勾选 + + + + + + + {{ row.typeLabel }} + + + + + + + + + + handleManualQuantityChange(val, row)" + /> + + + + + + + 已勾选 {{ tempSelection.length }} 项 + + 取消 + 确认添加 + + + + + + + + + + + + 当前库存最多可成套借库: {{ maxBuildableSets }} 套 + + + + + + + + 库存不足以组成 {{ bomSets }} 套,缺少以下物料: + + + + + + + {{ row.shortage }} + + + + + {{ row.available }} + + + + + + + 注意:系统将自动计算所需原料数量 ( 配方用量 × 套数 )。 + + + 取消 + + {{ hasShortage ? '仅添加现有库存' : '确认添加' }} + + + + + + + + + + + + + + + + + {{ row.export_quantity }} + + + + + + 总计借出: {{ totalExportCount }} 件 + + + + + 取消 + + + 导出 Excel + + + + 确认打印 (A4) + + + + + + + + + + + + + + {{ row.typeLabel }} + + + + + + + + {{ row.export_quantity }} + + + + + + + + + + + + + + + + + + + + + 取消 + + 确认提交 + + + + + + + + 借库拣货确认单 + + 打印时间: {{ currentTime }} + 借库人: {{ borrowerName }} + + + + + + + + 序号 + 物料名称 + 规格型号 + 库位 + 单位 + 借出数量 + 备注 + + + + + {{ index + 1 }} + {{ item.name }} + {{ item.standard }} + {{ item.warehouse_location || '-' }} + 件 + {{ item.export_quantity }} + + + + 无数据 + + + + + 合计: + {{ totalExportCount }} + + + + + + + + + + + + + + + \ No newline at end of file