|
@@ -23,7 +23,7 @@
|
|
</div>
|
|
</div>
|
|
<div class="weight">
|
|
<div class="weight">
|
|
<el-form-item required prop="weight" label="重量">
|
|
<el-form-item required prop="weight" label="重量">
|
|
- <el-input v-model="postData.weight"><span slot="suffix" style="color:#000">kg</span></el-input>
|
|
|
|
|
|
+ <el-input v-model="postData.weight" clearable><span slot="suffix" style="color:#000">kg</span></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</div>
|
|
</div>
|
|
<div class="weight">
|
|
<div class="weight">
|
|
@@ -33,6 +33,11 @@
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="weight">
|
|
|
|
+ <el-form-item prop="zipCode" label="邮编">
|
|
|
|
+ <el-input v-model="postData.zipCode" clearable></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </div>
|
|
<div class="weightbtn">
|
|
<div class="weightbtn">
|
|
<el-button type="primary" :loading="calculatorLoading" @click="postCalculator">
|
|
<el-button type="primary" :loading="calculatorLoading" @click="postCalculator">
|
|
计算
|
|
计算
|
|
@@ -207,6 +212,7 @@ export default {
|
|
sdata: [],
|
|
sdata: [],
|
|
postData: {
|
|
postData: {
|
|
country: '',
|
|
country: '',
|
|
|
|
+ zipCode: '',
|
|
weight: 0,
|
|
weight: 0,
|
|
height: 0,
|
|
height: 0,
|
|
width: 0,
|
|
width: 0,
|
|
@@ -262,6 +268,7 @@ export default {
|
|
// 新客户费用试算
|
|
// 新客户费用试算
|
|
NewCalculatorAll({
|
|
NewCalculatorAll({
|
|
CustomerId: this.postData.CustomerId,
|
|
CustomerId: this.postData.CustomerId,
|
|
|
|
+ ZipCode: this.postData.zipCode,
|
|
Weight: this.postData.weight,
|
|
Weight: this.postData.weight,
|
|
CountryCode: this.postData.country,
|
|
CountryCode: this.postData.country,
|
|
W: this.postData.width,
|
|
W: this.postData.width,
|
|
@@ -346,7 +353,7 @@ export default {
|
|
}
|
|
}
|
|
|
|
|
|
.calculator-warp .top-warp .weight {
|
|
.calculator-warp .top-warp .weight {
|
|
- flex-basis: 260px;
|
|
|
|
|
|
+ flex-basis: 220px;
|
|
margin-left: 20px;
|
|
margin-left: 20px;
|
|
}
|
|
}
|
|
|
|
|