保存下拉选格式修改
This commit is contained in:
@@ -634,12 +634,12 @@
|
||||
uploadFileChangeDown
|
||||
},
|
||||
mounted() {
|
||||
// this.detailDate.list.forEach((item) => {
|
||||
// if (item.type === 'pull_more') {
|
||||
// item.dataValue = []
|
||||
// }
|
||||
// // this.detailDatetransformation.push(item)
|
||||
// })
|
||||
this.detailDate.list.forEach((item) => {
|
||||
if (item.type === 'pull_more') {
|
||||
console.log(item.dataValue)
|
||||
}
|
||||
// this.detailDatetransformation.push(item)
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
onInput(r) {
|
||||
|
||||
@@ -313,7 +313,7 @@ export default {
|
||||
postDateobj[itemIn[j]] = selectedRowKeysValue[i][itemIn[j]]
|
||||
for (let k = 0; k < selectedRowKeysValue[i][itemIn[j]].list.length; k++) {
|
||||
console.log(selectedRowKeysValue[i][itemIn[j]].list[k].dataValue)
|
||||
if (selectedRowKeysValue[i][itemIn[j]].list[k].type == 'pull_more' && selectedRowKeysValue[i][itemIn[j]].list[k].dataValue !== null) {
|
||||
if (selectedRowKeysValue[i][itemIn[j]].list[k].type == 'pull_more' && selectedRowKeysValue[i][itemIn[j]].list[k].dataValue !== null && selectedRowKeysValue[i][itemIn[j]].list[k].dataValue instanceof Array) {
|
||||
selectedRowKeysValue[i][itemIn[j]].list[k].dataValue = selectedRowKeysValue[i][itemIn[j]].list[k].dataValue.join(',')
|
||||
}
|
||||
if (selectedRowKeysValue[i][itemIn[j]].list[k].type == 'text' && selectedRowKeysValue[i][itemIn[j]].list[k].dataValue !== null) {
|
||||
|
||||
Reference in New Issue
Block a user