edit-sylive-item
This commit is contained in:
@@ -59,7 +59,12 @@ class Notify extends CI_Controller {
|
||||
}else{ //支付成功
|
||||
$res = $this->order_model->update(['status'=>1,'payTime'=>date('Y-m-d H:i:s')],['id'=>$order['id']]);
|
||||
$act = $this->market_sylive_activity_model->get(['activityId'=>$order['activityId']]);
|
||||
$kpi = time() > strtotime($act['timeStart']) ? 'order' : 'beforeOrder';
|
||||
$jsondata = json_decode($act['jsondata'],true);
|
||||
if($jsondata['signBespeak']['status'] && $jsondata['signBespeak']['itemId']==$order['itemId']) { //绑定新增商品订单
|
||||
$kpi = 'beforeOrder';
|
||||
}else{
|
||||
$kpi = 'order';
|
||||
}
|
||||
if($res){
|
||||
$act_user = $this->act_user_model->get(['userId'=>$order['userId'],'activityId'=>$order['activityId']]);
|
||||
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
<option v-for="item in biz_arr" :value="item.name">{{item.name}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="mt30 pl5 font-26 color-666">
|
||||
<div class="mt30 pl5 font-26 color-666" v-if="info.protocolTitle">
|
||||
<label class="text-middle"><input class="text-middle" type="checkbox" v-model="isXYChecked" />
|
||||
<span class="text-middle ml5">我已阅读并同意</span>
|
||||
</label>
|
||||
@@ -305,6 +305,9 @@
|
||||
},
|
||||
toPay() {
|
||||
var that = this
|
||||
if(!this.info.protocolTitle){
|
||||
this.isXYChecked = true;
|
||||
}
|
||||
if(this.info.need_shop){
|
||||
if(!this.province){
|
||||
mDialog.msg({
|
||||
@@ -353,7 +356,7 @@
|
||||
mDialog.msg({
|
||||
duration: 250,
|
||||
pause: 2000,
|
||||
content: "请阅读并同意《"+this.protocolTitle+"》"
|
||||
content: "请阅读并同意《"+this.info.protocolTitle+"》"
|
||||
});
|
||||
}else{
|
||||
if(that.isSubmit){
|
||||
|
||||
Reference in New Issue
Block a user