入库代替标准号

This commit is contained in:
shenyanpei
2022-01-11 10:26:18 +08:00
parent a9c1b12471
commit c96efba70c
4 changed files with 14 additions and 6 deletions
@@ -3673,8 +3673,9 @@ export default {
// if (field.attrField === 'XGLC' && !this.$_has('6A52PZCAX8BAUUJ2TSQ4')) {
// return
// }
console.log(displayLocation)
displayLocation.forEach((location) => {
console.log(location);
console.log(location.child)
location.isShowImp = '0'
if (dynamicFormField) {
let value = dynamicFormField[field.attrField]
@@ -3705,7 +3706,6 @@ export default {
displayLocation.forEach(location => {
// 动态属性字段-FBGBJBD 单独添加至基础信息
const list = displayLocation.filter(item => item.label === '过程稿件');
console.log('3535', list)
if (location.label === '基础信息' && list && list.length > 0) {
//发布稿必读
if (!list[0].child) {
@@ -3772,6 +3772,7 @@ export default {
}
}
})
console.log(child)
const fieldsIsTextAreaOrFile = child.filter(field => {
return field.attrType === 'TEXTAREA' || field.attrType === 'FILE'
})
@@ -3783,7 +3784,6 @@ export default {
location.half = half
location.showAll = false
})
console.log(displayLocation)
this.$http.get('sarLawsAttrDetailedList/sar-laws-attr-detailed-list', {
id: this.$route.params.id
}, {
@@ -836,6 +836,11 @@
</el-col>
<el-col :span="12">
<el-form-item label="部分代替标准号" prop="bfbdtbzh" class="add-form-item form-item-disabled">
<el-input
style="display:none;"
v-model="form.bfdtbzh"
placeholder="请输入部分代替标准号"
></el-input>
<el-input
v-model="form.bfbdtbzh"
placeholder="请输入部分代替标准号"
@@ -1574,6 +1579,7 @@ export default {
cbcd: '', // 采标程度
yybj: '', // 引用标准
bfbdtbzh: '', // 部分代替标准号
bfdtbzh: '',
byybj: '', // 被引用标准
glwj: '', // 关联文件
xglc: '', // 相关流程
@@ -2520,6 +2526,7 @@ export default {
this.form.cbbh = this.form.cbbh ? this.form.cbbh + ',' + textArr.join(',') : textArr.join(',')
} else if (this.replaceLawType === 'bfbdtbzh') {
this.form.bfbdtbzh = this.form.bfbdtbzh ? this.form.bfbdtbzh + ',' + textArr.join(',') : textArr.join(',')
this.form.bfdtbzh = this.form.bfdtbzh ? this.form.bfdtbzh + ',' + textArr.join(',') : textArr.join(',')
} else {
this.form.byybj = this.form.byybj ? this.form.byybj + ',' + textArr.join(',') : textArr.join(',')
}
@@ -899,6 +899,7 @@
jdwj: '', // 解读文件
zbjbd: '', // 增补件
bfbdtbzh: '', // 增补件
bfdtbz: '',
kwj: '', // 勘误件
caName: '', // 草案
fbgbjbdName: '', // 发布稿
@@ -1271,16 +1272,13 @@
_this: this
}, res => {
if (res.success) {
console.log("this.formTongGuo.approvalOpinion",this.formTongGuo.approvalOpinion);
if(this.formTongGuo.approvalOpinion == '1'){
console.log("shibai");
this.$message.warning("驳回成功")
this.isSubmit = false
this.formTongGuo.commentText = ''
// 流程提交之后,应该流转至待办任务页面
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
}else{
console.log("hello");
this.processCreateStand(json)
}
}
@@ -1294,6 +1292,7 @@
* @auth: chenxiaoxi
*/
processCreateStand(json) {
console.log(json)
const _formData = new FormData()
_formData.append('infoJson', json)
processCreateStand(_formData).then(res => {
@@ -1576,6 +1576,7 @@ export default {
caName: '', // 草案
fbgbjbdName: '', // 发布稿
bfbdtbzh: '', // 发布稿
bfdtbzh: '',
xgdName: '', // 修改单
bpgName: '', // 报批稿
ssgName: '', // 送审稿
@@ -1949,6 +1950,7 @@ export default {
this.form.cbbh = this.form.cbbh ? this.form.cbbh + ',' +textArr.join(',') : textArr.join(',')
}else if(this.replaceLawType === 'bfbdtbzh'){
this.form.bfbdtbzh = this.form.bfbdtbzh ? this.form.bfbdtbzh + ',' +textArr.join(',') : textArr.join(',')
this.form.bfdtbzh = this.form.bfdtbzh ? this.form.bfdtbzh + ',' + textArr.join(',') : textArr.join(',')
} else {
this.form.byybj = this.form.byybj ? this.form.byybj + ',' +textArr.join(',') : textArr.join(',')
}