|
@@ -10,8 +10,7 @@
|
|
<view class="c-row b-b">
|
|
<view class="c-row b-b">
|
|
<text class="tit">标题</text>
|
|
<text class="tit">标题</text>
|
|
<view class="con-list">
|
|
<view class="con-list">
|
|
- <input maxlength='16' minlength='2' placeholder="请输入标题,不超过16个字" name="input"
|
|
|
|
- v-model="deptList.title"></input>
|
|
|
|
|
|
+ <input maxlength='16' minlength='2' placeholder="请输入标题,不超过16个字" name="input" v-model="deptList.title"></input>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="c-row b-b">
|
|
<view class="c-row b-b">
|
|
@@ -71,13 +70,6 @@
|
|
<input placeholder="请输入买方手机号" name="input" v-model="deptList.buyerPhone"></input>
|
|
<input placeholder="请输入买方手机号" name="input" v-model="deptList.buyerPhone"></input>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <!-- <view class="c-row ">
|
|
|
|
- <text class="validate">获取验证码</text>
|
|
|
|
- <view class="con-list">
|
|
|
|
- <input placeholder="请填写6位短信验证码" name="input" v-model="deptList.title1"></input>
|
|
|
|
- </view>
|
|
|
|
- </view> -->
|
|
|
|
-
|
|
|
|
<view style='width:100%;position:relative;padding:10px;' class="flex">
|
|
<view style='width:100%;position:relative;padding:10px;' class="flex">
|
|
<button :class='codestatus&&!sendDisabled?"active":""' @click='getcode'
|
|
<button :class='codestatus&&!sendDisabled?"active":""' @click='getcode'
|
|
class='getcode'>{{sendText}}</button>
|
|
class='getcode'>{{sendText}}</button>
|
|
@@ -213,9 +205,9 @@
|
|
priceType: "定价采购",
|
|
priceType: "定价采购",
|
|
procurementPlanType: "现货",
|
|
procurementPlanType: "现货",
|
|
grain: "塔粮",
|
|
grain: "塔粮",
|
|
- grade: "不限(默认)",
|
|
|
|
|
|
+ grade: "",
|
|
outputYear: "2020",
|
|
outputYear: "2020",
|
|
- packingType: "不限(默认)",
|
|
|
|
|
|
+ packingType: "",
|
|
freightPayer: "",
|
|
freightPayer: "",
|
|
},
|
|
},
|
|
params: {
|
|
params: {
|
|
@@ -279,33 +271,6 @@
|
|
})
|
|
})
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- // async amendprice() {
|
|
|
|
- // var that = this
|
|
|
|
- // this.$api.doRequest('get', '/commonUser/loginVerifyCode', {
|
|
|
|
- // phone: this.deptList.buyerPhone,
|
|
|
|
- // verifyCode: this.verifyCode
|
|
|
|
- // }).then(res => {
|
|
|
|
- // if (res.data.code == 200) {
|
|
|
|
- // } else {
|
|
|
|
- // that.verification = false
|
|
|
|
- // uni.showToast({
|
|
|
|
- // title: res.data.message,
|
|
|
|
- // icon: 'none',
|
|
|
|
- // duration: 2000
|
|
|
|
- // })
|
|
|
|
- // return false
|
|
|
|
- // }
|
|
|
|
- // })
|
|
|
|
- // .catch(res => {
|
|
|
|
- // that.verification = false
|
|
|
|
- // uni.showToast({
|
|
|
|
- // title: res.data.message,
|
|
|
|
- // icon: 'none',
|
|
|
|
- // duration: 2000
|
|
|
|
- // })
|
|
|
|
- // return false
|
|
|
|
- // });
|
|
|
|
- // },
|
|
|
|
getcode() {
|
|
getcode() {
|
|
var that = this
|
|
var that = this
|
|
if (/^0?1[3|4|5|6|7|8][0-9]\d{8}$/.test(that.deptList.buyerPhone)) {
|
|
if (/^0?1[3|4|5|6|7|8][0-9]\d{8}$/.test(that.deptList.buyerPhone)) {
|
|
@@ -471,7 +436,6 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
if (!this.region2) {
|
|
if (!this.region2) {
|
|
this.$api.msg('收货地区不能为空')
|
|
this.$api.msg('收货地区不能为空')
|
|
return
|
|
return
|