Showing
4 changed files
with
14 additions
and
5 deletions
| @@ -34,7 +34,7 @@ | @@ -34,7 +34,7 @@ | ||
| 34 | <block wx:else=""> | 34 | <block wx:else=""> |
| 35 | <block wx:if="{{item.num>0}}"> | 35 | <block wx:if="{{item.num>0}}"> |
| 36 | <foodSpec item="{{item}}" type="-" id="foodSpecDel" | 36 | <foodSpec item="{{item}}" type="-" id="foodSpecDel" |
| 37 | - sellerid="{{sellerid}}" orderid="{{orderid}}" | 37 | + sellerid="{{sellerid}}" orderid="{{orderid}}" identity="{{identity}}" |
| 38 | fromSoucre="{{fromSoucre}}" request_uri="{{request_uri}}" | 38 | fromSoucre="{{fromSoucre}}" request_uri="{{request_uri}}" |
| 39 | bindfoodSpecCallback="foodSpecCallback"> | 39 | bindfoodSpecCallback="foodSpecCallback"> |
| 40 | <view class='jian'></view> | 40 | <view class='jian'></view> |
| @@ -42,7 +42,7 @@ | @@ -42,7 +42,7 @@ | ||
| 42 | <view class="t-align-c">{{item.num}}</view> | 42 | <view class="t-align-c">{{item.num}}</view> |
| 43 | </block> | 43 | </block> |
| 44 | <foodSpec item="{{item}}" type="+" | 44 | <foodSpec item="{{item}}" type="+" |
| 45 | - sellerid="{{sellerid}}" orderid="{{orderid}}" | 45 | + sellerid="{{sellerid}}" orderid="{{orderid}}" identity="{{identity}}" |
| 46 | fromSoucre="{{fromSoucre}}" request_uri="{{request_uri}}" | 46 | fromSoucre="{{fromSoucre}}" request_uri="{{request_uri}}" |
| 47 | bindfoodSpecCallback="foodSpecCallback"> | 47 | bindfoodSpecCallback="foodSpecCallback"> |
| 48 | <view class='add'></view> | 48 | <view class='add'></view> |
| @@ -27,7 +27,11 @@ Component({ | @@ -27,7 +27,11 @@ Component({ | ||
| 27 | request_uri:{ | 27 | request_uri:{ |
| 28 | type:Boolean, | 28 | type:Boolean, |
| 29 | value:false, | 29 | value:false, |
| 30 | - } | 30 | + }, |
| 31 | + identity:{ | ||
| 32 | + type:String, | ||
| 33 | + value:"", | ||
| 34 | + } | ||
| 31 | 35 | ||
| 32 | }, | 36 | }, |
| 33 | 37 | ||
| @@ -247,7 +251,7 @@ Component({ | @@ -247,7 +251,7 @@ Component({ | ||
| 247 | source: 1, | 251 | source: 1, |
| 248 | request_uri: this.data.request_uri == true ? 1 : '',//服务员通过消息通知进来 又加菜的标识 | 252 | request_uri: this.data.request_uri == true ? 1 : '',//服务员通过消息通知进来 又加菜的标识 |
| 249 | fromSoucre:this.data.fromSoucre?this.data.fromSoucre:'', | 253 | fromSoucre:this.data.fromSoucre?this.data.fromSoucre:'', |
| 250 | - identity:util.cache('identity') | 254 | + identity:this.data.identity |
| 251 | }); | 255 | }); |
| 252 | }); | 256 | }); |
| 253 | }, | 257 | }, |
| @@ -423,7 +427,7 @@ Component({ | @@ -423,7 +427,7 @@ Component({ | ||
| 423 | source: 1, | 427 | source: 1, |
| 424 | request_uri: this.data.request_uri==true?1:'',//服务员通过消息通知进来 又加菜的标识 | 428 | request_uri: this.data.request_uri==true?1:'',//服务员通过消息通知进来 又加菜的标识 |
| 425 | fromSoucre:this.data.fromSoucre?this.data.fromSoucre:'', | 429 | fromSoucre:this.data.fromSoucre?this.data.fromSoucre:'', |
| 426 | - identity:util.cache('identity') | 430 | + identity:this.data.identity |
| 427 | } | 431 | } |
| 428 | if(specid>0){ | 432 | if(specid>0){ |
| 429 | param.specid=specid; | 433 | param.specid=specid; |
| @@ -18,6 +18,7 @@ | @@ -18,6 +18,7 @@ | ||
| 18 | <view class="item"> | 18 | <view class="item"> |
| 19 | <foodCard item="{{item}}" | 19 | <foodCard item="{{item}}" |
| 20 | sellerid="{{order.sellerid}}" orderid="{{order.id}}" | 20 | sellerid="{{order.sellerid}}" orderid="{{order.id}}" |
| 21 | + identity="{{options.identity}}" | ||
| 21 | bindfoodCardCallback="foodCardCallback" | 22 | bindfoodCardCallback="foodCardCallback" |
| 22 | ></foodCard> | 23 | ></foodCard> |
| 23 | </view> | 24 | </view> |
-
Please register or login to post a comment