|  |  | 
 |  |  |                                 subTitle: '出发日期', | 
 |  |  |                                 placeholder: '请选择出发日期', | 
 |  |  |                                 placeholderStyle: 'font-size:20rpx', | 
 |  |  |                                 value: '2021-5-3', | 
 |  |  |                                 value: '', | 
 |  |  |                                 type: 'businessStartTime', | 
 |  |  |                                 inputType: 'data', | 
 |  |  |                                 required: true | 
 |  |  | 
 |  |  |                                 subTitle: '结束日期', | 
 |  |  |                                 placeholder: '请选择结束日期', | 
 |  |  |                                 placeholderStyle: 'font-size:20rpx', | 
 |  |  |                                 value: '2021-5-3', | 
 |  |  |                                 value: '', | 
 |  |  |                                 type: 'businessEndTime', | 
 |  |  |                                 inputType: 'data', | 
 |  |  |                                 required: true | 
 |  |  | 
 |  |  |                 // console.log(this.orderIds); | 
 |  |  |                  | 
 |  |  |                 console.log(this.form); | 
 |  |  |                 console.log(this.type); | 
 |  |  |                 this.formAdd(this.form) | 
 |  |  |                 // console.log(subPass); | 
 |  |  |                 if (subPass) { | 
 |  |  |                     // console.log(this.form); | 
 |  |  |                 } | 
 |  |  |  | 
 |  |  |             }, | 
 |  |  |             formAdd(form) { | 
 |  |  |                 let _this = this | 
 |  |  |                 uni.request({ | 
 |  |  |                     url: `${_this.baseUrl}/businessTrip/add/auth`, | 
 |  |  |                     header: { | 
 |  |  |                         'token': uni.getStorageSync('token'), | 
 |  |  |                         'content-type': 'application/x-www-form-urlencoded;charset=UTF-8' | 
 |  |  |                     }, | 
 |  |  |                     sslVerify: false, | 
 |  |  |                     data: form, | 
 |  |  |                     method: 'POST', | 
 |  |  |                     success(res) { | 
 |  |  |                         res = res.data | 
 |  |  |                         console.log(res) | 
 |  |  |                         if (res.code === 200) { | 
 |  |  |                             uni.showToast({title: '添加成功', icon: "none", position: 'top'}) | 
 |  |  |                             setTimeout(()=>{ | 
 |  |  |                                 uni.navigateBack({}) | 
 |  |  |                             },1000) | 
 |  |  |                         } else if (res.code === 500) { | 
 |  |  |                             uni.showToast({title: '添加成功', icon: "none", position: 'top'}) | 
 |  |  |                         } else { | 
 |  |  | 							 | 
 |  |  |                         } | 
 |  |  |                     } | 
 |  |  | 					 | 
 |  |  | 					 | 
 |  |  |                 }) | 
 |  |  |             }, | 
 |  |  |             showPicker(e) { | 
 |  |  |                 switch (e) { | 
 |  |  | 
 |  |  |                 } | 
 |  |  |             }, | 
 |  |  |             businessTransportationConfirm(e) { | 
 |  |  |                 console.log('confirm', e) | 
 |  |  |                 // console.log('confirm', e) | 
 |  |  |                 this.form2[1].info[0].value = e.value[0] | 
 |  |  |                 this.form2[1].info[0].submitVal = e.indexs[0] | 
 |  |  |                 this.businessTransportationShow = false | 
 |  |  |             }, | 
 |  |  |             businessReturnConfirm(e) { | 
 |  |  |                 console.log('confirm', e) | 
 |  |  |                 // console.log('confirm', e) | 
 |  |  |                 this.form2[1].info[1].value = e.value[0] | 
 |  |  |                 this.form2[1].info[1].submitVal = e.indexs[0] | 
 |  |  |                 this.businessReturnShow = false | 
 |  |  |             }, | 
 |  |  |             businessStartTimeDayConfirm(e) { | 
 |  |  |                 console.log('confirm', e) | 
 |  |  |                 // console.log('confirm', e) | 
 |  |  |                 this.form2[2].info[1].value = e.value[0] | 
 |  |  |                 this.form2[2].info[1].submitVal = e.indexs[0] | 
 |  |  |                 this.businessStartTimeDayShow = false | 
 |  |  |             }, | 
 |  |  |             businessEndTimeDayConfirm(e) { | 
 |  |  |                 console.log('confirm', e) | 
 |  |  |                 // console.log('confirm', e) | 
 |  |  |                 this.form2[2].info[3].value = e.value[0] | 
 |  |  |                 this.form2[2].info[3].submitVal = e.indexs[0] | 
 |  |  |                 this.businessEndTimeDayShow = false | 
 |  |  | 
 |  |  |                 // console.log(shen.value , shi.value, qu.value); | 
 |  |  |                 this.form2[1].info[4].value = e.value[0] + '/' + e.value[1] + '/' + e.value[2] | 
 |  |  |                 this.form2[1].info[4].submitVal = shen.value + ',' + shi.value + ',' + qu.value | 
 |  |  |                 console.log(this.form2[1].info[4].value, this.form2[1].info[4].submitVal); | 
 |  |  |                 // console.log(this.form2[1].info[4].value, this.form2[1].info[4].submitVal); | 
 |  |  |             }, | 
 |  |  |             pcdEndConfirm(e) { | 
 |  |  |                 // console.log('confirm', e) | 
 |  |  | 
 |  |  |                 // console.log(shen.value , shi.value, qu.value); | 
 |  |  |                 this.form2[1].info[6].value = e.value[0] + '/' + e.value[1] + '/' + e.value[2] | 
 |  |  |                 this.form2[1].info[6].submitVal = shen.value + ',' + shi.value + ',' + qu.value | 
 |  |  |                 console.log(this.form2[1].info[6].value, this.form2[1].info[6].submitVal); | 
 |  |  |                 // console.log(this.form2[1].info[6].value, this.form2[1].info[6].submitVal); | 
 |  |  |             } | 
 |  |  |         } | 
 |  |  |     } |