专家定制 bug

main
yanzai 2 months ago
parent 69bcb5dac6
commit dc8251f1b8

@ -21,6 +21,7 @@ class PlanController extends Controller
$checkup_type_id = request('checkup_type_id');//体检类型表对应id $checkup_type_id = request('checkup_type_id');//体检类型表对应id
$amount = request('amount');//总金额 $amount = request('amount');//总金额
if (!isset($checkup_type_id)) return \Yz::echoError1("体检类型不能为空"); if (!isset($checkup_type_id)) return \Yz::echoError1("体检类型不能为空");
if(empty($hospital_id)) $hospital_id=1;
$danwei_id = request('danwei_id');//单位id $danwei_id = request('danwei_id');//单位id
@ -136,7 +137,7 @@ class PlanController extends Controller
$big_date = request('big_date');//从月历选择的日期然后返回这个日期7天内的所有日期 $big_date = request('big_date');//从月历选择的日期然后返回这个日期7天内的所有日期
if(!isset($big_date)) $big_date=date('Y-m-d'); if(!isset($big_date)) $big_date=date('Y-m-d');
if (!isset($checkup_type_id)) return \Yz::echoError1("体检类型不能为空"); if (!isset($checkup_type_id)) return \Yz::echoError1("体检类型不能为空");
if(empty($hospital_id)) $hospital_id=1;
$danwei_id = request('danwei_id');//单位名称 $danwei_id = request('danwei_id');//单位名称
$personInfo = false; $personInfo = false;

@ -2,7 +2,10 @@
"dependencies": { "dependencies": {
"@uni-ui/code-ui": "^1.5.3", "@uni-ui/code-ui": "^1.5.3",
"echarts": "^5.4.2", "echarts": "^5.4.2",
"weixin-js-sdk": "^1.6.5" "install": "^0.13.0",
"tslib": "^2.8.1",
"weixin-js-sdk": "^1.6.5",
"zrender": "^6.0.0"
}, },
"devDependencies": { "devDependencies": {
"unocss": "^0.58.9", "unocss": "^0.58.9",

@ -238,9 +238,9 @@
if (!!$props.path && $props.path=='order') { if (!!$props.path && $props.path=='order') {
let orderid=$props.orderid?$props.orderid:'' let orderid=$props.orderid?$props.orderid:''
let canshu='?orderid='+orderid let canshu='?orderid='+orderid
uni.navigateTo({ uni.navigateTo({
url: "/pages/main/order/order"+canshu url: "/pages/main/order/order"+canshu
}) })
} }
}); });
}; };
@ -352,7 +352,7 @@
</swiper-item> </swiper-item>
</swiper> </swiper>
</view> </view>
<view class="botm_blank_wrapper" style="font-size: 18rpx;color: #ccc;">05122226</view> <view class="botm_blank_wrapper" style="font-size: 18rpx;color: #ccc;">10012226</view>
</view> </view>
</view> </view>

@ -94,6 +94,7 @@
} }
buy_info.value.combo_id=$props.comboid buy_info.value.combo_id=$props.comboid
buy_info.value.person_id=personId.value buy_info.value.person_id=personId.value
buy_info.value.hospital=buy_info.value.hospital?buy_info.value.hospital:1
$store.setBuyInfo(buy_info.value) $store.setBuyInfo(buy_info.value)
// //
let obj = { let obj = {

Loading…
Cancel
Save