Commit 79f93f95 authored by guoyou's avatar guoyou

创建租车订单

parent bbe8c26f
module.exports = { module.exports = {
NODE_ENV: '"development"', NODE_ENV: '"development"',
BASE_API:'"https://dev.dfangche.com"',//'"https://xxtest.upyuns.com"',//'"https://xxfcmgmt.upyuns.com"(正)',//http://10.1.37.192:9527(何), //https://xxtest.upyuns.com(测),10.1.37.246:9527(韩), 10.1.37.244(李斌)10.1.37.248:8765(小威) BASE_API:'"https://xxtest.upyuns.com"',//'"https://dev.dfangche.com"',//'"https://xxfcmgmt.upyuns.com"(正)',//http://10.1.37.192:9527(何), //https://xxtest.upyuns.com(测),10.1.37.246:9527(韩), 10.1.37.244(李斌)10.1.37.248:8765(小威)
APP_ORIGIN: '"https://wallstreetcn.com"' APP_ORIGIN: '"https://wallstreetcn.com"'
} }
...@@ -248,14 +248,14 @@ export default { ...@@ -248,14 +248,14 @@ export default {
endAddr: this.listQuery.startEndAddr, //还车地点 endAddr: this.listQuery.startEndAddr, //还车地点
endCity: this.listQuery.startAddrCity, //还车城市编号 endCity: this.listQuery.startAddrCity, //还车城市编号
endCityName: this.listQuery.startCityName, //还车城市名称 endCityName: this.listQuery.startCityName, //还车城市名称
endCompanyId: this.listQuery.startCompanyIds, //还车公司id endCompanyId: this.listQuery.endCompanyIds, //还车公司id
endTime: this.listQuery.time[1].getTime(), //结束时间 endTime: this.listQuery.time[1].getTime(), //结束时间
modelId: this.listQuery.modelId, //车型 modelId: this.listQuery.modelId, //车型
startAddr: this.listQuery.endEndAddr, //取车地点 startAddr: this.listQuery.endEndAddr, //取车地点
startCity: this.listQuery.endAddrCity, //取车城市编号 startCity: this.listQuery.endAddrCity, //取车城市编号
startCityName: this.listQuery.endtCityName, //取车城市名称 startCityName: this.listQuery.endtCityName, //取车城市名称
startCompanyId: this.listQuery.endCompanyIds, //出发公司id startCompanyId: this.listQuery.startCompanyIds, //出发公司id
startTime: this.listQuery.time[0].getTime(), //开始时间 startTime: this.listQuery.time[0].getTime(), //开始时间
damageSafe: this.listQuery.damageSafe == "需要" ? 1 : 0, //是否购买免赔 damageSafe: this.listQuery.damageSafe == "需要" ? 1 : 0, //是否购买免赔
......
...@@ -91,7 +91,11 @@ ...@@ -91,7 +91,11 @@
<!-- <button @click="order(dayobject)" v-if="leftobj[dayobject.index]">预定</button> --> <!-- <button @click="order(dayobject)" v-if="leftobj[dayobject.index]">预定</button> -->
</li> </li>
</ul> </ul>
<div style="background:#fff;padding:20px 0;border-top:1px solid red" v-show="isSetBorder == true">
<div
style="background:#fff;padding:20px 0;border-top:1px solid red"
v-show="isSetBorder == true"
>
<el-form <el-form
:model="setForm" :model="setForm"
:rules="setrules" :rules="setrules"
...@@ -110,12 +114,16 @@ ...@@ -110,12 +114,16 @@
<el-radio-group v-model="setForm.radio1"> <el-radio-group v-model="setForm.radio1">
<el-radio-button label="全局设置"></el-radio-button> <el-radio-button label="全局设置"></el-radio-button>
<el-radio-button label="不同车型不同倍数"></el-radio-button> <el-radio-button label="不同车型不同倍数"></el-radio-button>
<el-radio-button label="0.8倍"></el-radio-button>
</el-radio-group> </el-radio-group>
<el-input v-model="setForm.input" placeholder="请输入倍数" style="width:100px;"></el-input>
</el-form-item> </el-form-item>
<el-button style="margin-left:30px" type="primary">确定</el-button> <el-button style="margin-left:30px" type="primary">确定</el-button>
</el-form> </el-form>
</div> </div>
<el-dialog title="倍数详情" :visible.sync="multiplePop">
</el-dialog>
</div> </div>
</div> </div>
</template> </template>
...@@ -123,6 +131,7 @@ ...@@ -123,6 +131,7 @@
export default { export default {
data() { data() {
return { return {
multiplePop: false,
setForm: {}, setForm: {},
setrules: {}, setrules: {},
enterTitle: "进入编辑", enterTitle: "进入编辑",
......
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