|
@@ -73,6 +73,7 @@
|
|
|
|
|
|
import { httpAction, getAction } from '@/api/manage'
|
|
|
import { validateDuplicateValue } from '@/utils/util'
|
|
|
+import moment from 'moment';
|
|
|
|
|
|
export default {
|
|
|
name: 'ItdmGongdanDetailForm',
|
|
@@ -162,6 +163,9 @@ export default {
|
|
|
httpurl += this.url.edit
|
|
|
method = 'put'
|
|
|
}
|
|
|
+ this.model.shijiStartTime=moment(this.model.shijiStartTime).format("HH:mm")
|
|
|
+ this.model.shijiEndTime=moment(this.model.shijiEndTime).format("HH:mm")
|
|
|
+
|
|
|
httpAction(httpurl, this.model, method).then((res) => {
|
|
|
if (res.success) {
|
|
|
that.$message.success(res.message)
|