52744 标准入库流程 流程发起,保存草稿发起,批准节点驳回 国家地区丢失20220511095157535
This commit is contained in:
@@ -72,6 +72,31 @@
|
||||
value-format="yyyy-MM-dd">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item v-if="verifySarStandard" label="归档位置" prop="treeListName" class="add-form-item form-item-disabled">
|
||||
<el-tooltip effect="dark" :content=form.treeListName placement="top-start">
|
||||
<el-input
|
||||
v-show="false"
|
||||
v-model="form.treeListId"
|
||||
></el-input>
|
||||
<el-input
|
||||
v-model="form.treeListName"
|
||||
clearable
|
||||
placeholder="选择归档位置"
|
||||
@click.native="choiceTree('treeListName', '归档位置', form.treeListName)">
|
||||
</el-input>
|
||||
</el-tooltip>
|
||||
<tree-select-stand
|
||||
:key="key"
|
||||
:multiple=true
|
||||
:lazy=false
|
||||
:checkStrictly=true
|
||||
:modalShowFlag="modalShowTree"
|
||||
:drawerTitle="drawerTitle"
|
||||
width="800"
|
||||
:data="treeListOptions"
|
||||
:defaultProps="defaultProps" :checkedKeys="treeCheckedKeys"
|
||||
:nodeKey="nodeKey" @popoverHide="treeHide" @popoverHideCancel="treeHideCancel"></tree-select-stand>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item v-show="form.standInData === '1'" label="国家/地区" prop="country" class="add-form-item form-item-disabled">
|
||||
@@ -153,31 +178,6 @@
|
||||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item v-if="verifySarStandard" label="归档位置" prop="treeListName" class="add-form-item form-item-disabled">
|
||||
<el-tooltip effect="dark" :content=form.treeListName placement="top-start">
|
||||
<el-input
|
||||
v-show="false"
|
||||
v-model="form.treeListId"
|
||||
></el-input>
|
||||
<el-input
|
||||
v-model="form.treeListName"
|
||||
clearable
|
||||
placeholder="选择归档位置"
|
||||
@click.native="choiceTree('treeListName', '归档位置', form.treeListName)">
|
||||
</el-input>
|
||||
</el-tooltip>
|
||||
<tree-select-stand
|
||||
:key="key"
|
||||
:multiple=true
|
||||
:lazy=false
|
||||
:checkStrictly=true
|
||||
:modalShowFlag="modalShowTree"
|
||||
:drawerTitle="drawerTitle"
|
||||
width="800"
|
||||
:data="treeListOptions"
|
||||
:defaultProps="defaultProps" :checkedKeys="treeCheckedKeys"
|
||||
:nodeKey="nodeKey" @popoverHide="treeHide" @popoverHideCancel="treeHideCancel"></tree-select-stand>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="标准英文名称" prop="standEnName" class="add-form-item form-item-disabled">
|
||||
@@ -2111,21 +2111,25 @@ export default {
|
||||
* @description: 动态表单读取
|
||||
*/
|
||||
getFormFieldList(item) {
|
||||
console.log(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(',')
|
||||
if (this.form.treeListId) {
|
||||
this.treeCheckedKeys = this.form.treeListId.split(',')
|
||||
}
|
||||
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 !== '') {
|
||||
if (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
|
||||
console.log(this.form);
|
||||
|
||||
// 遍历对象初始化文件信息
|
||||
for (const p in this.form) {
|
||||
@@ -3224,6 +3228,7 @@ export default {
|
||||
this.saveLoading = false
|
||||
this.$message.success('保存成功')
|
||||
this.bpnId = res.result
|
||||
this.$router.push({path: '/processCenter?tabsName=ProcessCenter'})
|
||||
}).catch(e => {
|
||||
this.saveLoading = false
|
||||
})
|
||||
|
||||
@@ -1180,17 +1180,17 @@ export default {
|
||||
this.form = JSON.parse(JSON.stringify(item))
|
||||
let wssmrName = this.form.wssmrname || this.form.wssmr
|
||||
this.form.wssmr = wssmrName
|
||||
this.form.sycpx = this.form.sycpx && this.form.sycpx !== [] ? this.form.sycpx.split(',') : ''
|
||||
this.form.nylx = this.form.nylx && this.form.nylx !== [] ? this.form.nylx.split(',') : ''
|
||||
this.form.cllx = this.form.cllx && this.form.cllx !== [] ? this.form.cllx.split(',') : ''
|
||||
this.form.syrz = this.form.syrz && this.form.syrz !== [] ? this.form.syrz.split(',') : ''
|
||||
this.form.sycpx = this.form.sycpx && this.form.sycpx !== [] ? this.form.sycpx : ''
|
||||
this.form.nylx = this.form.nylx && this.form.nylx !== [] ? this.form.nylx : ''
|
||||
this.form.cllx = this.form.cllx && this.form.cllx !== [] ? this.form.cllx: ''
|
||||
this.form.syrz = this.form.syrz && this.form.syrz !== [] ? this.form.syrz : ''
|
||||
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 !== '') {
|
||||
if (this.form.country) {
|
||||
this.form.country = this.form.country.split(",");
|
||||
}
|
||||
this.form.prcNum = this.prcNum
|
||||
|
||||
@@ -1136,10 +1136,10 @@ export default {
|
||||
this.form = JSON.parse(JSON.stringify(item))
|
||||
let wssmrName = this.form.wssmrname || this.form.wssmr
|
||||
this.form.wssmr = wssmrName
|
||||
this.form.sycpx = this.form.sycpx && this.form.sycpx !== [] ? this.form.sycpx.split(',') : ''
|
||||
this.form.nylx = this.form.nylx && this.form.nylx !== [] ? this.form.nylx.split(',') : ''
|
||||
this.form.cllx = this.form.cllx && this.form.cllx !== [] ? this.form.cllx.split(',') : ''
|
||||
this.form.syrz = this.form.syrz && this.form.syrz !== [] ? this.form.syrz.split(',') : ''
|
||||
this.form.sycpx = this.form.sycpx && this.form.sycpx !== [] ? this.form.sycpx : ''
|
||||
this.form.nylx = this.form.nylx && this.form.nylx !== [] ? this.form.nylx : ''
|
||||
this.form.cllx = this.form.cllx && this.form.cllx !== [] ? this.form.cllx: ''
|
||||
this.form.syrz = this.form.syrz && this.form.syrz !== [] ? this.form.syrz: ''
|
||||
this.defaultCheckedKeys = [this.form.standSystem]
|
||||
this.defaultCheckedKeys1 = [this.form.cycvppsbm]
|
||||
this.defaultCheckedKeys2 = [this.form.kccvppsbm]
|
||||
|
||||
@@ -2648,7 +2648,9 @@ export default {
|
||||
this.form.prcNum = this.prcNum
|
||||
this.form.prcName = this.prcName
|
||||
this.form['id'] = item.id
|
||||
this.form.country = item.country.split(',')
|
||||
if (this.form.country) {
|
||||
this.form.country = this.form.country.split(",");
|
||||
}
|
||||
this.$forceUpdate()
|
||||
})
|
||||
},
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user