gjy %!s(int64=3) %!d(string=hai) anos
pai
achega
ce3d6c1370
Modificáronse 1 ficheiros con 5 adicións e 4 borrados
  1. 5 4
      pages/erp/warehousing/warehousing.vue

+ 5 - 4
pages/erp/warehousing/warehousing.vue

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