|
|
@ -14,15 +14,16 @@ |
|
|
class="item" |
|
|
class="item" |
|
|
v-for="(v,k) in tableList" |
|
|
v-for="(v,k) in tableList" |
|
|
:key="k" |
|
|
:key="k" |
|
|
|
|
|
@click="handleOrderClick(v)" |
|
|
> |
|
|
> |
|
|
<view class="top"> |
|
|
<view class="top"> |
|
|
<view class="title">订单状态:{{v.order_status == 'pending' ? '待支付':'已支付' }}</view> |
|
|
<view class="title">订单状态:{{ v.order_status == 'pending' ? '待支付' : '已支付' }}</view> |
|
|
<!-- <view class="btn" @click="downloadFile($util.img(v.file_data))">下载合同 <fui-icon name="arrowright" color="#A4ADB3" size="35"></fui-icon></view>--> |
|
|
<!-- <view class="btn" @click="downloadFile($util.img(v.file_data))">下载合同 <fui-icon name="arrowright" color="#A4ADB3" size="35"></fui-icon></view>--> |
|
|
</view> |
|
|
</view> |
|
|
<view class="bottom"> |
|
|
<view class="bottom"> |
|
|
<view class="box"> |
|
|
<view class="box"> |
|
|
<view class="title">客户姓名:</view> |
|
|
<view class="title">客户姓名:</view> |
|
|
<view class="content">{{ v.resource_id_name || ''}}</view> |
|
|
<view class="content">{{ v.resource_id_name || '' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="box"> |
|
|
<view class="box"> |
|
|
@ -34,12 +35,12 @@ |
|
|
|
|
|
|
|
|
<view class="box"> |
|
|
<view class="box"> |
|
|
<view class="title">订单金额:</view> |
|
|
<view class="title">订单金额:</view> |
|
|
<view class="content">¥{{ v.order_amount || ''}}</view> |
|
|
<view class="content">¥{{ v.order_amount || '' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="box"> |
|
|
<view class="box"> |
|
|
<view class="title">课程:</view> |
|
|
<view class="title">课程:</view> |
|
|
<view class="content">{{ v.course_id_name || ''}}</view> |
|
|
<view class="content">{{ v.course_id_name || '' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="box"> |
|
|
<view class="box"> |
|
|
@ -49,7 +50,7 @@ |
|
|
|
|
|
|
|
|
<view class="box"> |
|
|
<view class="box"> |
|
|
<view class="title">人员:</view> |
|
|
<view class="title">人员:</view> |
|
|
<view class="content">{{ v.staff_id_name || ''}}</view> |
|
|
<view class="content">{{ v.staff_id_name || '' }}</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="box"> |
|
|
<view class="box"> |
|
|
@ -66,7 +67,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<!--创建订单弹出层--> |
|
|
<!--创建订单弹出层--> |
|
|
<fui-modal class="order_modal" :buttons="[]" width="600" :show="order_show"> |
|
|
<fui-modal class="order_modal" :buttons="[]" width="600" :show="order_show"> |
|
|
<text class="fui-title">创建订单</text> |
|
|
<text class="fui-title">创建订单</text> |
|
|
<text class="fui-descr"></text> |
|
|
<text class="fui-descr"></text> |
|
|
@ -97,7 +98,7 @@ |
|
|
|
|
|
|
|
|
<!--付款类型--> |
|
|
<!--付款类型--> |
|
|
<fui-form-item |
|
|
<fui-form-item |
|
|
label="选择付款类型" |
|
|
label="付款类型" |
|
|
asterisk |
|
|
asterisk |
|
|
asteriskPosition="right" |
|
|
asteriskPosition="right" |
|
|
labelSize='26' |
|
|
labelSize='26' |
|
|
@ -181,7 +182,35 @@ |
|
|
@cancel="cancelClassId"> |
|
|
@cancel="cancelClassId"> |
|
|
</fui-picker> |
|
|
</fui-picker> |
|
|
</fui-form-item> |
|
|
</fui-form-item> |
|
|
|
|
|
<!--订单类型--> |
|
|
|
|
|
<fui-form-item |
|
|
|
|
|
label="订单类型" |
|
|
|
|
|
asterisk |
|
|
|
|
|
asteriskPosition="right" |
|
|
|
|
|
labelSize='26' |
|
|
|
|
|
prop="" |
|
|
|
|
|
background='#fff' |
|
|
|
|
|
labelColor='#000' |
|
|
|
|
|
:bottomBorder='true' |
|
|
|
|
|
> |
|
|
|
|
|
<fui-radio-group name="radio" v-model="formData.order_type"> |
|
|
|
|
|
<view style="display: flex;justify-content: flex-end"> |
|
|
|
|
|
<fui-label> |
|
|
|
|
|
<view class="fui-align__center"> |
|
|
|
|
|
<fui-radio value="1" checked></fui-radio> |
|
|
|
|
|
<text class="fui-text">新报名</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
</fui-label> |
|
|
|
|
|
<fui-label :margin="['0','0','0','40rpx']"> |
|
|
|
|
|
<view class="fui-align__center"> |
|
|
|
|
|
<fui-radio value="2"></fui-radio> |
|
|
|
|
|
<text class="fui-text">续费</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
</fui-label> |
|
|
|
|
|
</view> |
|
|
|
|
|
</fui-radio-group> |
|
|
|
|
|
|
|
|
|
|
|
</fui-form-item> |
|
|
<!--订单金额--> |
|
|
<!--订单金额--> |
|
|
<fui-form-item |
|
|
<fui-form-item |
|
|
label="订单金额" |
|
|
label="订单金额" |
|
|
@ -206,8 +235,12 @@ |
|
|
</fui-form-item> |
|
|
</fui-form-item> |
|
|
</view> |
|
|
</view> |
|
|
<view class="button_box"> |
|
|
<view class="button_box"> |
|
|
<fui-button background="#fff" color="#414141" borderColor="#465CFF" btnSize="small" @click="closeOrderShow">取消</fui-button> |
|
|
<fui-button background="#fff" color="#414141" borderColor="#465CFF" btnSize="small" @click="closeOrderShow"> |
|
|
<fui-button background="#fff" color="#465CFF" borderColor="#465CFF" btnSize="small" @click="clickOrder({index:1})">确定</fui-button> |
|
|
取消 |
|
|
|
|
|
</fui-button> |
|
|
|
|
|
<fui-button background="#fff" color="#465CFF" borderColor="#465CFF" btnSize="small" |
|
|
|
|
|
@click="clickOrder({index:1})">确定 |
|
|
|
|
|
</fui-button> |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</fui-form> |
|
|
</fui-form> |
|
|
@ -215,79 +248,115 @@ |
|
|
<fui-icon name="close" color="#B2B2B2" :size="48"></fui-icon> |
|
|
<fui-icon name="close" color="#B2B2B2" :size="48"></fui-icon> |
|
|
</view> |
|
|
</view> |
|
|
</fui-modal> |
|
|
</fui-modal> |
|
|
|
|
|
<!-- 自定义内容弹窗示例 --> |
|
|
|
|
|
<custom-modal |
|
|
|
|
|
:show="showCustomModal" |
|
|
|
|
|
width="700" |
|
|
|
|
|
:showClose="true" |
|
|
|
|
|
:maskClose="true" |
|
|
|
|
|
@cancel="handleModalCancel" |
|
|
|
|
|
> |
|
|
|
|
|
<view class="custom-content"> |
|
|
|
|
|
<text class="custom-title">支付二维码</text> |
|
|
|
|
|
<view class="custom-form"> |
|
|
|
|
|
<fui-qrcode :value="qrcode"></fui-qrcode> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<template #buttons> |
|
|
|
|
|
<view class="button-row"> |
|
|
|
|
|
<fui-button |
|
|
|
|
|
text="发送二维码给用户" |
|
|
|
|
|
width="300rpx" |
|
|
|
|
|
height="72rpx" |
|
|
|
|
|
:size="28" |
|
|
|
|
|
radius="36rpx" |
|
|
|
|
|
background="#007AFF" |
|
|
|
|
|
borderWidth="0" |
|
|
|
|
|
@click="handleButtonClick" |
|
|
|
|
|
/> |
|
|
|
|
|
</view> |
|
|
|
|
|
</template> |
|
|
|
|
|
</custom-modal> |
|
|
</view> |
|
|
</view> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
import apiRoute from '@/api/apiRoute.js'; |
|
|
import apiRoute from '@/api/apiRoute.js' |
|
|
|
|
|
import FuiRadioGroup from '../../../components/firstui/fui-radio-group/fui-radio-group.vue' |
|
|
|
|
|
import CustomModal from '../../../components/custom-modal/custom-modal.vue' |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
components: { |
|
|
components: { |
|
|
|
|
|
CustomModal, |
|
|
|
|
|
FuiRadioGroup, |
|
|
}, |
|
|
}, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
loading:false,//加载状态 |
|
|
loading: false,//加载状态 |
|
|
lowerThreshold: 100,//距离底部多远触发 |
|
|
lowerThreshold: 100,//距离底部多远触发 |
|
|
isReachedBottom: false,//防止重复加载|true=不可加载|false=可加载 |
|
|
isReachedBottom: false,//防止重复加载|true=不可加载|false=可加载 |
|
|
|
|
|
showCustomModal: false, |
|
|
|
|
|
qrcode: 'https://www.baidu.com', |
|
|
//筛选条件 |
|
|
//筛选条件 |
|
|
filteredData:{ |
|
|
filteredData: { |
|
|
page:1,//当前页码 |
|
|
page: 1,//当前页码 |
|
|
limit:10,//每页返回数据条数 |
|
|
limit: 10,//每页返回数据条数 |
|
|
total:10,//数据总条数 |
|
|
total: 10,//数据总条数 |
|
|
resource_id:'',//客户资源表id |
|
|
resource_id: '',//客户资源表id |
|
|
}, |
|
|
}, |
|
|
tableList:[],//聊天数据列表 |
|
|
tableList: [],//聊天数据列表 |
|
|
|
|
|
|
|
|
//订单表单 |
|
|
//订单表单 |
|
|
formData:{ |
|
|
formData: { |
|
|
payment_type:'',//付款类型必填验证 |
|
|
payment_type: '',//付款类型必填验证 |
|
|
payment_type_name:'',//付款类型必填验证 |
|
|
payment_type_name: '',//付款类型必填验证 |
|
|
|
|
|
|
|
|
course_id:'',//课程ID必填验证 |
|
|
course_id: '',//课程ID必填验证 |
|
|
course_id_name:'',//课程ID必填验证 |
|
|
course_id_name: '',//课程ID必填验证 |
|
|
|
|
|
|
|
|
class_id:'',//班级ID必填验证 |
|
|
class_id: '',//班级ID必填验证 |
|
|
class_id_name:'',//班级ID必填验证 |
|
|
class_id_name: '',//班级ID必填验证 |
|
|
|
|
|
|
|
|
staff_id:'',//员工ID必填验证 |
|
|
staff_id: '',//员工ID必填验证 |
|
|
staff_id_name:'',//员工ID必填验证 |
|
|
staff_id_name: '',//员工ID必填验证 |
|
|
|
|
|
|
|
|
resource_id:'',//客户资源表ID必填验证 |
|
|
resource_id: '',//客户资源表ID必填验证 |
|
|
resource_id_name:'',//客户资源表ID必填验证 |
|
|
resource_id_name: '',//客户资源表ID必填验证 |
|
|
|
|
|
|
|
|
money:'',//金额|这个不入库就展示先 |
|
|
money: '',//金额|这个不入库就展示先 |
|
|
|
|
|
order_type: '1', |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
order_show:false,//创建订单弹出层是否显示|true=显示,false=隐藏 |
|
|
order_show: false,//创建订单弹出层是否显示|true=显示,false=隐藏 |
|
|
|
|
|
|
|
|
//付款类型-下拉选择器相关 |
|
|
//付款类型-下拉选择器相关 |
|
|
payment_type_options:[ |
|
|
payment_type_options: [ |
|
|
// { |
|
|
// { |
|
|
// text:'张三', |
|
|
// text:'张三', |
|
|
// value:'1' |
|
|
// value:'1' |
|
|
// }, |
|
|
// }, |
|
|
],//可选值列表 |
|
|
],//可选值列表 |
|
|
payment_type_show:false,//下拉选择器是否展示 |
|
|
payment_type_show: false,//下拉选择器是否展示 |
|
|
|
|
|
|
|
|
//课程-下拉选择器相关 |
|
|
//课程-下拉选择器相关 |
|
|
course_id_options:[ |
|
|
course_id_options: [ |
|
|
// { |
|
|
// { |
|
|
// text:'张三', |
|
|
// text:'张三', |
|
|
// value:'1', |
|
|
// value:'1', |
|
|
// price:'1'//课程价格 |
|
|
// price:'1'//课程价格 |
|
|
// }, |
|
|
// }, |
|
|
],//可选值列表 |
|
|
],//可选值列表 |
|
|
course_id_show:false,//下拉选择器是否展示 |
|
|
course_id_show: false,//下拉选择器是否展示 |
|
|
|
|
|
|
|
|
//班级-下拉选择器相关 |
|
|
//班级-下拉选择器相关 |
|
|
class_id_options:[ |
|
|
class_id_options: [ |
|
|
// { |
|
|
// { |
|
|
// text:'张三', |
|
|
// text:'张三', |
|
|
// value:'1' |
|
|
// value:'1' |
|
|
// }, |
|
|
// }, |
|
|
],//可选值列表 |
|
|
],//可选值列表 |
|
|
class_id_show:false,//下拉选择器是否展示 |
|
|
class_id_show: false,//下拉选择器是否展示 |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
onLoad(options) { |
|
|
onLoad(options) { |
|
|
@ -296,7 +365,7 @@ export default { |
|
|
if (!options || !options.resource_id) { |
|
|
if (!options || !options.resource_id) { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: '缺少必要参数', |
|
|
title: '缺少必要参数', |
|
|
icon: 'none' |
|
|
icon: 'none', |
|
|
}) |
|
|
}) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
@ -309,7 +378,7 @@ export default { |
|
|
this.formData.staff_id = options.staff_id || '' // 员工资源表id |
|
|
this.formData.staff_id = options.staff_id || '' // 员工资源表id |
|
|
this.formData.staff_id_name = options.staff_id_name || '' // 员工资源表id姓名 |
|
|
this.formData.staff_id_name = options.staff_id_name || '' // 员工资源表id姓名 |
|
|
}, |
|
|
}, |
|
|
onShow(){ |
|
|
onShow() { |
|
|
this.init() |
|
|
this.init() |
|
|
}, |
|
|
}, |
|
|
//下拉刷新 |
|
|
//下拉刷新 |
|
|
@ -320,7 +389,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
//初始化 |
|
|
//初始化 |
|
|
async init(){ |
|
|
async init() { |
|
|
try { |
|
|
try { |
|
|
//获取付款类型 |
|
|
//获取付款类型 |
|
|
await this.getPaymentTypeList() |
|
|
await this.getPaymentTypeList() |
|
|
@ -330,12 +399,12 @@ export default { |
|
|
await this.getClassList() |
|
|
await this.getClassList() |
|
|
|
|
|
|
|
|
//获取列表 |
|
|
//获取列表 |
|
|
await this.getList(); |
|
|
await this.getList() |
|
|
} catch (error) { |
|
|
} catch (error) { |
|
|
console.error('初始化失败:', error) |
|
|
console.error('初始化失败:', error) |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: '初始化数据失败', |
|
|
title: '初始化数据失败', |
|
|
icon: 'none' |
|
|
icon: 'none', |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
@ -344,73 +413,75 @@ export default { |
|
|
loadMoreData() { |
|
|
loadMoreData() { |
|
|
//判断是否加载 |
|
|
//判断是否加载 |
|
|
if (!this.isReachedBottom) { |
|
|
if (!this.isReachedBottom) { |
|
|
this.isReachedBottom = true;//设置为不可请求状态 |
|
|
this.isReachedBottom = true//设置为不可请求状态 |
|
|
this.getList(); |
|
|
this.getList() |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
//重置为第一页 |
|
|
//重置为第一页 |
|
|
async resetFilteredData() { |
|
|
async resetFilteredData() { |
|
|
this.isReachedBottom = false; // 重置状态,以便下次触发加载更多 |
|
|
this.isReachedBottom = false // 重置状态,以便下次触发加载更多 |
|
|
|
|
|
|
|
|
this.filteredData.page = 1//当前页码 |
|
|
this.filteredData.page = 1//当前页码 |
|
|
this.filteredData.limit = 10//每页返回数据条数 |
|
|
this.filteredData.limit = 10//每页返回数据条数 |
|
|
this.filteredData.total = 10//数据总条数 |
|
|
this.filteredData.total = 10//数据总条数 |
|
|
}, |
|
|
}, |
|
|
|
|
|
handleModalCancel() { |
|
|
|
|
|
this.showCustomModal = false |
|
|
|
|
|
}, |
|
|
//获取合同列表 |
|
|
//获取合同列表 |
|
|
async getList(){ |
|
|
async getList() { |
|
|
this.loading = true |
|
|
this.loading = true |
|
|
|
|
|
|
|
|
let params = {...this.filteredData} |
|
|
let params = { ...this.filteredData } |
|
|
|
|
|
|
|
|
//判断是否还有数据 |
|
|
//判断是否还有数据 |
|
|
if ((this.filteredData.page - 1) * this.filteredData.limit >= this.filteredData.total) { |
|
|
if ((this.filteredData.page - 1) * this.filteredData.limit >= this.filteredData.total) { |
|
|
this.loading = false |
|
|
this.loading = false |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: '暂无更多', |
|
|
title: '暂无更多', |
|
|
icon: 'none' |
|
|
icon: 'none', |
|
|
}) |
|
|
}) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if(params.page == 1){ |
|
|
if (params.page == 1) { |
|
|
this.tableList = [] |
|
|
this.tableList = [] |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
let res = await apiRoute.xs_orderTableList(params)//获取订单那列表 |
|
|
let res = await apiRoute.xs_orderTableList(params)//获取订单那列表 |
|
|
this.loading = false |
|
|
this.loading = false |
|
|
this.isReachedBottom = false; |
|
|
this.isReachedBottom = false |
|
|
if (res.code != 1){ |
|
|
if (res.code != 1) { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: res.msg, |
|
|
title: res.msg, |
|
|
icon: 'none' |
|
|
icon: 'none', |
|
|
}) |
|
|
}) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
this.tableList = this.tableList.concat(res.data.data); // 使用 concat 方法 将新数据追加到数组中 |
|
|
this.tableList = this.tableList.concat(res.data.data) // 使用 concat 方法 将新数据追加到数组中 |
|
|
// this.tableList.unshift(...res.data.data); // 将新数据插入到数组头部 |
|
|
// this.tableList.unshift(...res.data.data); // 将新数据插入到数组头部 |
|
|
|
|
|
|
|
|
console.log('列表',this.tableList) |
|
|
console.log('列表', this.tableList) |
|
|
this.filteredData.total = res.data.total |
|
|
this.filteredData.total = res.data.total |
|
|
this.filteredData.page++ |
|
|
this.filteredData.page++ |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
//获取付款类型 |
|
|
//获取付款类型 |
|
|
async getPaymentTypeList(){ |
|
|
async getPaymentTypeList() { |
|
|
try { |
|
|
try { |
|
|
let res = await apiRoute.common_Dictionary({key:'payment_type'}) |
|
|
let res = await apiRoute.common_Dictionary({ key: 'payment_type' }) |
|
|
if(res.code != 1){ |
|
|
if (res.code != 1) { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: res.msg || '获取付款类型失败', |
|
|
title: res.msg || '获取付款类型失败', |
|
|
icon: 'none' |
|
|
icon: 'none', |
|
|
}) |
|
|
}) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
let dictionary = res.data |
|
|
let dictionary = res.data |
|
|
let arr = [] |
|
|
let arr = [] |
|
|
dictionary.forEach((v,k) => { |
|
|
dictionary.forEach((v, k) => { |
|
|
arr.push({ |
|
|
arr.push({ |
|
|
text: v.name, |
|
|
text: v.name, |
|
|
value: v.value, |
|
|
value: v.value, |
|
|
@ -424,14 +495,14 @@ export default { |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
//获取课程列表 |
|
|
//获取课程列表 |
|
|
async getCourseList(){ |
|
|
async getCourseList() { |
|
|
try { |
|
|
try { |
|
|
let params = {} |
|
|
let params = {} |
|
|
let res = await apiRoute.common_getCourseAll(params) |
|
|
let res = await apiRoute.common_getCourseAll(params) |
|
|
if(res.code != 1){ |
|
|
if (res.code != 1) { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: res.msg || '获取课程列表失败', |
|
|
title: res.msg || '获取课程列表失败', |
|
|
icon: 'none' |
|
|
icon: 'none', |
|
|
}) |
|
|
}) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
@ -442,7 +513,7 @@ export default { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
let arr = [] |
|
|
let arr = [] |
|
|
res.data.forEach((v,k) => { |
|
|
res.data.forEach((v, k) => { |
|
|
arr.push({ |
|
|
arr.push({ |
|
|
text: `${v.course_name}`, |
|
|
text: `${v.course_name}`, |
|
|
value: v.id, |
|
|
value: v.id, |
|
|
@ -457,16 +528,16 @@ export default { |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
//获取班级列表 |
|
|
//获取班级列表 |
|
|
async getClassList(){ |
|
|
async getClassList() { |
|
|
try { |
|
|
try { |
|
|
let params = { |
|
|
let params = { |
|
|
status: 1, //班级状态(1开启 2关闭) |
|
|
status: 1, //班级状态(1开启 2关闭) |
|
|
} |
|
|
} |
|
|
let res = await apiRoute.common_getClassAll(params) |
|
|
let res = await apiRoute.common_getClassAll(params) |
|
|
if(res.code != 1){ |
|
|
if (res.code != 1) { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: res.msg || '获取班级列表失败', |
|
|
title: res.msg || '获取班级列表失败', |
|
|
icon: 'none' |
|
|
icon: 'none', |
|
|
}) |
|
|
}) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
@ -477,7 +548,7 @@ export default { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
let arr = [] |
|
|
let arr = [] |
|
|
res.data.forEach((v,k) => { |
|
|
res.data.forEach((v, k) => { |
|
|
arr.push({ |
|
|
arr.push({ |
|
|
text: `${v.campus_name}-${v.class_name}`, |
|
|
text: `${v.campus_name}-${v.class_name}`, |
|
|
value: v.id, |
|
|
value: v.id, |
|
|
@ -491,11 +562,9 @@ export default { |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//创建订单相关 |
|
|
//创建订单相关 |
|
|
//显示创建订单弹窗 |
|
|
//显示创建订单弹窗 |
|
|
openOrderShow(){ |
|
|
openOrderShow() { |
|
|
//重置的数据 |
|
|
//重置的数据 |
|
|
this.formData.payment_type = ''//付款类型必填验证 |
|
|
this.formData.payment_type = ''//付款类型必填验证 |
|
|
this.formData.payment_type_name = ''//付款类型必填验证 |
|
|
this.formData.payment_type_name = ''//付款类型必填验证 |
|
|
@ -511,63 +580,57 @@ export default { |
|
|
this.order_show = true//展示弹层 |
|
|
this.order_show = true//展示弹层 |
|
|
}, |
|
|
}, |
|
|
//关闭打卡弹窗 |
|
|
//关闭打卡弹窗 |
|
|
closeOrderShow(){ |
|
|
closeOrderShow() { |
|
|
this.order_show = false |
|
|
this.order_show = false |
|
|
}, |
|
|
}, |
|
|
//监听-打卡签到回调 |
|
|
//监听-打卡签到回调 |
|
|
async clickOrder(e){ |
|
|
async clickOrder(e) { |
|
|
if(e.index == 0){ |
|
|
if (e.index == 0) { |
|
|
//取消按钮 |
|
|
//取消按钮 |
|
|
this.closeOrderShow() |
|
|
this.closeOrderShow() |
|
|
}else{ |
|
|
} else { |
|
|
console.log('提交',this.formData) |
|
|
console.log('提交', this.formData) |
|
|
await this.submitFormData() |
|
|
await this.submitFormData() |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
//提交表单 |
|
|
//提交表单 |
|
|
async submitFormData() { |
|
|
async submitFormData() { |
|
|
try { |
|
|
try { |
|
|
let param = {...this.formData} |
|
|
let param = { ...this.formData } |
|
|
//表单验证 |
|
|
//表单验证 |
|
|
if(!param.resource_id){ |
|
|
if (!param.resource_id) { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: '客户信息缺失', |
|
|
title: '客户信息缺失', |
|
|
icon: 'none' |
|
|
icon: 'none', |
|
|
}) |
|
|
}) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
if(!param.class_id){ |
|
|
if (!param.class_id) { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: '请选择班级', |
|
|
title: '请选择班级', |
|
|
icon: 'none' |
|
|
icon: 'none', |
|
|
}) |
|
|
}) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
if(!param.course_id){ |
|
|
if (!param.course_id) { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: '请选择课程', |
|
|
title: '请选择课程', |
|
|
icon: 'none' |
|
|
icon: 'none', |
|
|
}) |
|
|
}) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
if(!param.payment_type){ |
|
|
if (!param.payment_type) { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: '请选择付款类型', |
|
|
title: '请选择付款类型', |
|
|
icon: 'none' |
|
|
icon: 'none', |
|
|
}) |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
|
|
|
if(!param.staff_id){ |
|
|
|
|
|
uni.showToast({ |
|
|
|
|
|
title: '员工信息缺失', |
|
|
|
|
|
icon: 'none' |
|
|
|
|
|
}) |
|
|
}) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
if(!param.money){ |
|
|
// 移除员工ID验证,让后端自行获取 |
|
|
|
|
|
if (!param.money) { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: '订单金额为空', |
|
|
title: '订单金额为空', |
|
|
icon: 'none' |
|
|
icon: 'none', |
|
|
}) |
|
|
}) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
@ -576,7 +639,7 @@ export default { |
|
|
this.closeOrderShow() |
|
|
this.closeOrderShow() |
|
|
|
|
|
|
|
|
uni.showLoading({ |
|
|
uni.showLoading({ |
|
|
title: '提交中...' |
|
|
title: '提交中...', |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
let res = await apiRoute.xs_orderTableAdd(param) |
|
|
let res = await apiRoute.xs_orderTableAdd(param) |
|
|
@ -585,27 +648,27 @@ export default { |
|
|
if (res.code != 1) { |
|
|
if (res.code != 1) { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: res.msg || '创建订单失败', |
|
|
title: res.msg || '创建订单失败', |
|
|
icon: 'none' |
|
|
icon: 'none', |
|
|
}) |
|
|
}) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: '创建订单成功', |
|
|
title: '创建订单成功', |
|
|
icon: 'success' |
|
|
icon: 'success', |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
//延迟1s执行 |
|
|
//延迟1s执行 |
|
|
setTimeout(() => { |
|
|
setTimeout(() => { |
|
|
this.resetFilteredData()//重置表单 |
|
|
this.resetFilteredData()//重置表单 |
|
|
this.getList();//刷新列表 |
|
|
this.getList()//刷新列表 |
|
|
}, 1500) |
|
|
}, 1500) |
|
|
} catch (error) { |
|
|
} catch (error) { |
|
|
uni.hideLoading() |
|
|
uni.hideLoading() |
|
|
console.error('提交订单失败:', error) |
|
|
console.error('提交订单失败:', error) |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: '创建订单失败,请重试', |
|
|
title: '创建订单失败,请重试', |
|
|
icon: 'none' |
|
|
icon: 'none', |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
@ -613,12 +676,12 @@ export default { |
|
|
|
|
|
|
|
|
//下拉选择器相关-付款类型 |
|
|
//下拉选择器相关-付款类型 |
|
|
//监听-付款类型 |
|
|
//监听-付款类型 |
|
|
changePaymentType(e){ |
|
|
changePaymentType(e) { |
|
|
console.log('选择的付款类型:', e) |
|
|
console.log('选择的付款类型:', e) |
|
|
if (!e || !e.value) { |
|
|
if (!e || !e.value) { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: '请选择有效的付款类型', |
|
|
title: '请选择有效的付款类型', |
|
|
icon: 'none' |
|
|
icon: 'none', |
|
|
}) |
|
|
}) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
@ -627,11 +690,11 @@ export default { |
|
|
this.cancelPaymentType() |
|
|
this.cancelPaymentType() |
|
|
}, |
|
|
}, |
|
|
//打开选择器-付款类型 |
|
|
//打开选择器-付款类型 |
|
|
openPaymentType(){ |
|
|
openPaymentType() { |
|
|
if (!this.payment_type_options || this.payment_type_options.length === 0) { |
|
|
if (!this.payment_type_options || this.payment_type_options.length === 0) { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: '付款类型数据加载中,请稍后再试', |
|
|
title: '付款类型数据加载中,请稍后再试', |
|
|
icon: 'none' |
|
|
icon: 'none', |
|
|
}) |
|
|
}) |
|
|
this.getPaymentTypeList() // 尝试重新加载 |
|
|
this.getPaymentTypeList() // 尝试重新加载 |
|
|
return |
|
|
return |
|
|
@ -639,18 +702,18 @@ export default { |
|
|
this.payment_type_show = true |
|
|
this.payment_type_show = true |
|
|
}, |
|
|
}, |
|
|
//关闭选择器-付款类型 |
|
|
//关闭选择器-付款类型 |
|
|
cancelPaymentType(){ |
|
|
cancelPaymentType() { |
|
|
this.payment_type_show = false |
|
|
this.payment_type_show = false |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
//下拉选择器相关-课程 |
|
|
//下拉选择器相关-课程 |
|
|
//监听-课程 |
|
|
//监听-课程 |
|
|
changeCourseId(e){ |
|
|
changeCourseId(e) { |
|
|
console.log('选择的课程:', e) |
|
|
console.log('选择的课程:', e) |
|
|
if (!e || !e.value) { |
|
|
if (!e || !e.value) { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: '请选择有效的课程', |
|
|
title: '请选择有效的课程', |
|
|
icon: 'none' |
|
|
icon: 'none', |
|
|
}) |
|
|
}) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
@ -669,11 +732,11 @@ export default { |
|
|
this.cancelCourseId() |
|
|
this.cancelCourseId() |
|
|
}, |
|
|
}, |
|
|
//打开选择器-课程 |
|
|
//打开选择器-课程 |
|
|
openCourseId(){ |
|
|
openCourseId() { |
|
|
if (!this.course_id_options || this.course_id_options.length === 0) { |
|
|
if (!this.course_id_options || this.course_id_options.length === 0) { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: '课程数据加载中,请稍后再试', |
|
|
title: '课程数据加载中,请稍后再试', |
|
|
icon: 'none' |
|
|
icon: 'none', |
|
|
}) |
|
|
}) |
|
|
this.getCourseList() // 尝试重新加载 |
|
|
this.getCourseList() // 尝试重新加载 |
|
|
return |
|
|
return |
|
|
@ -681,18 +744,18 @@ export default { |
|
|
this.course_id_show = true |
|
|
this.course_id_show = true |
|
|
}, |
|
|
}, |
|
|
//关闭选择器-课程 |
|
|
//关闭选择器-课程 |
|
|
cancelCourseId(){ |
|
|
cancelCourseId() { |
|
|
this.course_id_show = false |
|
|
this.course_id_show = false |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
//下拉选择器相关-班级 |
|
|
//下拉选择器相关-班级 |
|
|
//监听-班级 |
|
|
//监听-班级 |
|
|
changeClassId(e){ |
|
|
changeClassId(e) { |
|
|
console.log('选择的班级:', e) |
|
|
console.log('选择的班级:', e) |
|
|
if (!e || !e.value) { |
|
|
if (!e || !e.value) { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: '请选择有效的班级', |
|
|
title: '请选择有效的班级', |
|
|
icon: 'none' |
|
|
icon: 'none', |
|
|
}) |
|
|
}) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
@ -701,11 +764,11 @@ export default { |
|
|
this.cancelClassId() |
|
|
this.cancelClassId() |
|
|
}, |
|
|
}, |
|
|
//打开选择器-班级 |
|
|
//打开选择器-班级 |
|
|
openClassId(){ |
|
|
openClassId() { |
|
|
if (!this.class_id_options || this.class_id_options.length === 0) { |
|
|
if (!this.class_id_options || this.class_id_options.length === 0) { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: '班级数据加载中,请稍后再试', |
|
|
title: '班级数据加载中,请稍后再试', |
|
|
icon: 'none' |
|
|
icon: 'none', |
|
|
}) |
|
|
}) |
|
|
this.getClassList() // 尝试重新加载 |
|
|
this.getClassList() // 尝试重新加载 |
|
|
return |
|
|
return |
|
|
@ -713,23 +776,103 @@ export default { |
|
|
this.class_id_show = true |
|
|
this.class_id_show = true |
|
|
}, |
|
|
}, |
|
|
//关闭选择器-班级 |
|
|
//关闭选择器-班级 |
|
|
cancelClassId(){ |
|
|
cancelClassId() { |
|
|
this.class_id_show = false |
|
|
this.class_id_show = false |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
//订单卡片点击事件 |
|
|
|
|
|
handleOrderClick(orderData) { |
|
|
|
|
|
console.log('点击订单:', orderData) |
|
|
|
|
|
|
|
|
|
|
|
// 检查订单状态,只有待支付订单才能发起支付 |
|
|
|
|
|
if (orderData.order_status === 'pending') { |
|
|
|
|
|
this.initiatePayment(orderData) |
|
|
|
|
|
} else { |
|
|
|
|
|
// 已支付订单可以查看详情或其他操作 |
|
|
|
|
|
console.log('订单已支付,无需再次支付') |
|
|
|
|
|
uni.showToast({ |
|
|
|
|
|
title: '订单已支付', |
|
|
|
|
|
icon: 'none', |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
//发起支付 |
|
|
|
|
|
initiatePayment(orderData) { |
|
|
|
|
|
console.log('发起支付,订单信息:', orderData) |
|
|
|
|
|
console.log('支付类型:', orderData.payment_type) |
|
|
|
|
|
|
|
|
|
|
|
// 根据支付类型处理不同的支付方式 |
|
|
|
|
|
switch (orderData.payment_type) { |
|
|
|
|
|
case 'cash': |
|
|
|
|
|
this.handleCashPayment(orderData) |
|
|
|
|
|
break |
|
|
|
|
|
case 'scan_code': |
|
|
|
|
|
this.handleScanCodePayment(orderData) |
|
|
|
|
|
break |
|
|
|
|
|
case 'subscription': |
|
|
|
|
|
this.handleSubscriptionPayment(orderData) |
|
|
|
|
|
break |
|
|
|
|
|
default: |
|
|
|
|
|
uni.showToast({ |
|
|
|
|
|
title: '未知支付类型', |
|
|
|
|
|
icon: 'none', |
|
|
|
|
|
}) |
|
|
|
|
|
break |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
//处理现金支付 |
|
|
|
|
|
handleCashPayment(orderData) { |
|
|
|
|
|
console.log('处理现金支付:', orderData) |
|
|
|
|
|
// 这里调用现金支付相关接口 |
|
|
|
|
|
// 你可以在这里实现具体的现金支付逻辑 |
|
|
|
|
|
uni.showToast({ |
|
|
|
|
|
title: '现金支付处理中...', |
|
|
|
|
|
icon: 'loading', |
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
// 示例:调用支付确认接口 |
|
|
|
|
|
// this.confirmCashPayment(orderData) |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
//处理扫码支付 |
|
|
|
|
|
handleScanCodePayment(orderData) { |
|
|
|
|
|
console.log('处理扫码支付:', orderData) |
|
|
|
|
|
// 这里调用扫码支付相关接口 |
|
|
|
|
|
apiRoute.getOrderPayQrcode({ order_id: orderData.id }).then(res => { |
|
|
|
|
|
this.qrcode = res.data.code_url |
|
|
|
|
|
this.showCustomModal = true |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
//处理订阅支付 |
|
|
|
|
|
handleSubscriptionPayment(orderData) { |
|
|
|
|
|
console.log('处理订阅支付:', orderData) |
|
|
|
|
|
// 这里调用订阅支付相关接口 |
|
|
|
|
|
// 你可以在这里实现具体的订阅支付逻辑 |
|
|
|
|
|
uni.showToast({ |
|
|
|
|
|
title: '订阅支付处理中...', |
|
|
|
|
|
icon: 'loading', |
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
// 示例:调用订阅支付接口 |
|
|
|
|
|
// this.initiateSubscriptionPayment(orderData) |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
//下载文件 |
|
|
//下载文件 |
|
|
async downloadFile(fileUrl) { |
|
|
async downloadFile(fileUrl) { |
|
|
if (!fileUrl) { |
|
|
if (!fileUrl) { |
|
|
this.$util.showToast({ |
|
|
this.$util.showToast({ |
|
|
title: '暂无电子发票' |
|
|
title: '暂无电子发票', |
|
|
}); |
|
|
}) |
|
|
return false; |
|
|
return false |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
uni.downloadFile({ |
|
|
uni.downloadFile({ |
|
|
url: fileUrl, |
|
|
url: fileUrl, |
|
|
success: function (res) { |
|
|
success: function(res) { |
|
|
console.log('下载成功'); |
|
|
console.log('下载成功') |
|
|
// uni.openDocument({ |
|
|
// uni.openDocument({ |
|
|
// filePath: res.tempFilePath, |
|
|
// filePath: res.tempFilePath, |
|
|
// fileType: 'pdf', |
|
|
// fileType: 'pdf', |
|
|
@ -737,35 +880,39 @@ export default { |
|
|
// console.log('打开文档成功'); |
|
|
// console.log('打开文档成功'); |
|
|
// } |
|
|
// } |
|
|
// }); |
|
|
// }); |
|
|
} |
|
|
}, |
|
|
}); |
|
|
}) |
|
|
|
|
|
|
|
|
} |
|
|
}, |
|
|
|
|
|
handleButtonClick(){ |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
}, |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
<style lang="less" scoped> |
|
|
<style lang="less" scoped> |
|
|
.main_box { |
|
|
.main_box { |
|
|
background: #292929; |
|
|
background: #292929; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//自定义导航栏 |
|
|
.custom-content { |
|
|
.navbar_section { |
|
|
width: 100%; |
|
|
|
|
|
padding: 20rpx; |
|
|
display: flex; |
|
|
display: flex; |
|
|
justify-content: center; |
|
|
justify-content: center; |
|
|
align-items: center; |
|
|
flex-wrap: wrap; |
|
|
background: #29d3b4; |
|
|
|
|
|
|
|
|
|
|
|
.title { |
|
|
.custom-title { |
|
|
padding: 20rpx 0; |
|
|
width: 100%; |
|
|
font-size: 30rpx; |
|
|
text-align: center; |
|
|
color: #315d55; |
|
|
font-size: 32rpx; |
|
|
} |
|
|
font-weight: 600; |
|
|
|
|
|
margin-bottom: 20rpx; |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.main_section { |
|
|
.main_section { |
|
|
min-height: 100vh; |
|
|
min-height: 100vh; |
|
|
background: #292929 100%; |
|
|
background: #292929 100%; |
|
|
padding: 0 0rpx; |
|
|
padding: 0 0rpx; |
|
|
@ -781,12 +928,12 @@ export default { |
|
|
padding: 40rpx 40rpx; |
|
|
padding: 40rpx 40rpx; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.section_1{ |
|
|
.section_1 { |
|
|
padding: 0 24rpx; |
|
|
padding: 0 24rpx; |
|
|
display: flex; |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
flex-direction: column; |
|
|
|
|
|
|
|
|
.item{ |
|
|
.item { |
|
|
margin-bottom: 38rpx; |
|
|
margin-bottom: 38rpx; |
|
|
display: flex; |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
flex-direction: column; |
|
|
@ -794,32 +941,39 @@ export default { |
|
|
border-radius: 14rpx; |
|
|
border-radius: 14rpx; |
|
|
background-color: #434544; |
|
|
background-color: #434544; |
|
|
color: #fff; |
|
|
color: #fff; |
|
|
.top{ |
|
|
|
|
|
|
|
|
.top { |
|
|
font-size: 28rpx; |
|
|
font-size: 28rpx; |
|
|
display: flex; |
|
|
display: flex; |
|
|
justify-content: space-between; |
|
|
justify-content: space-between; |
|
|
.title{ |
|
|
|
|
|
|
|
|
.title { |
|
|
font-size: 30rpx; |
|
|
font-size: 30rpx; |
|
|
} |
|
|
} |
|
|
.btn{ |
|
|
|
|
|
|
|
|
.btn { |
|
|
display: flex; |
|
|
display: flex; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
color: #29D3B4; |
|
|
color: #29D3B4; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
.bottom{ |
|
|
|
|
|
|
|
|
.bottom { |
|
|
font-size: 26rpx; |
|
|
font-size: 26rpx; |
|
|
margin-top: 25rpx; |
|
|
margin-top: 25rpx; |
|
|
display: flex; |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
flex-direction: column; |
|
|
gap: 15rpx; |
|
|
gap: 15rpx; |
|
|
.box{ |
|
|
|
|
|
|
|
|
.box { |
|
|
display: flex; |
|
|
display: flex; |
|
|
justify-content: space-between; |
|
|
justify-content: space-between; |
|
|
.title{ |
|
|
|
|
|
|
|
|
.title { |
|
|
width: 180rpx; |
|
|
width: 180rpx; |
|
|
} |
|
|
} |
|
|
.content{ |
|
|
|
|
|
|
|
|
.content { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
@ -828,11 +982,12 @@ export default { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.btn_section{ |
|
|
.btn_section { |
|
|
display: flex; |
|
|
display: flex; |
|
|
justify-content: center; |
|
|
justify-content: center; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
.btn{ |
|
|
|
|
|
|
|
|
.btn { |
|
|
border-radius: 10rpx; |
|
|
border-radius: 10rpx; |
|
|
padding: 15rpx 0; |
|
|
padding: 15rpx 0; |
|
|
width: 70%; |
|
|
width: 70%; |
|
|
@ -843,17 +998,16 @@ export default { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
.describe { |
|
|
|
|
|
|
|
|
.describe { |
|
|
|
|
|
color: #999999; |
|
|
color: #999999; |
|
|
padding-left: 30rpx; |
|
|
padding-left: 30rpx; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//创建订单弹出层 |
|
|
//创建订单弹出层 |
|
|
.order_modal{ |
|
|
.order_modal { |
|
|
.fui-title { |
|
|
.fui-title { |
|
|
font-size: 32rpx; |
|
|
font-size: 32rpx; |
|
|
padding-top: 24rpx; |
|
|
padding-top: 24rpx; |
|
|
@ -872,13 +1026,16 @@ export default { |
|
|
top: 20rpx; |
|
|
top: 20rpx; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.form-section{ |
|
|
.form-section { |
|
|
|
|
|
|
|
|
.input-style { |
|
|
.input-style { |
|
|
text-align: right !important; |
|
|
text-align: right !important; |
|
|
.input-title{} |
|
|
|
|
|
|
|
|
.input-title { |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
.button_box{ |
|
|
|
|
|
|
|
|
.button_box { |
|
|
margin-top: 30rpx; |
|
|
margin-top: 30rpx; |
|
|
padding: 20rpx; |
|
|
padding: 20rpx; |
|
|
display: flex; |
|
|
display: flex; |
|
|
@ -887,5 +1044,5 @@ export default { |
|
|
gap: 20rpx; |
|
|
gap: 20rpx; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</style> |
|
|
</style> |