优化订单统计展示、修改店铺校验

This commit is contained in:
15386982806 2024-03-21 17:12:16 +08:00
parent e7ee256b80
commit fa0a0cb1d8
3 changed files with 6 additions and 5 deletions

View File

@ -410,7 +410,7 @@ export default {
};
this.$Modal.confirm({
title: "提示",
content: "<p>用此会员?</p>",
content: "<p>确定启用此会员?</p>",
onOk: () => {
API_Member.updateMemberStatus(params).then((res) => {
if (res.success) {

View File

@ -201,7 +201,7 @@
<Input v-model="shopForm.scope" clearable style="width: 200px" />
</FormItem>
<FormItem label="营业执照电子版">
<FormItem label="营业执照电子版" prop="licencePhoto">
<Avatar
style="height: 100px; width: 100px"
v-if="shopForm.licencePhoto"
@ -487,6 +487,7 @@ export default {
],
licenseNum: [{ required: true, message: "营业执照号不能为空" }],
scope: [{ required: true, message: "法定经营范围不能为空" }],
licencePhoto: [{ required: true, message: "营业执照电子版不能为空" }],
legalName: [{ required: true, message: "法人姓名不能为空" }],
legalId: [{ required: true, message: "法人证件号不能为空" }],
settlementBankAccountName: [{ required: true, message: "银行开户名不能为空" }],

View File

@ -59,7 +59,7 @@
<div class="card-item">
<div class="card-item-label">下单金额</div>
<div class="card-item-value">
{{ overViewList.orderAmount | unitPrice("¥") }}
{{ overViewList.orderAmount || 0 | unitPrice("¥") }}
</div>
</div>
<div class="card-item">
@ -77,7 +77,7 @@
<div class="card-item">
<div class="card-item-label">付款金额</div>
<div class="card-item-value">
{{ overViewList.paymentAmount | unitPrice("¥") }}
{{ overViewList.paymentAmount || 0 | unitPrice("¥") }}
</div>
</div>
</div>
@ -393,7 +393,7 @@ export default {
render: (h, params) => {
return h(
"div",
this.$options.filters.unitPrice(params.row.flowPrice, "¥")
this.$options.filters.unitPrice(params.row.flowPrice?params.row.flowPrice:0, "¥")
);
},
},