bug: 海外标准入库新增后,再次编辑提交后,实施日期都变成了1910-01-01号
This commit is contained in:
@@ -2756,7 +2756,7 @@ export default {
|
|||||||
const value = nowstandinfo[item.attrField]
|
const value = nowstandinfo[item.attrField]
|
||||||
// 时间格式处理
|
// 时间格式处理
|
||||||
if (item.attrType === 'DATE_PICKER' && value) {
|
if (item.attrType === 'DATE_PICKER' && value) {
|
||||||
nowstandinfo[item.attrField] = this.$dateFormat(this.sarStandardsInfoEO[item.attrField], 'yyyy-MM-dd hh:mm:ss')
|
nowstandinfo[item.attrField] = this.sarStandardsInfoEO[item.attrField]
|
||||||
}
|
}
|
||||||
// 数组处理
|
// 数组处理
|
||||||
if (item.attrType === 'SEL_OPTION' || item.attrType === 'SEL_OPTS') {
|
if (item.attrType === 'SEL_OPTION' || item.attrType === 'SEL_OPTS') {
|
||||||
|
|||||||
Reference in New Issue
Block a user