|
@@ -397,7 +397,8 @@ export default {
|
|
|
allocateReturnSn: this.$route.params.sn,
|
|
|
productSn: row.productSn,
|
|
|
price: isEdit ? row.price : row.productPrice,
|
|
|
- returnQty: isEdit ? row.returnQty : row.qty
|
|
|
+ returnQty: isEdit ? row.returnQty : row.qty,
|
|
|
+ cost: isEdit ? row.cost : row.lastStockCost
|
|
|
}
|
|
|
const fun = isEdit ? allocReturnDetailUpdate : allocReturnDetailInsert
|
|
|
if (isEdit) { // 编辑
|