bug:
1、标准入库流程--圈住的字段,先手动输入,然后再手动查找,点提交就会把手动输入的标准号覆盖 2、标准入库流程--采标编号也应该支持手动查找和手动输入
This commit is contained in:
@@ -733,6 +733,13 @@
|
|||||||
placeholder="请输入采标编号"
|
placeholder="请输入采标编号"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
class="common-button-primary"
|
||||||
|
size="mini"
|
||||||
|
style="position:absolute;top: 10px;right: 0;"
|
||||||
|
@click="selectLaws('cbbh'),config.attrName = '采标编号'"
|
||||||
|
>{{'手动查找'}}</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- <el-form-item label="被引用标准" prop="byybj" class="add-form-item form-item-disabled">-->
|
<!-- <el-form-item label="被引用标准" prop="byybj" class="add-form-item form-item-disabled">-->
|
||||||
<!-- <el-input-->
|
<!-- <el-input-->
|
||||||
@@ -1841,10 +1848,13 @@
|
|||||||
this.replaceLawsNumModel = false
|
this.replaceLawsNumModel = false
|
||||||
})
|
})
|
||||||
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
|
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
|
||||||
|
// 解决 标准入库流程--圈住的字段,先手动输入,然后再手动查找,点提交就会把手动输入的标准号覆盖
|
||||||
if(this.replaceLawType === 'dtbjh'){
|
if(this.replaceLawType === 'dtbjh'){
|
||||||
this.form.dtbjh = textArr.join(',')
|
this.form.dtbjh = this.form.dtbjh ? this.form.dtbjh + ',' + textArr.join(',') : textArr.join(',')
|
||||||
}else if(this.replaceLawType === 'yybj'){
|
}else if(this.replaceLawType === 'yybj'){
|
||||||
this.form.yybj = textArr.join(',')
|
this.form.yybj = this.form.yybj ? this.form.yybj + ',' +textArr.join(',') : textArr.join(',')
|
||||||
|
}else if(this.replaceLawType === 'cbbh'){
|
||||||
|
this.form.cbbh = this.form.cbbh ? this.form.cbbh + ',' +textArr.join(',') : textArr.join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.byybj = textArr.join(',')
|
this.form.byybj = textArr.join(',')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -718,6 +718,13 @@
|
|||||||
placeholder="请输入采标编号"
|
placeholder="请输入采标编号"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
class="common-button-primary"
|
||||||
|
size="mini"
|
||||||
|
style="position:absolute;top: 10px;right: 0;"
|
||||||
|
@click="selectLaws('cbbh'),config.attrName = '采标编号'"
|
||||||
|
>{{'手动查找'}}</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="被引用标准" prop="byybj" class="add-form-item form-item-disabled">
|
<el-form-item label="被引用标准" prop="byybj" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
@@ -1398,10 +1405,13 @@ export default {
|
|||||||
this.replaceLawsNumModel = false
|
this.replaceLawsNumModel = false
|
||||||
})
|
})
|
||||||
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
|
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
|
||||||
|
// 解决 标准入库流程--圈住的字段,先手动输入,然后再手动查找,点提交就会把手动输入的标准号覆盖
|
||||||
if(this.replaceLawType === 'dtbjh'){
|
if(this.replaceLawType === 'dtbjh'){
|
||||||
this.form.dtbjh = textArr.join(',')
|
this.form.dtbjh = this.form.dtbjh ? this.form.dtbjh + ',' + textArr.join(',') : textArr.join(',')
|
||||||
}else if(this.replaceLawType === 'yybj'){
|
}else if(this.replaceLawType === 'yybj'){
|
||||||
this.form.yybj = textArr.join(',')
|
this.form.yybj = this.form.yybj ? this.form.yybj + ',' +textArr.join(',') : textArr.join(',')
|
||||||
|
}else if(this.replaceLawType === 'cbbh'){
|
||||||
|
this.form.cbbh = this.form.cbbh ? this.form.cbbh + ',' +textArr.join(',') : textArr.join(',')
|
||||||
}else {
|
}else {
|
||||||
this.form.byybj = textArr.join(',')
|
this.form.byybj = textArr.join(',')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user