Commit bfd95d7503a561d677f4e0d587d9b58e31c32fa2

Authored by wangfan
1 parent de6886d0

快速预定

... ... @@ -28,6 +28,10 @@ Component({
type:Boolean,
value:false,
},
identity:{
type:String,
value:'',
},
},
/**
... ...
... ... @@ -34,7 +34,7 @@
<block wx:else="">
<block wx:if="{{item.num>0}}">
<foodSpec item="{{item}}" type="-" id="foodSpecDel"
sellerid="{{sellerid}}" orderid="{{orderid}}"
sellerid="{{sellerid}}" orderid="{{orderid}}" identity="{{identity}}"
fromSoucre="{{fromSoucre}}" request_uri="{{request_uri}}"
bindfoodSpecCallback="foodSpecCallback">
<view class='jian'></view>
... ... @@ -42,7 +42,7 @@
<view class="t-align-c">{{item.num}}</view>
</block>
<foodSpec item="{{item}}" type="+"
sellerid="{{sellerid}}" orderid="{{orderid}}"
sellerid="{{sellerid}}" orderid="{{orderid}}" identity="{{identity}}"
fromSoucre="{{fromSoucre}}" request_uri="{{request_uri}}"
bindfoodSpecCallback="foodSpecCallback">
<view class='add'></view>
... ...
... ... @@ -27,7 +27,11 @@ Component({
request_uri:{
type:Boolean,
value:false,
}
},
identity:{
type:String,
value:"",
}
},
... ... @@ -247,7 +251,7 @@ Component({
source: 1,
request_uri: this.data.request_uri == true ? 1 : '',//服务员通过消息通知进来 又加菜的标识
fromSoucre:this.data.fromSoucre?this.data.fromSoucre:'',
identity:util.cache('identity')
identity:this.data.identity
});
});
},
... ... @@ -423,7 +427,7 @@ Component({
source: 1,
request_uri: this.data.request_uri==true?1:'',//服务员通过消息通知进来 又加菜的标识
fromSoucre:this.data.fromSoucre?this.data.fromSoucre:'',
identity:util.cache('identity')
identity:this.data.identity
}
if(specid>0){
param.specid=specid;
... ...
... ... @@ -18,6 +18,7 @@
<view class="item">
<foodCard item="{{item}}"
sellerid="{{order.sellerid}}" orderid="{{order.id}}"
identity="{{options.identity}}"
bindfoodCardCallback="foodCardCallback"
></foodCard>
</view>
... ...