yujk 3 lat temu
rodzic
commit
7a7ea6cb5e
1 zmienionych plików z 7 dodań i 1 usunięć
  1. +7
    -1
      pages/project/add/add.js

+ 7
- 1
pages/project/add/add.js Wyświetl plik

@@ -12,7 +12,9 @@ Page({
showStartTime:false,
showEndTime:false,
ynProjcetStatusOptions:[],
form:{},
form:{
},
id:"",
ynProjcetStatusindex:0,
status:0,
@@ -47,6 +49,10 @@ Page({
})
}else{
let that = this
this.setData({
'form.startTime':this.getNewDate(new Date()),
'form.endTime':this.getNewDate(new Date())
});
UTIL.httpRequest(API.URL_GET_GETDICTTYPE + 'yn_projcet_status', {method:'GET'}, {
success: (r) => {
if(r.data.length>0){


Ładowanie…
Anuluj
Zapisz