|
@@ -1317,6 +1317,7 @@
|
|
|
v-for="(tag) in item.child"
|
|
|
:key="tag.field"
|
|
|
size="large"
|
|
|
+ type="info"
|
|
|
@click="handleSubCategorySelect(tag)"
|
|
|
>
|
|
|
{{ tag.field_name }}
|
|
@@ -1961,15 +1962,17 @@ export default {
|
|
|
const { qztj } = this.ruleForm
|
|
|
let result = true
|
|
|
const e_index = []
|
|
|
+ console.log('>>>>>>>>>>', qztj)
|
|
|
|
|
|
if (qztj.length) {
|
|
|
for (let i = 0; i < qztj.length; i++) {
|
|
|
qztj[i].condition_content.forEach(item => {
|
|
|
// 检查必填项
|
|
|
- const isEmpty = !item.param1 ||
|
|
|
- (Array.isArray(item.param2) ? item.param2.length === 0 : !item.param2) ||
|
|
|
- !item.condition
|
|
|
-
|
|
|
+ // const isEmpty = !item.param1 ||
|
|
|
+ // (Array.isArray(item.param2) ? item.param2.length === 0 : !item.param2) ||
|
|
|
+ // !item.condition
|
|
|
+ // 检查必填项
|
|
|
+ const isEmpty = !item.param1 || !item.condition
|
|
|
if (isEmpty) {
|
|
|
e_index.push(i + 1)
|
|
|
}
|