|
@@ -170,8 +170,8 @@ export default {
|
|
}
|
|
}
|
|
this[spliceName].splice(index, 1)
|
|
this[spliceName].splice(index, 1)
|
|
}
|
|
}
|
|
- if (item.checkName && item.checkName.length > 0) {//统计自定义字段
|
|
|
|
- item.checkName.splice(i, 1)
|
|
|
|
|
|
+ if (item.checkData && item.checkData.length > 0) {//统计自定义字段
|
|
|
|
+ item.checkData.splice(i, 1)
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
let spliceName = ''
|
|
let spliceName = ''
|
|
@@ -194,7 +194,6 @@ export default {
|
|
// cascader变化事件
|
|
// cascader变化事件
|
|
cascaderChange(val) {
|
|
cascaderChange(val) {
|
|
this.inputValue = ''
|
|
this.inputValue = ''
|
|
- console.log(val,this.options)
|
|
|
|
// let a = this.options.find(item => {
|
|
// let a = this.options.find(item => {
|
|
// return item.value == val[0]
|
|
// return item.value == val[0]
|
|
// })
|
|
// })
|
|
@@ -256,8 +255,9 @@ export default {
|
|
{
|
|
{
|
|
label: item.name,
|
|
label: item.name,
|
|
value: item.value,
|
|
value: item.value,
|
|
- inputValue: item.check,
|
|
|
|
|
|
+ inputValue: item.checkData.map(i=>i.value),
|
|
checkName: item.checkName,
|
|
checkName: item.checkName,
|
|
|
|
+ checkData:item.checkData,
|
|
filedKind: item.filedKind,
|
|
filedKind: item.filedKind,
|
|
type: item.type,
|
|
type: item.type,
|
|
group: item.filedKind == -1 ? 'nos' : 'customField',
|
|
group: item.filedKind == -1 ? 'nos' : 'customField',
|