gjy hace 3 años
padre
commit
672df28555
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      pages/erp/warehousing/warehousing.vue

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

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