Explorar o código

二手地址修改

zhengjinyi %!s(int64=3) %!d(string=hai) anos
pai
achega
a527a1d48e

+ 1 - 4
src/main/resources/static/js/flea-market/form.js

@@ -469,6 +469,7 @@ var fleaMarketForm = new Vue({
         province:function () {
            var _this = this;
            _this.from.province = event.target.value;
+           console.log('aaa', _this.from.province)
             if(_this.from.province==''){//省为请选择时市区初始化
                 _this.cityArray=[];
                 _this.townArray=[];
@@ -491,8 +492,6 @@ var fleaMarketForm = new Vue({
 
                 }
             })
-
-
         },
         getcTown:function(event){
             var _this = this;
@@ -528,6 +527,4 @@ var fleaMarketForm = new Vue({
             }
         })
     },
-
-
 })

+ 1 - 1
src/main/resources/templates/flea-market/form.html

@@ -130,7 +130,7 @@
                             <i class="province icon mIcon selected"></i>
                         <select class="address-input reg-select province" name="provinceID" id="cProvince" @change="province" >
                             <option value="" >请选择</option>
-                            <option v-for="(item ,index) in provinceArray" :key="index" :value='item.provinceID' >{{item.name}}</option>
+                            <option v-for="(item ,index) in provinceArray" :key="index" :value='item.id' >{{item.name}}</option>
                         </select>
                         <i class="cCity icon mIcon selected"></i>
                         <select class="address-input reg-select city" name="cityID" id="cCity" @change="getcity($event)" >

+ 8 - 1
src/main/resources/templates/single-page/repair.html

@@ -21,7 +21,14 @@
         <div class="content">
             <img src="/img/repair/repair.jpg" alt="采美仪器维修介绍">
 <!--            <div class="btnBox">-->
-<!--                <a href="/repair/form.html" class="fixedBtn">申请维修</a>-->
+<!--                <a href="/repair/form.
+
+
+
+
+
+
+" class="fixedBtn">申请维修</a>-->
 <!--            </div>-->
         </div>
     </div>