订单续费修改

dev
e 3 years ago
parent d8493e51c7
commit 857101dbd0
  1. 4
      src/utils/api.js
  2. 20
      src/views/order/Order.vue

@ -1,9 +1,9 @@
let host = 'http://39.108.250.202:9000' // let host = 'http://39.108.250.202:9000'
let host1 = 'http://192.168.31.216:9000'//榕 let host1 = 'http://192.168.31.216:9000'//榕
let host2 = 'http://192.168.31.125:9000'//林 let host2 = 'http://192.168.31.125:9000'//林
let host3 = 'http://192.168.31.140:9000'//7 let host3 = 'http://192.168.31.140:9000'//7
// let host = 'http://192.168.31.137:9000'// 陈赓 let host = 'http://192.168.31.137:9000'// 陈赓
export default { export default {
upload:`${host}/nakadai/nakadai/oss/fileUpload`,// 上传文件-订单 upload:`${host}/nakadai/nakadai/oss/fileUpload`,// 上传文件-订单

@ -1,5 +1,13 @@
<template> <template>
<div> <div>
<el-select v-model="value1" filterable :filter-method="test" placeholder="请选择">
<el-option
v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="24"> <el-col :span="24">
<el-card shadow="hover" class="mgb20"> <el-card shadow="hover" class="mgb20">
@ -104,6 +112,10 @@
export default { export default {
data() { data() {
return { return {
value1:'',
options:[
{label:123}
],
form: { form: {
provinces: '', provinces: '',
city: '', city: '',
@ -153,6 +165,14 @@ export default {
this.getData() this.getData()
}, },
methods: { methods: {
test(val){
if(val.length>5){
val = 5
}
console.log(this.value1,'value1');
console.log(val,'val');
},
getData() { getData() {
let data = { let data = {
cityId: this.form.city, cityId: this.form.city,

Loading…
Cancel
Save