Commit 8fcc29ec authored by 华国豪's avatar 华国豪 🙄

no message

parent d9c24ce0
......@@ -185,7 +185,7 @@ Page({
res.map(item => {
if (item.SurveyType === 2) {
item.SurveyOptionsList.map((cItem, cIndex) => {
// if (cIndex === 0) {
// if (cIndex === 0) {
// cItem.IsCheckS = true
// } else {
cItem.IsCheckS = false
......
......@@ -61,9 +61,11 @@ Page({
//预计提成
bindKeyInput:function(e){
let name = e.currentTarget.dataset.name
this.setData({
[name]: e.detail.value
})
console.log(name, e.detail.value, typeof (e.detail.value))
},
selectionimg:function(){
......@@ -108,12 +110,11 @@ Page({
TC_Price: this.data.Detaildata.B2BPrice
})
}
let ManNum = this.data.ManNum,
ChirdNum = this.data.ChirdNeedBedNum + this.data.ChirdNoNeedBedNum,
ChirdNeedBedNum = this.data.ChirdNeedBedNum,
ChirdNoNeedBedNum = this.data.ChirdNoNeedBedNum,
BabyNum = this.data.BabyNum;
let ManNum = Number(this.data.ManNum),
ChirdNum = Number(this.data.ChirdNeedBedNum + this.data.ChirdNoNeedBedNum),
ChirdNeedBedNum = Number(this.data.ChirdNeedBedNum),
ChirdNoNeedBedNum = Number(this.data.ChirdNoNeedBedNum),
BabyNum = Number(this.data.BabyNum);
if (ManNum >0){
let allPrice = (ManNum + ChirdNum) * this.data.Price + (ChirdNeedBedNum * this.data.Detaildata.ChildNeedPrice) - (ChirdNoNeedBedNum * this.data.Detaildata.ChildNoNeedPrice) + (BabyNum * this.data.Detaildata.BabyPrice) + (BabyNum * this.data.Detaildata.BabyChargePrice) + ((ManNum + ChirdNum) * this.data.Detaildata.VisaPrice) + ((ManNum + ChirdNum) * this.data.Detaildata.OtherPrice)
let msg = {
......@@ -170,6 +171,8 @@ Page({
OrderForm: 4,
CustomerCreateBy: this.data.createBy,
}
console.log(msg)
return
//提交数据
let that = this;
let data = that.data.Phonedata.contactNumber;
......@@ -231,7 +234,6 @@ Page({
let scene = JSON.stringify(options);
let obj = JSON.parse(scene)
if (obj !== 'undefined') {
let createBy = obj.createBy
let tcId = obj.tcId
let configId = obj.configId
......@@ -262,5 +264,4 @@ Page({
title: '同业预留占位确认'
})
}
})
......@@ -40,15 +40,6 @@
<text class='title_text'>填写信息</text>
</view>
</view>
<!-- <view class='inform'>
<text class='inform_l'>报名人数</text>
<view class='form_item_right'>
<text class="form_item_right_btn" data-name='peopleNum' style='{{peopleNum===0?"color: #CCCCCC;":""}}' bindtap='numLeft'>-</text>
<input class="form_item_right_in" data-name='peopleNum' value='{{peopleNum}}' type="number" bindinput="bindKeyInput"/>
<text class="form_item_right_btn" data-name='peopleNum' bindtap='numRight'>+</text>
</view>
</view> -->
<view class='inform'>
<text class='inform_l'>成人</text>
<view class='form_item_right'>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment