入库流程调整字段大小 国家地区保存消失

This commit is contained in:
宋伟佳
2022-05-12 10:25:33 +08:00
parent 83c17a4695
commit c0053f2322
5 changed files with 21 additions and 22 deletions
@@ -958,6 +958,7 @@
<el-form-item label="引用标准" prop="yybj" class="add-form-item form-item-disabled">
<el-tooltip v-if="form.yybj" effect="dark" :content=form.yybj placement="top-start">
<el-input
type="textarea"
v-model="form.yybj"
placeholder="请输入引用标准"
clearable
@@ -965,6 +966,7 @@
</el-tooltip>
<el-input
v-else
type="textarea"
v-model="form.yybj"
placeholder="请输入引用标准"
clearable
@@ -3200,7 +3202,7 @@ export default {
handleSave() {
//文件处理
this.fileInfoHandle();
this.form.country = this.countryArr;
// this.form.country = this.countryArr;
// if(item.country !== undefined && item.country !== null){
// this.sarStandardsInfoEO.country = item.country.split(",");
// }
@@ -3228,7 +3230,6 @@ export default {
this.saveLoading = false
this.$message.success('保存成功')
this.bpnId = res.result
this.$router.push({path: '/processCenter?tabsName=ProcessCenter'})
}).catch(e => {
this.saveLoading = false
})
@@ -3295,7 +3296,7 @@ export default {
if (res.ok) {
this.fileInfoHandle()
this.isSubmit = true
this.form.country = this.countryArr;
// this.form.country = this.countryArr;
var json = Object.assign(this.form, this.roleForm)
json.zrUserId = this.form.zrUserId
json.jlUserId = this.form.jlUserId
@@ -3354,7 +3355,7 @@ export default {
} else {
this.fileInfoHandle()
this.isSubmit = true
this.form.country = this.countryArr;
// this.form.country = this.countryArr;
var json = Object.assign(this.form, this.roleForm)
json.zrUserId = this.form.zrUserId
json.jlUserId = this.form.jlUserId
@@ -3487,6 +3488,9 @@ export default {
/deep/ .prc-content-border .form-item-disabled .el-form-item__content .el-input .el-input__inner {
width: 100%;
}
/deep/.el-form-item__content .el-textarea .el-textarea__inner {
width: 94%;
}
/deep/ .search-area {
display: contents;
@@ -627,6 +627,7 @@
<el-form-item label="引用标准" prop="yybj" class="add-form-item form-item-disabled">
<el-tooltip v-if="form.yybj" effect="dark" :content=form.yybj placement="top-start">
<el-input
type="textarea"
v-model="form.yybj"
disabled
placeholder="请输入引用标准"
@@ -635,6 +636,7 @@
</el-tooltip>
<el-input
v-else
type="textarea"
disabled
v-model="form.yybj"
placeholder="请输入引用标准"
@@ -1236,16 +1238,6 @@ export default {
this.handleSubmit();
},
handleSubmit() {
const val = this.form.country;
if (val !== "" && val !== null && typeof (val) !== "undefined") {
if (val instanceof Array) {
this.form.country = val.join(",");
} else {
this.form.country = val;
}
} else if (val === "") {
this.form.country = [];
}
this.isSubmit = true;
this.form.commentText = this.commentText;
this.form.approvalOpinion = this.formTongGuo.approvalOpinion;
@@ -604,6 +604,7 @@
<el-form-item label="引用标准" prop="yybj" class="add-form-item form-item-disabled">
<el-tooltip v-if="form.yybj" effect="dark" :content=form.yybj placement="top-start">
<el-input
type="textarea"
v-model="form.yybj"
disabled
placeholder="请输入引用标准"
@@ -612,6 +613,7 @@
</el-tooltip>
<el-input
v-else
type="textarea"
disabled
v-model="form.yybj"
placeholder="请输入引用标准"
@@ -1140,6 +1142,7 @@ export default {
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.form.country = this.form.country && this.form.country !== [] ? this.form.country: ''
this.defaultCheckedKeys = [this.form.standSystem]
this.defaultCheckedKeys1 = [this.form.cycvppsbm]
this.defaultCheckedKeys2 = [this.form.kccvppsbm]
@@ -1148,10 +1151,6 @@ export default {
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 !== ''){
this.form.country=this.form.country.split(",");
}
this.form['id'] = item.id
this.$forceUpdate()
})
@@ -1212,6 +1212,7 @@
<el-form-item label="引用标准" prop="yybj" class="add-form-item form-item-disabled">
<el-tooltip v-if="form.yybj" effect="dark" :content=form.yybj placement="top-start">
<el-input
type="textarea"
v-model="form.yybj"
placeholder="请输入引用标准"
clearable
@@ -1219,6 +1220,7 @@
</el-tooltip>
<el-input
v-else
type="textarea"
v-model="form.yybj"
placeholder="请输入引用标准"
clearable
@@ -2648,7 +2650,7 @@ export default {
this.form.prcNum = this.prcNum
this.form.prcName = this.prcName
this.form['id'] = item.id
if (this.form.country) {
if (typeof this.form.country === "string") {
this.form.country = this.form.country.split(",");
}
this.$forceUpdate()
@@ -2764,7 +2766,6 @@ export default {
handleSave() {
//表单文件处理
this.fileInfoHandle();
this.form.country = this.countryArr;
this.form.commentText = this.commentText;
this.saveLoading = true
let _formData = new FormData()
@@ -2826,7 +2827,6 @@ export default {
this.form.glwjName = this.glwjFileList.map(item => item.name).join(",")
},
handleSubmit() {
this.form.country = this.countryArr;
this.$refs['form'].validate((valid) => {
if (valid) {
if (this.submitType === 1) {
@@ -3001,7 +3001,9 @@ export default {
/deep/ .prc-content-border .form-item-disabled .el-form-item__content .el-input .el-input__inner {
width: 70%;
}
/deep/.el-form-item__content .el-textarea .el-textarea__inner {
width: 94%;
}
/deep/ .el-upload-list__item-name {
white-space: inherit;
}
@@ -627,6 +627,7 @@
<el-form-item label="引用标准" prop="yybj" class="add-form-item form-item-disabled">
<el-tooltip v-if="form.yybj" effect="dark" :content=form.yybj placement="top-start">
<el-input
type="textarea"
v-model="form.yybj"
disabled
placeholder="请输入引用标准"
@@ -636,6 +637,7 @@
<el-input
v-else
disabled
type="textarea"
v-model="form.yybj"
placeholder="请输入引用标准"
clearable