| xqd
@@ -6,6 +6,7 @@ Page({
|
|
|
* 页面的初始数据
|
|
|
*/
|
|
|
data: {
|
|
|
+ dates: '',
|
|
|
date: "",
|
|
|
project_id: "",
|
|
|
datainfo: {},
|
| xqd
@@ -40,7 +41,8 @@ Page({
|
|
|
onLoad: function (options) {
|
|
|
this.setData({
|
|
|
date: options.date,
|
|
|
- project_id: options.id - 0
|
|
|
+ project_id: options.id - 0,
|
|
|
+ dates: options.dates
|
|
|
})
|
|
|
this.getOrderDetails()
|
|
|
},
|
| xqd
@@ -56,7 +58,8 @@ Page({
|
|
|
url: 'orders/getOrderDetails',
|
|
|
data: {
|
|
|
date: this.data.date,
|
|
|
- project_id: this.data.project_id
|
|
|
+ project_id: this.data.project_id,
|
|
|
+ dates: this.data.dates
|
|
|
},
|
|
|
success: (res) => {
|
|
|
console.log(res)
|