[update] 修改bug80938
This commit is contained in:
+3
-3
@@ -850,9 +850,9 @@ export default {
|
|||||||
this.model = Object.assign({}, record)
|
this.model = Object.assign({}, record)
|
||||||
const formInline = Object.assign({}, record)
|
const formInline = Object.assign({}, record)
|
||||||
// 没有年代号就设置为当前年份
|
// 没有年代号就设置为当前年份
|
||||||
if (!formInline.decadeCode) {
|
// if (!formInline.decadeCode) {
|
||||||
formInline.decadeCode = new Date().getFullYear() + ''
|
// formInline.decadeCode = new Date().getFullYear() + ''
|
||||||
}
|
// }
|
||||||
// 处理隶属工作组格式
|
// 处理隶属工作组格式
|
||||||
if (formInline.workGroup) {
|
if (formInline.workGroup) {
|
||||||
formInline.workGroup = { value: formInline.workGroup, label: formInline.workGroup_dictText }
|
formInline.workGroup = { value: formInline.workGroup, label: formInline.workGroup_dictText }
|
||||||
|
|||||||
+3
-3
@@ -933,9 +933,9 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 没有年代号就设置为当前年份
|
// 没有年代号就设置为当前年份
|
||||||
if (!formInline.decadeCode) {
|
// if (!formInline.decadeCode) {
|
||||||
formInline.decadeCode = new Date().getFullYear() + ''
|
// formInline.decadeCode = new Date().getFullYear() + ''
|
||||||
}
|
// }
|
||||||
// 没有申请类型就设置为立项
|
// 没有申请类型就设置为立项
|
||||||
if (!formInline.applicationType) {
|
if (!formInline.applicationType) {
|
||||||
formInline.applicationType = this.ApplicationCategory.INITIATION.value
|
formInline.applicationType = this.ApplicationCategory.INITIATION.value
|
||||||
|
|||||||
Reference in New Issue
Block a user