|
|
@@ -12,7 +12,8 @@ Page({
|
|
|
order1:1,
|
|
|
order2: 1,
|
|
|
order_by:'',
|
|
|
- list:[]
|
|
|
+ list:[],
|
|
|
+ date:''
|
|
|
},
|
|
|
|
|
|
/**
|
|
|
@@ -20,7 +21,8 @@ Page({
|
|
|
*/
|
|
|
onLoad: function (options) {
|
|
|
this.setData({
|
|
|
- id: options.id
|
|
|
+ id: options.id,
|
|
|
+ date:options.stock_date
|
|
|
})
|
|
|
this.getData();
|
|
|
},
|
|
|
@@ -29,7 +31,8 @@ Page({
|
|
|
id: this.data.id,
|
|
|
page: this.data.page,
|
|
|
page_size:20,
|
|
|
- order_by: this.data.order_by
|
|
|
+ order_by: this.data.order_by,
|
|
|
+ stock_date:this.data.date
|
|
|
}
|
|
|
|
|
|
const list = this.data.list;
|