Commit 01802cc7 authored by 冯腾骁's avatar 冯腾骁

平台渠道发货配置

parent 0e3c597e
......@@ -21,7 +21,7 @@
<el-input v-model="insertPlatformChannelParams.channelCode" clearable size="mini" placeholder="渠道编码"
@keyup.enter.native="searchPage"/>
</el-form-item>
<el-button type="primary" size="mini" @click="searchPage" class="mt7 mr15 r mb10">
<el-button type="primary" size="mini" @click="insertPlatformChannel" class="mt7 mr15 r mb10">
新增
</el-button>
</el-form>
......@@ -118,7 +118,7 @@ export default {
getPage() {
this.axios({
data: this.searchPlatformChannelParams,
url: 'logisticsConfig/',
url: 'logisticsConfig/platformChannelDelivery/pagePlatformChannel',
method: 'post'
}).then(res => {
if (res.success) {
......@@ -127,15 +127,14 @@ export default {
}
})
},
insertOnline() {
insertPlatformChannel() {
this.axios({
data: this.insertPlatformChannelParams,
url: 'logisticsConfig/',
url: 'logisticsConfig/platformChannelDelivery/insertPlatformChannel',
method: 'post'
}).then(res => {
if (res.success) {
this.$message("录入成功")
this.insertOnlineVisible = false;
this.getPage();
}
})
......
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