Browse Source

bug 修复

lilei 3 years ago
parent
commit
1ca56cae0f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/allocationManagement/transferReturn/edit.vue

+ 2 - 1
src/views/allocationManagement/transferReturn/edit.vue

@@ -397,7 +397,8 @@ export default {
         allocateReturnSn: this.$route.params.sn,
         allocateReturnSn: this.$route.params.sn,
         productSn: row.productSn,
         productSn: row.productSn,
         price: isEdit ? row.price : row.productPrice,
         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
       const fun = isEdit ? allocReturnDetailUpdate : allocReturnDetailInsert
       if (isEdit) { // 编辑
       if (isEdit) { // 编辑