📦 新增訂單

建立新的藥材採購訂單,系統將自動生成訂單編號

📋 訂單基本資訊

系統自動生成,可手動重新生成

{{ validationErrors.supplier_id }}

👤 供應商資訊

公司名稱: {{ selectedSupplierInfo.name }}
聯絡人: {{ selectedSupplierInfo.contact_person }}
電話: {{ selectedSupplierInfo.phone }}
Email: {{ selectedSupplierInfo.email }}
地址: {{ selectedSupplierInfo.address }}

🔍 選擇藥材

🆕 新增新產品到訂單
{{ medicine.current_stock || 0 }}
{{ medicine.name }}
{{ medicine.category || '未分類' }} | {{ medicine.unit }} | ${{ medicine.last_purchase_price.toFixed(2) }}
庫存: {{ medicine.current_stock || 0 }} {{ medicine.unit }} 📦 {{ medicine.barcode_info }}
沒有找到相關藥材

📝 訂單項目 ({{ order.items.length }})

藥材名稱 規格/品牌 單位 數量 單價 小計 操作
{{ item.medicine_name }}
{{ item.category }}
${{ (item.quantity * item.unit_price || 0).toFixed(2) }}
📝

尚未添加訂單項目

點擊上方「新增項目」按鈕開始建立訂單

💰 訂單總計

{{ order.items.length }}
訂單項目數
{{ totalQuantity.toFixed(1) }}
總數量
${{ totalAmount.toFixed(2) }}
訂單總額
{{ message.type === 'success' ? '✅' : '❌' }} {{ message.text }}