| | |
| | | prop="inboundNum" |
| | | width="90" |
| | | show-overflow-tooltip /> |
| | | <el-table-column label="库存预警" |
| | | prop="warnNum" |
| | | width="90" |
| | | show-overflow-tooltip /> |
| | | <el-table-column label="缺货数量" |
| | | prop="outStockQuantity" |
| | | width="100" |
| | |
| | | clearable /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="库存预警" prop="warnNum" width="150"> |
| | | <template #default="scope"> |
| | | <el-input-number :step="0.01" :min="0" style="width: 100%" v-model="scope.row.warnNum" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="税率(%)" |
| | | prop="taxRate" |
| | | width="120" /> |
| | |
| | | productList.value = productRes.data.map(item => ({ |
| | | ...item, |
| | | quantityStock: 0, |
| | | warnNum: 0, |
| | | originalQuantityStock: Number( |
| | | item.quantityStock ?? item.inboundQuantity ?? 0 |
| | | ), |
| | |
| | | nickName: userStore.nickName, |
| | | details: selectedRows.value.map(product => ({ |
| | | id: product.id, |
| | | warnNum: product.warnNum, |
| | | // id: product.salesLedgerProductId, |
| | | inboundQuantity: Number(product.quantityStock), |
| | | productModelId: product.productModelId, |