Commit 073cc8df authored by 刘文虎's avatar 刘文虎

包名

parent 25be66d1
Pipeline #3518 canceled with stages
......@@ -40,7 +40,7 @@
<u-input
type="digit"
v-model="form.offerMinPrice"
placeholder="输入价格"
placeholder="最低价"
:clearable="false"
input-align="right"
maxlength="11"
......@@ -52,7 +52,7 @@
<u-input
type="digit"
v-model="form.offerMaxPrice"
placeholder="输入价格"
placeholder="最高价"
:clearable="false"
input-align="right"
maxlength="11"
......@@ -137,11 +137,11 @@ export default {
// this.$u.test.mobile()就是返回true或者false的
if (this.form.offerType === 'scope') {
if (!value) {
callback(new Error('请输入完整价格'));
callback(new Error('请输入最低价'));
} else if (!this.form.offerMaxPrice) {
callback(new Error('请输入完整价格'));
callback(new Error('请输入最高价'));
} else if (parseFloat(this.form.offerMaxPrice) < parseFloat(value)) {
callback(new Error('最高价格不能低于最低价格'));
callback(new Error('最高价不能低于最低价'));
} else {
callback();
}
......
......@@ -45,10 +45,8 @@
<view class="collapse-body-bottom">
<text class="collapse-body-bottom-price">
<text>¥</text>
<text v-if="item2.offerType === 'scope'">
{{item2.customPrice||0 }}
</text>
<text v-else>{{item2.offerMinPrice}}</text>
<text v-if="item2.offerType === 'scope'">{{ item2.num == 0 ? 0 : item2.customPrice || 0 }}</text>
<text v-else>{{ item2.offerMinPrice }}</text>
</text>
<view class="collapse-body-bottom-add">
<zb-tooltip placement="top-end" ref="tooltip1" color="#7f7f7f" :visible="!quotedPriceTooltip">
......@@ -194,14 +192,14 @@ export default {
if (code === -10) {
this.$store.dispatch('Save_custom_id', 0);
setTimeout(() => {
this.toPage()
this.toPage();
}, 1000);
}
//TODO handle the exception
}
},
toPage() {
let path='pages/bill/quoted-price/quoted-price'
let path = 'pages/bill/quoted-price/quoted-price';
var pages = getCurrentPages();
var index = 0;
for (var item of pages) {
......
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