Commit 024000ff authored by rencs's avatar rencs

8.28 旅行

parent 39febd04
...@@ -92,8 +92,8 @@ ...@@ -92,8 +92,8 @@
v-model="destinationObj.address" v-model="destinationObj.address"
readonly readonly
placeholder="请选择目的地" placeholder="请选择目的地"
:on-icon-click="selectDestination" @focus="selectDestination"
icon="edit" icon="el-icon-edit"
></el-input> ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -172,13 +172,13 @@ ...@@ -172,13 +172,13 @@
filterable filterable
placeholder="请选择公司" placeholder="请选择公司"
> >
<el-option label="全部" :key="undefined" :value="undefined"></el-option> <el-option label="全部" :key="undefined" :value="0"></el-option>
<el-option v-for="val in companys_list" :key="val.id" :label="val.name" :value="val.id"></el-option> <el-option v-for="val in companys_list" :key="val.id" :label="val.name" :value="val.id"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="所属门店"> <el-form-item label="所属门店">
<el-select class="filter-item" v-model="form.companyId" clearable placeholder="请选择"> <el-select class="filter-item" v-model="form.companyId" clearable placeholder="请选择">
<el-option label="全部" :key="undefined" :value="undefined"></el-option> <el-option label="全部" :key="undefined" :value="0"></el-option>
<el-option <el-option
v-for="val in branchCompany_list" v-for="val in branchCompany_list"
:key="val.id" :key="val.id"
...@@ -775,6 +775,8 @@ export default { ...@@ -775,6 +775,8 @@ export default {
imgTitle: this.form.imgTitle, imgTitle: this.form.imgTitle,
imgKeyword: this.form.imgKeyword, imgKeyword: this.form.imgKeyword,
imgDesc: this.form.imgDesc, imgDesc: this.form.imgDesc,
corporationId: this.form.corporationId,
companyId: this.form.companyId,
}; };
console.log(params); console.log(params);
goodsEdit(params).then((response) => { goodsEdit(params).then((response) => {
...@@ -940,6 +942,8 @@ export default { ...@@ -940,6 +942,8 @@ export default {
imgTitle: this.form.imgTitle, imgTitle: this.form.imgTitle,
imgKeyword: this.form.imgKeyword, imgKeyword: this.form.imgKeyword,
imgDesc: this.form.imgDesc, imgDesc: this.form.imgDesc,
corporationId: this.form.corporationId,
companyId: this.form.companyId,
}; };
console.log(params); console.log(params);
this.isCreate = true; this.isCreate = true;
...@@ -1299,6 +1303,8 @@ export default { ...@@ -1299,6 +1303,8 @@ export default {
imgTitle: undefined, imgTitle: undefined,
imgKeyword: undefined, imgKeyword: undefined,
imgDesc: undefined, imgDesc: undefined,
corporationId: undefined,
companyId: undefined,
}), }),
(this.showDestinationVisible = false), //编辑目的地 (this.showDestinationVisible = false), //编辑目的地
(this.showPathWayVisible = false), //编辑途径地 (this.showPathWayVisible = false), //编辑途径地
......
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