bug
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<!--
|
||||
* @Author: zhp
|
||||
* @Date: 2024-04-17 16:31:51
|
||||
* @LastEditTime: 2024-06-17 16:55:04
|
||||
* @LastEditTime: 2024-06-24 15:43:50
|
||||
* @LastEditors: DY
|
||||
* @Description:
|
||||
-->
|
||||
@@ -375,7 +375,12 @@ export default {
|
||||
this.visible = true
|
||||
if (this.dataForm.id) {
|
||||
getProduceTargetDetail(this.dataForm.id).then(res => {
|
||||
this.dataForm = res.data
|
||||
// this.dataForm = res.data
|
||||
for (const i in res.data) {
|
||||
if (res.data[i] !== null) {
|
||||
this.dataForm[i] = res.data[i]
|
||||
}
|
||||
}
|
||||
if (this.dataForm.targetType === 0 || this.dataForm.targetType === 2 || this.dataForm.targetType === 3) {
|
||||
// this.dataForm.reportTime = String(this.dataForm.targetTime)
|
||||
this.$set(this.dataForm, 'reportTime', String(this.dataForm.targetTime))
|
||||
|
||||
Reference in New Issue
Block a user