gjy 3 年之前
父节点
当前提交
672df28555
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      pages/erp/warehousing/warehousing.vue

+ 3 - 1
pages/erp/warehousing/warehousing.vue

@@ -901,7 +901,9 @@
 					this.$api.msg('请上传磅单')
 					return
 				}
-				this.detailData.cost=0
+				if(!this.detailData.cost){
+					this.detailData.cost=0
+				}
 				// if (!this.detailData.cost && num == 2) {
 				// 	this.$api.msg('未获取到成本,请编辑后提交')
 				// 	return