|
@@ -265,7 +265,7 @@ export default {
|
|
|
data() {
|
|
|
var checkMinValue = (rule, value, callback) => {
|
|
|
const list = this.itemList[rule.field.split(".")[1]];
|
|
|
- const { maxValue, businessId } = list;
|
|
|
+ const { maxValue, businessId, itemCategory } = list;
|
|
|
if (maxValue || value || value === 0) {
|
|
|
if (!value && value !== 0) {
|
|
|
callback(new Error("请输入最低价"));
|
|
@@ -276,9 +276,10 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if (businessId) {
|
|
|
+ if (businessId && itemCategory) {
|
|
|
const levelList = this.itemList.filter(
|
|
|
- (e) => e.businessId == list.businessId
|
|
|
+ (e) =>
|
|
|
+ e.businessId == list.businessId && e.itemCategory == itemCategory
|
|
|
);
|
|
|
if (levelList.length > 1) {
|
|
|
const text = this.isHaveIntersect(levelList);
|