|
|
@@ -827,8 +827,6 @@
|
|
|
},
|
|
|
|
|
|
handSubmit() {
|
|
|
- console.log(this.currentNodeData, 'this.currentNodeData');
|
|
|
-
|
|
|
if (Number(this.currentNodeData.baseCount) <= 0) {
|
|
|
this.$message.warning('基本用量需要大于0');
|
|
|
return;
|
|
|
@@ -879,6 +877,10 @@
|
|
|
});
|
|
|
},
|
|
|
handJsSubmit() {
|
|
|
+ if (!this.radioSubmit) {
|
|
|
+ return this.$message.warning('请选择提交的BOM的类型!');
|
|
|
+ }
|
|
|
+
|
|
|
this.submit(
|
|
|
this.radioSubmit == 1 ? 'bom_release' : 'bom_release_device'
|
|
|
);
|