瀏覽代碼

bug 修复

lilei 3 年之前
父節點
當前提交
1ca56cae0f
共有 1 個文件被更改,包括 2 次插入1 次删除
  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,
         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) { // 编辑