52374 标准入库流程,,先保存到草稿,从草稿提交,走到修订节点,所有的附件都丢失
This commit is contained in:
@@ -2618,49 +2618,50 @@ export default {
|
|||||||
/**
|
/**
|
||||||
* @description: 动态表单读取
|
* @description: 动态表单读取
|
||||||
*/
|
*/
|
||||||
// getFormFieldList(item) {
|
|
||||||
// this.$nextTick(() => {
|
|
||||||
// this.form = JSON.parse(JSON.stringify(item))
|
|
||||||
// this.defaultCheckedKeys = [this.form.standSystem];
|
|
||||||
// this.defaultCheckedKeys1 = [this.form.cycvppsbm];
|
|
||||||
// this.defaultCheckedKeys2 = [this.form.kccvppsbm];
|
|
||||||
// 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 ? this.form.standYear : ''
|
|
||||||
// this.form.prcNum = this.prcNum
|
|
||||||
// this.form.prcName = this.prcName
|
|
||||||
// this.form['id'] = item.id
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// // 遍历对象
|
|
||||||
// for (const p in this.form) {
|
|
||||||
// if (typeof (this.form[p]) != "function") {
|
|
||||||
// this.initializeFileList(p, this.form[p]);
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// this.$forceUpdate()
|
|
||||||
// })
|
|
||||||
// },
|
|
||||||
getFormFieldList(item) {
|
getFormFieldList(item) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.form = JSON.parse(JSON.stringify(item))
|
this.form = JSON.parse(JSON.stringify(item))
|
||||||
this.defaultCheckedKeys = [this.form.standSystem]
|
this.defaultCheckedKeys = [this.form.standSystem];
|
||||||
this.defaultCheckedKeys1 = [this.form.cycvppsbm]
|
this.defaultCheckedKeys1 = [this.form.cycvppsbm];
|
||||||
this.defaultCheckedKeys2 = [this.form.kccvppsbm]
|
this.defaultCheckedKeys2 = [this.form.kccvppsbm];
|
||||||
this.defaultCheckedKeys3 = [this.form.dybxh]
|
this.defaultCheckedKeys3 = [this.form.dybxh];
|
||||||
|
this.treeCheckedKeys = this.form.treeListId.split(',')
|
||||||
this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN'
|
this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN'
|
||||||
this.form.standYear = this.form.standYear ? 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(",");
|
|
||||||
}
|
|
||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = item.id
|
this.form['id'] = item.id
|
||||||
|
|
||||||
|
|
||||||
|
// 遍历对象
|
||||||
|
for (const p in this.form) {
|
||||||
|
if (typeof (this.form[p]) != "function") {
|
||||||
|
this.initializeFileList(p, this.form[p]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
this.$forceUpdate()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
// getFormFieldList(item) {
|
||||||
|
// this.$nextTick(() => {
|
||||||
|
// this.form = JSON.parse(JSON.stringify(item))
|
||||||
|
// this.defaultCheckedKeys = [this.form.standSystem]
|
||||||
|
// this.defaultCheckedKeys1 = [this.form.cycvppsbm]
|
||||||
|
// 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 ? this.form.standYear : ''
|
||||||
|
// if (this.form.country !== undefined && this.form.country !== null && this.form.country !== '') {
|
||||||
|
// this.form.country = this.form.country.split(",");
|
||||||
|
// }
|
||||||
|
// this.form.prcNum = this.prcNum
|
||||||
|
// this.form.prcName = this.prcName
|
||||||
|
// this.form['id'] = item.id
|
||||||
|
// })
|
||||||
|
// },
|
||||||
initializeFileList(property, value) {
|
initializeFileList(property, value) {
|
||||||
|
console.log(property);
|
||||||
switch (property) {
|
switch (property) {
|
||||||
case 'xgd':
|
case 'xgd':
|
||||||
this.getFileList(value, this.xgdFileList);
|
this.getFileList(value, this.xgdFileList);
|
||||||
|
|||||||
Reference in New Issue
Block a user