wzy
2022-10-07 46110cd69b178a03fed0633d45e6ca5265de630d
Merge branch 'score_shop'
1 files modified
14 ■■■■ changed files
zq-erp/src/main/resources/templates/views/admin/hive/products/goods-form.html 14 ●●●● patch | view | raw | blame | history
zq-erp/src/main/resources/templates/views/admin/hive/products/goods-form.html
@@ -1605,10 +1605,16 @@
                        if (valid) {
                            if ( _this.form.goodType == '套餐' && _this.form.isCourse == 'Y' && _this.form.isInfinite == 'N' && !_this.form.carUseCount) {
                                this.$message.error('请输入套餐最大使用次数!');
                              _this.submiting = false;
                                return false;
                            if ( _this.form.goodType == '套餐' && _this.form.isCourse == 'Y' && _this.form.isInfinite == 'N') {
                                if (!_this.form.carUseCount) {
                                    this.$message.error('请输入套餐最大使用次数!');
                                    _this.submiting = false;
                                    return false;
                                }
                            }
                            if (_this.form.goodType == '套餐' && _this.form.isCourse == 'Y' && _this.form.isInfinite == 'Y') {
                                _this.form.carUseCount = 999;
                            }