This commit is contained in:
zhutianqi
2022-02-21 10:00:15 +08:00
parent 25bb05b4b5
commit c70e400c7e
3 changed files with 7 additions and 4 deletions
@@ -2072,7 +2072,7 @@ export default {
this.defaultCheckedKeys3 = [this.form.dybxh]
this.treeCheckedKeys = this.form.treeListId.split(',')
this.form.standType = this.form.standInData === "0" ? 'INLAND' : 'FOREIGN'
this.form.standYear = this.form.standYear ? parseInt(this.form.standYear) : ''
this.form.standYear = this.form.standYear ? this.form.standYear : ''
if (this.form.country !== undefined && this.form.country !== null && this.form.country !== '') {
this.form.country = this.form.country.split(",");
}
@@ -2211,7 +2211,7 @@ export default {
this.key2++
this.key3++
this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN'
this.form.standYear = bringData.standYear ? parseInt(bringData.standYear) : ''
this.form.standYear = bringData.standYear ? bringData.standYear : ''
this.form.prcNum = this.prcNum
this.form.prcName = this.prcName
this.form['id'] = bringData.id
@@ -1091,7 +1091,7 @@ export default {
this.defaultCheckedKeys2 = [this.form.kccvppsbm]
this.defaultCheckedKeys3 = [this.form.dybxh]
this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN'
this.form.standYear = this.form.standYear ? parseInt(this.form.standYear) : ''
this.form.standYear = this.form.standYear ? this.form.standYear : ''
this.form.prcNum = this.prcNum
this.form.prcName = this.prcName
if( this.form.country !== undefined && this.form.country !== null && this.form.country !== ''){
@@ -2540,11 +2540,14 @@ export default {
}).then(res => {
if (res) {
const processForm = JSON.parse(res.mesg)
console.log(processForm);
console.log(this.form);
// this.commentText = processForm.commentText
if (processForm.form === undefined) {
this.getFormFieldList(processForm)
} else {
//表单文件处理
console.log(2);
this.getFormFieldList(processForm.form)
}
}
@@ -2565,7 +2568,7 @@ export default {
this.defaultCheckedKeys3 = [this.form.dybxh];
this.treeCheckedKeys = this.form.treeListId.split(',')
this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN'
this.form.standYear = this.form.standYear ? parseInt(this.form.standYear) : ''
this.form.standYear = this.form.standYear ? this.form.standYear : ''
this.form.prcNum = this.prcNum
this.form.prcName = this.prcName
this.form['id'] = item.id