5.9
This commit is contained in:
@@ -62,11 +62,12 @@ Page({
|
||||
// this.setData({
|
||||
// note: note
|
||||
// })
|
||||
}).catch(errors => {console.error(errors);})
|
||||
this.getSysconfig()
|
||||
}).catch(errors => {console.error(errors);})
|
||||
|
||||
},
|
||||
getSysconfig(){
|
||||
let {inquiry_type,inquiry_mode}=this.data;
|
||||
let {inquiry_type,inquiry_mode,info}=this.data;
|
||||
api.getSysconfig({
|
||||
inquiry_type,
|
||||
inquiry_mode
|
||||
@@ -77,6 +78,11 @@ Page({
|
||||
// config: response.data.config,
|
||||
// note: response.data.info.is_open == 1? this.data.open_note : this.data.close_note
|
||||
})
|
||||
if(!info.work_num_day){
|
||||
this.setData({
|
||||
'info.work_num_day':response.data.default_work_num_day
|
||||
})
|
||||
}
|
||||
this.formatAmounts();
|
||||
this.formatAmountValue();
|
||||
}).catch(errors => {console.error(errors);})
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<te-nav-bar navbar-data='{{navbarData}}' ></te-nav-bar>
|
||||
|
||||
<view class="container">
|
||||
<view class="checked_box">
|
||||
<view class="price_steup_box">
|
||||
|
||||
Reference in New Issue
Block a user