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

平台渠道发货配置

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