| xqd
@@ -5,14 +5,14 @@
|
|
|
<view class="page" v-if="previewData">
|
|
|
<view style="background-image: url(https://t17.9026.com/web/statics/image/index/appointment_top.png);background-size: 100% 100%;padding-bottom: 24rpx;">
|
|
|
<app-nav-bar :fixed="true" :background-color="''" :background-image="'url(https://t17.9026.com/web/statics/image/index/appointment_top.png)'" :title="'确认订单'" :xStyle="1" :hasMallSetting="2" :hasHeight="true"></app-nav-bar>
|
|
|
- <template v-if="getIsEnterSales">
|
|
|
+ <!-- <template v-if="getIsEnterSales">
|
|
|
<view v-if="!customerInfo" @click="navCustomer" class="select-customer" >
|
|
|
请选择客户
|
|
|
</view>
|
|
|
<view v-else @click="navCustomer" class="select-customer" >
|
|
|
客户:{{customerInfo.name}} 手机号:{{customerInfo.mobile}}
|
|
|
</view>
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
<view v-if="!previewData.hasCity && previewData.show_address !== false && previewData.hasRecipient" class="group">
|
|
|
<app-address-bar :address="previewData.address" :has-ziti="previewData.has_ziti"
|
|
|
:all-ziti="previewData.allZiti" @address-input="handleAddressInput"></app-address-bar>
|
| xqd
@@ -1324,15 +1324,18 @@
|
|
|
}
|
|
|
const formData = this.$store.state.orderSubmit.formData;
|
|
|
if(this.getIsEnterSales){
|
|
|
- if(!this.customerInfo || !this.$store.state.user.customerAccessToken){
|
|
|
- uni.showModal({
|
|
|
- title: '提示',
|
|
|
- content: '请选择客户',
|
|
|
- showCancel: false,
|
|
|
- });
|
|
|
- return
|
|
|
- }
|
|
|
- formData.place_sale_id=this.info.salesperson_id
|
|
|
+ // if(!this.customerInfo || !this.$store.state.user.customerAccessToken){
|
|
|
+ // uni.showModal({
|
|
|
+ // title: '提示',
|
|
|
+ // content: '请选择客户',
|
|
|
+ // showCancel: false,
|
|
|
+ // });
|
|
|
+ // return
|
|
|
+ // }
|
|
|
+ //formData.place_sale_id=this.info.salesperson_id
|
|
|
+
|
|
|
+ formData.place_sale_id = uni.getStorageSync('dk_sale_id');
|
|
|
+ formData.place_estate_id = uni.getStorageSync('dk_estate_id');
|
|
|
}
|
|
|
if(this.isNeedInvoice){ //判断是否选择发票,并设置发票信息
|
|
|
let invoice_info=this.$storage.getStorageSync('invoice_info')
|