|
|
@@ -107,7 +107,7 @@
|
|
107
|
107
|
<el-col :span="24" class="lunbo">
|
|
108
|
108
|
<el-form-item label="运费模板:" prop="temp_id">
|
|
109
|
109
|
<div class="acea-row">
|
|
110
|
|
- <el-select v-model="formValidate.temp_id" placeholder="请选择" class="selWidthd mr20">
|
|
|
110
|
+ <el-select v-model="formValidate.temp_id" placeholder="包邮" class="selWidthd mr20" disabled="true">
|
|
111
|
111
|
<el-option
|
|
112
|
112
|
v-for="item in shippingList"
|
|
113
|
113
|
:key="item.shipping_template_id"
|
|
|
@@ -115,7 +115,7 @@
|
|
115
|
115
|
:value="item.shipping_template_id"
|
|
116
|
116
|
/>
|
|
117
|
117
|
</el-select>
|
|
118
|
|
- <el-button class="mr15" size="small" @click="addTem">添加运费模板</el-button>
|
|
|
118
|
+ <!-- <el-button class="mr15" size="small" @click="addTem">添加运费模板</el-button> -->
|
|
119
|
119
|
</div>
|
|
120
|
120
|
</el-form-item>
|
|
121
|
121
|
|
|
|
@@ -123,7 +123,7 @@
|
|
123
|
123
|
<el-input v-model="formValidate.unit_name" placeholder="请输入单位" />
|
|
124
|
124
|
</el-form-item> -->
|
|
125
|
125
|
</el-col>
|
|
126
|
|
- <el-col :span="24" class="lunbo">
|
|
|
126
|
+ <!-- <el-col :span="24" class="lunbo">
|
|
127
|
127
|
<el-form-item label="优惠券:" class="proCoupon">
|
|
128
|
128
|
<div class="acea-row">
|
|
129
|
129
|
<el-tag
|
|
|
@@ -140,7 +140,7 @@
|
|
140
|
140
|
</div>
|
|
141
|
141
|
</el-form-item>
|
|
142
|
142
|
|
|
143
|
|
- </el-col>
|
|
|
143
|
+ </el-col> -->
|
|
144
|
144
|
</el-row>
|
|
145
|
145
|
<!-- 商品详情-->
|
|
146
|
146
|
<el-row v-show="currentTab === 1">
|
|
|
@@ -471,7 +471,9 @@
|
|
471
|
471
|
<el-table-column align="center" label="分润比例" min-width="125">
|
|
472
|
472
|
<template slot-scope="scope">
|
|
473
|
473
|
<div style="display: flex;">
|
|
474
|
|
- <div style="width: 80px;flex: 1;"><el-input @input="handleInput(scope.row, '分润比例')" v-model="scope.row.extension_one" type="number" :min="0" class="priceBox" /></div>
|
|
|
474
|
+ <div style="width: 80px;flex: 1;">
|
|
|
475
|
+ <el-input @blur="handleInput(scope.row, '分润比例')" v-model="scope.row.extension_one" type="number" :min="0" class="priceBox" />
|
|
|
476
|
+ </div>
|
|
475
|
477
|
<div style="width: 10px;margin-top: 10px;"><b>%</b></div>
|
|
476
|
478
|
</div>
|
|
477
|
479
|
</template>
|
|
|
@@ -579,7 +581,7 @@
|
|
579
|
581
|
<template v-if="formValidate.extension_type == 1">
|
|
580
|
582
|
<el-table-column align="center" label="分润比例(%)" min-width="120">
|
|
581
|
583
|
<template slot-scope="scope">
|
|
582
|
|
- <el-input @input="handleInput(scope.row, '分润比例')" v-model="scope.row.extension_one" type="number" :min="0" class="priceBox" />
|
|
|
584
|
+ <el-input @blur="handleInput(scope.row, '分润比例')" v-model="scope.row.extension_one" type="number" :min="0" class="priceBox" />
|
|
583
|
585
|
</template>
|
|
584
|
586
|
</el-table-column>
|
|
585
|
587
|
<!-- <el-table-column align="center" label="二级返佣(元)" min-width="120">
|
|
|
@@ -1127,6 +1129,9 @@ export default {
|
|
1127
|
1129
|
getShippingList() {
|
|
1128
|
1130
|
shippingListApi().then(res => {
|
|
1129
|
1131
|
this.shippingList = res.data
|
|
|
1132
|
+ if(this.shippingList) {
|
|
|
1133
|
+ this.formValidate.temp_id = res.data[0]['shipping_template_id']
|
|
|
1134
|
+ }
|
|
1130
|
1135
|
})
|
|
1131
|
1136
|
},
|
|
1132
|
1137
|
showInput(item) {
|