Commit bf01c6c9 by 胡悦

Merge branch 'master' of 192.168.3.233:glsx-web/glsx-oss-merchant-data

2 parents c8b4d1db b765d168
...@@ -49,6 +49,9 @@ ...@@ -49,6 +49,9 @@
<gl-select <gl-select
v-model="merchantForm.merchantChannel" v-model="merchantForm.merchantChannel"
placeholder="请选择" placeholder="请选择"
name="merchantChannel"
data-vv-as="商户渠道"
v-validate="'required'"
> >
<gl-option <gl-option
v-for="item in channelList" v-for="item in channelList"
...@@ -57,6 +60,7 @@ ...@@ -57,6 +60,7 @@
:value="item.confId"> :value="item.confId">
</gl-option> </gl-option>
</gl-select> </gl-select>
<span v-show="errorBags.has('merchantChannel')" class="error">{{ errorBags.first('merchantChannel') }}</span>
</gl-form-item> </gl-form-item>
<gl-form-item label="联系人:"> <gl-form-item label="联系人:">
<gl-input <gl-input
...@@ -190,4 +194,7 @@ export default { ...@@ -190,4 +194,7 @@ export default {
.newBusiness .el-dialog__body { .newBusiness .el-dialog__body {
padding: 0 20px; padding: 0 20px;
} }
.newBusiness .el-select {
width: 100%;
}
</style> </style>
\ No newline at end of file \ No newline at end of file
...@@ -187,12 +187,10 @@ export default { ...@@ -187,12 +187,10 @@ export default {
params.method = bizMethods.Create params.method = bizMethods.Create
request.req(params).then(res => { request.req(params).then(res => {
notice.okTips() notice.okTips()
// resetSearch(this.merchantForm)
this.handleAddHide() this.handleAddHide()
this.loadingGetList() this.loadingGetList()
}).catch(err => { }).catch(err => {
console.log(err) console.log(err)
// resetSearch(this.merchantForm)
notice.errorTips(err) notice.errorTips(err)
}) })
}, },
...@@ -205,11 +203,6 @@ export default { ...@@ -205,11 +203,6 @@ export default {
this.pageNum = val this.pageNum = val
this.loadingGetList() this.loadingGetList()
}, },
// reset(params) {
// for (var item in params) {
// params[item] = ''
// }
// },
// 搜索-start-------- // 搜索-start--------
handleSearch() { handleSearch() {
this.searchVisible = !this.searchVisible this.searchVisible = !this.searchVisible
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!