feat: There is no way the, 当年制定、当年修定才加X (代替企标编号 必填)
This commit is contained in:
@@ -339,6 +339,7 @@
|
||||
<el-input
|
||||
v-model="form.DTQBBHBUSS"
|
||||
placeholder="请输入代替标准号"
|
||||
readonly="readonly"
|
||||
clearable
|
||||
></el-input>
|
||||
<el-button
|
||||
@@ -353,6 +354,7 @@
|
||||
<el-input
|
||||
v-model="form.CYBZ"
|
||||
placeholder="请输入采用标准"
|
||||
readonly="readonly"
|
||||
clearable
|
||||
></el-input>
|
||||
<el-button
|
||||
@@ -367,6 +369,7 @@
|
||||
<el-input
|
||||
v-model="form.YYBZ"
|
||||
placeholder="请输入引用标准"
|
||||
readonly="readonly"
|
||||
clearable
|
||||
></el-input>
|
||||
<el-button
|
||||
|
||||
@@ -1515,6 +1515,9 @@
|
||||
QCRBUSS: [
|
||||
{ required: true, message: '请选择起草人', trigger: 'change' }
|
||||
],
|
||||
DTQBBHBUSS: [
|
||||
{ required: true, message: '请选择代替企标编号', trigger: 'change' }
|
||||
],
|
||||
},
|
||||
zrUserIds: [], // 选择多个会签责任人
|
||||
userType:'', // 选择用户ID判断
|
||||
|
||||
@@ -993,6 +993,9 @@
|
||||
QCRBUSS: [
|
||||
{ required: true, message: '请选择起草人', trigger: 'change' }
|
||||
],
|
||||
DTQBBHBUSS: [
|
||||
{ required: true, message: '请选择代替企标编号', trigger: 'change' }
|
||||
],
|
||||
},
|
||||
zrUserIds: [], // 选择多个会签责任人
|
||||
userType:'', // 选择用户ID判断
|
||||
@@ -1846,12 +1849,13 @@
|
||||
})
|
||||
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
|
||||
// 解决 标准入库流程--圈住的字段,先手动输入,然后再手动查找,点提交就会把手动输入的标准号覆盖
|
||||
if(this.replaceLawType === 'dtbjh'){
|
||||
this.form.dtbjh = this.form.dtbjh ? this.form.dtbjh + ',' + textArr.join(',') : textArr.join(',')
|
||||
}else if(this.replaceLawType === 'yybj'){
|
||||
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(',')
|
||||
if(this.replaceLawType === 'DTQBBHBUSS'){
|
||||
this.form.DTQBBHBUSS = this.form.DTQBBHBUSS ? this.form.DTQBBHBUSS + ',' + textArr.join(',') : textArr.join(',')
|
||||
this.getStandInfoByReviseStatus()
|
||||
}else if(this.replaceLawType === 'CYBZ'){
|
||||
this.form.CYBZ = this.form.CYBZ ? this.form.CYBZ + ',' +textArr.join(',') : textArr.join(',')
|
||||
}else if(this.replaceLawType === 'YYBZ'){
|
||||
this.form.YYBZ = this.form.YYBZ ? this.form.YYBZ + ',' +textArr.join(',') : textArr.join(',')
|
||||
}else if(this.replaceLawType === 'bfbdtbzh'){
|
||||
this.form.bfbdtbzh = this.form.bfbdtbzh ? this.form.bfbdtbzh + ',' +textArr.join(',') : textArr.join(',')
|
||||
}else {
|
||||
@@ -2338,38 +2342,42 @@
|
||||
// this.form.country = []
|
||||
// }
|
||||
this.fileInfoHandle()
|
||||
this.$refs['formTongGuo'].validate((valid) => {
|
||||
this.$refs['form'].validate((valid) => {
|
||||
if (valid) {
|
||||
this.isSubmit = true
|
||||
this.form.commentText = this.formTongGuo.commentText
|
||||
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
|
||||
this.form.topId = this.pId
|
||||
const json = JSON.stringify(this.form);
|
||||
this.$http.post('lawss/activiti/completeTask', {
|
||||
taskIds: this.taskIds,
|
||||
userId : this.userId,
|
||||
json: json
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
if (res.success) {
|
||||
// this.$message.success(res.message)
|
||||
// 流程提交之后,应该流转至待办任务页面
|
||||
this.isSubmit = false
|
||||
this.processCreateBuss(json)
|
||||
// if(this.formTongGuo.approvalOpinion === '1'){
|
||||
// this.$message.warning("驳回成功")
|
||||
// this.isSubmit = false
|
||||
// // 流程提交之后,应该流转至待办任务页面
|
||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||
// }else{
|
||||
// this.processCreateLaws(json)
|
||||
// }
|
||||
}else {
|
||||
this.$message.success(res.message)
|
||||
}
|
||||
})
|
||||
}})
|
||||
this.$refs['formTongGuo'].validate((valid) => {
|
||||
if (valid) {
|
||||
this.isSubmit = true
|
||||
this.form.commentText = this.formTongGuo.commentText
|
||||
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
|
||||
this.form.topId = this.pId
|
||||
const json = JSON.stringify(this.form);
|
||||
this.$http.post('lawss/activiti/completeTask', {
|
||||
taskIds: this.taskIds,
|
||||
userId : this.userId,
|
||||
json: json
|
||||
}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
if (res.success) {
|
||||
// this.$message.success(res.message)
|
||||
// 流程提交之后,应该流转至待办任务页面
|
||||
this.isSubmit = false
|
||||
this.processCreateBuss(json)
|
||||
// if(this.formTongGuo.approvalOpinion === '1'){
|
||||
// this.$message.warning("驳回成功")
|
||||
// this.isSubmit = false
|
||||
// // 流程提交之后,应该流转至待办任务页面
|
||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||
// }else{
|
||||
// this.processCreateLaws(json)
|
||||
// }
|
||||
}else {
|
||||
this.$message.success(res.message)
|
||||
}
|
||||
})
|
||||
}})
|
||||
}
|
||||
})
|
||||
},
|
||||
async saveConfStand(standId) {
|
||||
if(this.form.menuId && this.form.menuId !== ''){
|
||||
@@ -2541,7 +2549,7 @@
|
||||
let standSn = (obj === null || obj.newStandSn === null) ? '001' : obj.newStandSn
|
||||
this.form.standSn = standSn
|
||||
this.form.standNumber = standSn
|
||||
this.form.standYear = year // 待带入立项标准
|
||||
this.form.standYear = this.regDate(year) // 待带入立项标准
|
||||
this.form.standCode = this.form.standSort + ' ' + standSn + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
}, e => {
|
||||
})
|
||||
|
||||
@@ -1901,10 +1901,10 @@
|
||||
// 解决 标准入库流程--圈住的字段,先手动输入,然后再手动查找,点提交就会把手动输入的标准号覆盖
|
||||
if(this.replaceLawType === 'DTQBBHBUSS'){
|
||||
this.form.DTQBBHBUSS = this.form.DTQBBHBUSS ? this.form.DTQBBHBUSS + ',' + textArr.join(',') : textArr.join(',')
|
||||
}else if(this.replaceLawType === 'yybj'){
|
||||
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 if(this.replaceLawType === 'CYBZ'){
|
||||
this.form.CYBZ = this.form.CYBZ ? this.form.CYBZ + ',' +textArr.join(',') : textArr.join(',')
|
||||
}else if(this.replaceLawType === 'YYBZ'){
|
||||
this.form.YYBZ = this.form.YYBZ ? this.form.YYBZ + ',' +textArr.join(',') : textArr.join(',')
|
||||
}else if(this.replaceLawType === 'bfbdtbzh'){
|
||||
this.form.bfbdtbzh = this.form.bfbdtbzh ? this.form.bfbdtbzh + ',' +textArr.join(',') : textArr.join(',')
|
||||
}else {
|
||||
|
||||
@@ -1283,6 +1283,9 @@
|
||||
QCRBUSS: [
|
||||
{ required: true, message: '请选择起草人', trigger: 'change' }
|
||||
],
|
||||
DTQBBHBUSS: [
|
||||
{ required: true, message: '请选择代替企标编号', trigger: 'change' }
|
||||
],
|
||||
},
|
||||
zrUserIds: [], // 选择多个会签责任人
|
||||
userType:'', // 选择用户ID判断
|
||||
@@ -2245,10 +2248,10 @@
|
||||
// 解决 标准入库流程--圈住的字段,先手动输入,然后再手动查找,点提交就会把手动输入的标准号覆盖
|
||||
if(this.replaceLawType === 'DTQBBHBUSS'){
|
||||
this.form.DTQBBHBUSS = this.form.DTQBBHBUSS ? this.form.DTQBBHBUSS + ',' + textArr.join(',') : textArr.join(',')
|
||||
}else if(this.replaceLawType === 'yybj'){
|
||||
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 if(this.replaceLawType === 'CYBZ'){
|
||||
this.form.CYBZ = this.form.CYBZ ? this.form.CYBZ + ',' +textArr.join(',') : textArr.join(',')
|
||||
}else if(this.replaceLawType === 'YYBZ'){
|
||||
this.form.YYBZ = this.form.YYBZ ? this.form.YYBZ + ',' +textArr.join(',') : textArr.join(',')
|
||||
}else if(this.replaceLawType === 'bfbdtbzh'){
|
||||
this.form.bfbdtbzh = this.form.bfbdtbzh ? this.form.bfbdtbzh + ',' +textArr.join(',') : textArr.join(',')
|
||||
}else {
|
||||
|
||||
@@ -1117,6 +1117,9 @@
|
||||
QCRBUSS: [
|
||||
{ required: true, message: '请选择起草人', trigger: 'change' }
|
||||
],
|
||||
DTQBBHBUSS: [
|
||||
{ required: true, message: '请选择代替企标编号', trigger: 'change' }
|
||||
],
|
||||
},
|
||||
zrUserIds: [], // 选择多个会签责任人
|
||||
userType:'', // 选择用户ID判断
|
||||
@@ -2103,12 +2106,12 @@
|
||||
})
|
||||
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
|
||||
// 解决 标准入库流程--圈住的字段,先手动输入,然后再手动查找,点提交就会把手动输入的标准号覆盖
|
||||
if(this.replaceLawType === 'dtbjh'){
|
||||
this.form.dtbjh = this.form.dtbjh ? this.form.dtbjh + ',' + textArr.join(',') : textArr.join(',')
|
||||
}else if(this.replaceLawType === 'yybj'){
|
||||
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(',')
|
||||
if(this.replaceLawType === 'DTQBBHBUSS'){
|
||||
this.form.DTQBBHBUSS = this.form.DTQBBHBUSS ? this.form.DTQBBHBUSS + ',' + textArr.join(',') : textArr.join(',')
|
||||
}else if(this.replaceLawType === 'CYBZ'){
|
||||
this.form.CYBZ = this.form.CYBZ ? this.form.CYBZ + ',' +textArr.join(',') : textArr.join(',')
|
||||
}else if(this.replaceLawType === 'YYBZ'){
|
||||
this.form.YYBZ = this.form.YYBZ ? this.form.YYBZ + ',' +textArr.join(',') : textArr.join(',')
|
||||
}else if(this.replaceLawType === 'bfbdtbzh'){
|
||||
this.form.bfbdtbzh = this.form.bfbdtbzh ? this.form.bfbdtbzh + ',' +textArr.join(',') : textArr.join(',')
|
||||
}else {
|
||||
|
||||
@@ -1034,6 +1034,9 @@
|
||||
QCRBUSS: [
|
||||
{ required: true, message: '请选择起草人', trigger: 'change' }
|
||||
],
|
||||
DTQBBHBUSS: [
|
||||
{ required: true, message: '请选择代替企标编号', trigger: 'change' }
|
||||
],
|
||||
},
|
||||
zrUserIds: [], // 选择多个会签责任人
|
||||
userType:'', // 选择用户ID判断
|
||||
@@ -1901,10 +1904,10 @@
|
||||
// 解决 标准入库流程--圈住的字段,先手动输入,然后再手动查找,点提交就会把手动输入的标准号覆盖
|
||||
if(this.replaceLawType === 'DTQBBHBUSS'){
|
||||
this.form.DTQBBHBUSS = this.form.DTQBBHBUSS ? this.form.DTQBBHBUSS + ',' + textArr.join(',') : textArr.join(',')
|
||||
}else if(this.replaceLawType === 'yybj'){
|
||||
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 if(this.replaceLawType === 'CYBZ'){
|
||||
this.form.CYBZ = this.form.CYBZ ? this.form.CYBZ + ',' +textArr.join(',') : textArr.join(',')
|
||||
}else if(this.replaceLawType === 'YYBZ'){
|
||||
this.form.YYBZ = this.form.YYBZ ? this.form.YYBZ + ',' +textArr.join(',') : textArr.join(',')
|
||||
}else if(this.replaceLawType === 'bfbdtbzh'){
|
||||
this.form.bfbdtbzh = this.form.bfbdtbzh ? this.form.bfbdtbzh + ',' +textArr.join(',') : textArr.join(',')
|
||||
}else {
|
||||
|
||||
@@ -1283,6 +1283,9 @@
|
||||
QCRBUSS: [
|
||||
{ required: true, message: '请选择起草人', trigger: 'change' }
|
||||
],
|
||||
DTQBBHBUSS: [
|
||||
{ required: true, message: '请选择代替企标编号', trigger: 'change' }
|
||||
],
|
||||
},
|
||||
zrUserIds: [], // 选择多个会签责任人
|
||||
userType:'', // 选择用户ID判断
|
||||
@@ -2245,10 +2248,10 @@
|
||||
// 解决 标准入库流程--圈住的字段,先手动输入,然后再手动查找,点提交就会把手动输入的标准号覆盖
|
||||
if(this.replaceLawType === 'DTQBBHBUSS'){
|
||||
this.form.DTQBBHBUSS = this.form.DTQBBHBUSS ? this.form.DTQBBHBUSS + ',' + textArr.join(',') : textArr.join(',')
|
||||
}else if(this.replaceLawType === 'yybj'){
|
||||
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 if(this.replaceLawType === 'CYBZ'){
|
||||
this.form.CYBZ = this.form.CYBZ ? this.form.CYBZ + ',' +textArr.join(',') : textArr.join(',')
|
||||
}else if(this.replaceLawType === 'YYBZ'){
|
||||
this.form.YYBZ = this.form.YYBZ ? this.form.YYBZ + ',' +textArr.join(',') : textArr.join(',')
|
||||
}else if(this.replaceLawType === 'bfbdtbzh'){
|
||||
this.form.bfbdtbzh = this.form.bfbdtbzh ? this.form.bfbdtbzh + ',' +textArr.join(',') : textArr.join(',')
|
||||
}else {
|
||||
|
||||
Reference in New Issue
Block a user