Commit 75827e7a authored by yanglilong's avatar yanglilong

'修改'

parent 2b8b5b6b
...@@ -145,6 +145,7 @@ ...@@ -145,6 +145,7 @@
<script> <script>
import Goback from "@/components/CUSTOMER/goback"; import Goback from "@/components/CUSTOMER/goback";
import moment from "moment";
export default { export default {
props: { props: {
detailObj: { detailObj: {
...@@ -201,6 +202,8 @@ export default { ...@@ -201,6 +202,8 @@ export default {
if (valid) { if (valid) {
let formData = { let formData = {
...this.detailObj, ...this.detailObj,
startDate: this.detailObj.startDate?moment(this.detailObj.startDate).format('YYYY-MM-DD'):'',
endDate: this.detailObj.endDate?moment(this.detailObj.endDate).format('YYYY-MM-DD'):'',
claimApplicationTemplate: this.detailObj.claimApplicationTemplate.length>0? this.detailObj.claimApplicationTemplate[0].url: '', claimApplicationTemplate: this.detailObj.claimApplicationTemplate.length>0? this.detailObj.claimApplicationTemplate[0].url: '',
authApplicationTemplate: this.detailObj.authApplicationTemplate.length>0? this.detailObj.authApplicationTemplate[0].url: '', authApplicationTemplate: this.detailObj.authApplicationTemplate.length>0? this.detailObj.authApplicationTemplate[0].url: '',
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment