Browse Source

完善维修单

zhanglei
yunuo970428 6 months ago
parent
commit
d796ddf086
  1. 7
      yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue

7
yxt-as-ui/src/views/operation/repairbill/repairbillAdd.vue

@ -1023,9 +1023,14 @@ export default {
var date = {
year: nowDate.getFullYear(),
month: nowDate.getMonth() + 1,
day: nowDate.getDate()
day: nowDate.getDate(),
hours: nowDate.getHours(),
minutes: nowDate.getMinutes(),
seconds: nowDate.getSeconds()
}
this.formobj.createDate = date.year + '-' + (date.month >= 10 ? date.month : '0' + date.month) + '-' + (date.day >= 10 ? date.day : '0' + date.day)
this.formobj.entryTime = date.year + '-' + (date.month >= 10 ? date.month : '0' + date.month) + '-' + (date.day >= 10 ? date.day : '0' + date.day) + ' ' + date.hours + ':' + (date.minutes >= 10 ? date.minutes : '0' + date.minutes) + ':' + (date.seconds >= 10 ? date.seconds : '0' + date.seconds)
this.formobj.estimatedFinishTime = date.year + '-' + (date.month >= 10 ? date.month : '0' + date.month) + '-' + (date.day >= 10 ? date.day : '0' + date.day) + ' ' + date.hours + ':' + (date.minutes >= 10 ? date.minutes : '0' + date.minutes) + ':' + (date.seconds >= 10 ? date.seconds : '0' + date.seconds)
this.formobj.isSpecialSign = '0'
this.formobj.isGoOut = '2'
this.formobj.nodeCode = '1'

Loading…
Cancel
Save