Commit 077138cc by 黑潮

update: 数据回显

parent 92c09049
......@@ -598,7 +598,7 @@ export default {
handleStore() {
if (this.mainstoreForm.mainOptType == 4) {
this.showStoreDilog = true;
this.storeName = '选择主门店';
this.storeName = '';
this.storeNameVisible = true;
}
if (this.mainstoreForm.mainOptType !== 4) {
......@@ -614,7 +614,7 @@ export default {
if (this.batchValue == "mainstore") {
this.mainstoreForm.mainStoreId = val.storeId;
// this.storeName = val.storeName;
this.storeName = '选择主门店';
this.storeName = val.storeName;
this.mainstoreForm.mainOptType = 4;
}
if (this.batchValue == "store") {
......
......@@ -684,11 +684,14 @@
</p>
<p class="lheigth40">
<el-radio :label=4>自定义主门店</el-radio>
<span style="margin-left:40px;vertical-align: middle;font-size: 14px;">
{{storeName}}
</span>
<span
v-if="mainstoreForm.mainOptType == 4"
class="member-store-name"
v-if="storeName"
@click="changeStore">
{{storeName}}
{{storeName ? '修改' : '选择'}}主门店
</span>
</p>
</el-radio-group>
......
......@@ -612,7 +612,7 @@ export default {
handleStore() {
if (this.mainstoreForm.mainOptType == 4) {
console.log(this.storeName, 1);
this.storeName = '选择主门店';
this.storeName = '';
this.showStoreDialog = true;
this.storeNameVisible = true;
}
......@@ -630,7 +630,7 @@ export default {
if (this.batchValue == "mainstore") {
this.mainstoreForm.mainStoreId = val.storeId;
// this.storeName = val.storeName;
this.storeName = '选择主门店';
this.storeName = val.storeName;
this.mainstoreForm.mainOptType = 4;
}
if (this.batchValue == "store") {
......
......@@ -684,11 +684,14 @@
</p>
<p class="lheigth40">
<el-radio :label=4>自定义主门店</el-radio>
<span style="margin-left:40px;vertical-align: middle;font-size: 14px;">
{{storeName}}
</span>
<span
v-if="mainstoreForm.mainOptType == 4"
class="member-store-name"
v-if="storeName"
@click="changeStore">
{{storeName}}
{{storeName ? '修改' : '选择'}}主门店
</span>
</p>
</el-radio-group>
......
......@@ -521,7 +521,7 @@ export default {
handleStore() {
if (this.mainstoreForm.mainOptType == 4) {
console.log(this.storeName, 1);
this.storeName = '选择主门店';
this.storeName = '';
this.showStoreDialog = true;
this.storeNameVisible = true;
}
......@@ -538,7 +538,7 @@ export default {
if (this.batchValue == "mainstore") {
this.mainstoreForm.mainStoreId = val.storeId;
// this.storeName = val.storeName;
this.storeName = '选择主门店';
this.storeName = val.storeName;
this.mainstoreForm.mainOptType = 4;
}
if (this.batchValue == "store") {
......
......@@ -681,11 +681,14 @@
</p>
<p class="lheigth40">
<el-radio :label=4>自定义主门店</el-radio>
<span style="margin-left:40px;vertical-align: middle;font-size: 14px;">
{{storeName}}
</span>
<span
v-if="mainstoreForm.mainOptType == 4"
class="member-store-name"
v-if="storeName"
@click="changeStore">
{{storeName}}
{{storeName ? '修改' : '选择'}}主门店
</span>
</p>
</el-radio-group>
......
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