店铺自营状态问题处理

master
Chopper 2021-05-17 17:43:45 +08:00
parent 3d1391e305
commit a0eaff276b
3 changed files with 7 additions and 6 deletions

View File

@ -113,7 +113,7 @@
color: params.row.selfOperated ? "default" : "primary",
},
},
params.row.selfOperated == 0 ? "自营" : "非自营"
params.row.selfOperated ? "自营" : "非自营"
);
},
},

View File

@ -18,7 +18,7 @@
</div>
<div class="bottom-info">
<p v-if="storeInfo.createTime">{{storeInfo.createTime}}&nbsp;</p>
<p v-if="storeInfo.selfOperated == 0">
<p v-if="storeInfo.selfOperated == 1">
<Tag color="success">自营</Tag>
</p>
<p v-else>

View File

@ -20,9 +20,10 @@
</FormItem>
<FormItem label="是否自营" prop="selfOperated">
<RadioGroup v-model="shopForm.selfOperated">
<Radio :key=0 :label=0>自营</Radio>
<Radio :key=1 :label=1>非自营</Radio>
<RadioGroup v-model="shopForm.selfOperated" type="button">
<Radio :label=true>自营</Radio>
<Radio :label=false>非自营</Radio>
</RadioGroup>
</FormItem>
@ -340,7 +341,7 @@ export default {
settlementCycle: [], //
shopForm: { //
settlementCycle: "",
selfOperated: 0,
selfOperated: "",
memberName: "",
companyName: "",
addressPath: "",