@@ -546,7 +546,7 @@ export default {
],
salesmanList: [],
salesTypeList: [],
-
+ isCollapse: true,
multipleSelection: [],
transfer: [
{ label: '是', value: true },
@@ -1002,8 +1002,9 @@ export default {
this.$errorMsg('请选择现金钱包')
return
}
- if (!this.multipleSelection[i].qty) {
- this.$errorMsg('请输入数量')
+
+ if (!Number(this.multipleSelection[i].qty)) {
+ this.$errorMsg(`不允许数量为0`)
if (this.multipleSelection[i].qty > this.multipleSelection[i].enginNum) {
@@ -942,6 +942,10 @@ export default {
this.$errorMsg('请选择产品')
+ if (!Number(this.goodsList[i].qty)) {
+ return
+ }
let goodsList = JSON.parse(JSON.stringify(this.goodsList))
@@ -1451,9 +1451,8 @@ export default {
- if (!this.goodsList[i].qty) {
- this.$errorMsg('金额不能为0')