|
@@ -103,9 +103,7 @@ export default {
|
|
approvalStatus: "录入",
|
|
approvalStatus: "录入",
|
|
updateItemList: []
|
|
updateItemList: []
|
|
},
|
|
},
|
|
- rowFrom: {
|
|
|
|
-
|
|
|
|
- },
|
|
|
|
|
|
+ rowFrom: {},
|
|
optionForm: {
|
|
optionForm: {
|
|
// menuBtn: false,
|
|
// menuBtn: false,
|
|
submitBtn: false,
|
|
submitBtn: false,
|
|
@@ -279,10 +277,11 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
rowUpdate(row, index, done, loading) {
|
|
rowUpdate(row, index, done, loading) {
|
|
done()
|
|
done()
|
|
- console.log(row)
|
|
|
|
if (row.fieldValueType == "选择器") {
|
|
if (row.fieldValueType == "选择器") {
|
|
this.data[index].fieldValueNew = row.fieldValueNew
|
|
this.data[index].fieldValueNew = row.fieldValueNew
|
|
this.data[index].fieldValueNewName = row.fieldValueNewName
|
|
this.data[index].fieldValueNewName = row.fieldValueNewName
|
|
|
|
+ this.data[index].secondLevel = row.secondLevel
|
|
|
|
+ this.data[index].secondLevelName = row.secondLevelName
|
|
} else {
|
|
} else {
|
|
this.data[index].fieldValueNew = row.fieldValueNewName
|
|
this.data[index].fieldValueNew = row.fieldValueNewName
|
|
this.data[index].fieldValueNewName = row.fieldValueNewName
|
|
this.data[index].fieldValueNewName = row.fieldValueNewName
|
|
@@ -324,12 +323,18 @@ export default {
|
|
if (row) {
|
|
if (row) {
|
|
this.rowFrom.fieldValueNew = row.dictKey
|
|
this.rowFrom.fieldValueNew = row.dictKey
|
|
this.rowFrom.fieldValueNewName = row.dictValue
|
|
this.rowFrom.fieldValueNewName = row.dictValue
|
|
|
|
+ this.rowFrom.secondLevel = null
|
|
|
|
+ this.rowFrom.secondLevelName = null
|
|
} else {
|
|
} else {
|
|
this.rowFrom.fieldValueNew = null
|
|
this.rowFrom.fieldValueNew = null
|
|
this.rowFrom.fieldValueNewName = null
|
|
this.rowFrom.fieldValueNewName = null
|
|
|
|
+ this.rowFrom.secondLevel = null
|
|
|
|
+ this.rowFrom.secondLevelName = null
|
|
}
|
|
}
|
|
} else if(name == 'srcCnName'){
|
|
} else if(name == 'srcCnName'){
|
|
if(row){
|
|
if(row){
|
|
|
|
+ // this.$set(this.rowFrom,'secondLevel',row.id)
|
|
|
|
+ // this.$set(this.rowFrom,'secondLevelName',row.cnName)
|
|
this.rowFrom.secondLevel = row.id
|
|
this.rowFrom.secondLevel = row.id
|
|
this.rowFrom.secondLevelName = row.cnName
|
|
this.rowFrom.secondLevelName = row.cnName
|
|
}else{
|
|
}else{
|