浏览代码

bug修复

chenrui 4 年之前
父节点
当前提交
81abf78608
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/purchasingManagement/bulkWarehousingOrder/productModal.vue

+ 1 - 1
src/views/purchasingManagement/bulkWarehousingOrder/productModal.vue

@@ -175,7 +175,7 @@ export default {
       const _this = this
       const _this = this
       stockByProductSn({ sn: sn }).then(res => {
       stockByProductSn({ sn: sn }).then(res => {
         if (res.status == 200) {
         if (res.status == 200) {
-          _this.form.productCost = res.data.lastStockCost
+          _this.form.productCost = res.data.lastStockCost || ''
         }
         }
       })
       })
     },
     },