修改店铺保证金展示

This commit is contained in:
luofei 2024-05-15 17:33:21 +08:00
parent f8743d7d90
commit bada6ede69
3 changed files with 18 additions and 18 deletions

View File

@ -127,8 +127,8 @@
<div class="title">费用信息</div> <div class="title">费用信息</div>
<el-row :gutter="24" class="mt20"> <el-row :gutter="24" class="mt20">
<el-col v-if="!isAdd" :span="24"> <el-col v-if="!isAdd" :span="24">
<el-form-item label="店铺保证金:" prop="ot_margin"> <el-form-item label="店铺保证金:" prop="margin">
<span>{{ merData.is_margin == 0 ? '无' : merData.ot_margin + '元' }}</span> <span>{{ merData.is_margin == 0 ? '无' : merData.margin + '元' }}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col v-if="!isAdd && merData.is_margin != 0" :span="24"> <el-col v-if="!isAdd && merData.is_margin != 0" :span="24">
@ -138,7 +138,7 @@
</el-col> </el-col>
<el-col v-if="!isAdd && merData.is_margin != 0" :span="24"> <el-col v-if="!isAdd && merData.is_margin != 0" :span="24">
<el-form-item label="保证金余额:"> <el-form-item label="保证金余额:">
<span>{{ merData.margin }}</span> <span>{{ merData.ot_margin }}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">

View File

@ -58,7 +58,7 @@
<div class="value"> <div class="value">
{{merData.commission_switch ? "开启" : "关闭"}} {{merData.commission_switch ? "开启" : "关闭"}}
</div> </div>
</li> </li>
<li v-if="merData.commission_switch" class="item item100"> <li v-if="merData.commission_switch" class="item item100">
<div>手续费</div> <div>手续费</div>
<div class="value"> <div class="value">
@ -69,7 +69,7 @@
<li class="item"> <li class="item">
<div>店铺保证金</div> <div>店铺保证金</div>
<div class="value"> <div class="value">
{{merData.is_margin == 0 ? '无' : merData.ot_margin}} {{merData.is_margin == 0 ? '无' : merData.margin}}
</div> </div>
</li> </li>
<li v-if="merData.is_margin != 0" class="item"> <li v-if="merData.is_margin != 0" class="item">
@ -80,8 +80,8 @@
</li> </li>
<li v-if="merData.is_margin != 0" class="item"> <li v-if="merData.is_margin != 0" class="item">
<div>保证金余额</div> <div>保证金余额</div>
<div class="value">{{merData.margin}}</div> <div class="value">{{merData.ot_margin}}</div>
</li> </li>
</ul> </ul>
</div> </div>
<div class="section"> <div class="section">
@ -116,9 +116,9 @@
<div>商户资质</div> <div>商户资质</div>
<div class="value"> <div class="value">
<el-image <el-image
v-for="(item, index) in merData.mer_certificate" v-for="(item, index) in merData.mer_certificate"
:key="index" :key="index"
:src="item" :src="item"
@click="lookImg(item)" @click="lookImg(item)"
style="width: 36px;height: 36px;margin-right: 5px;" style="width: 36px;height: 36px;margin-right: 5px;"
/> />
@ -140,7 +140,7 @@
<li class="item"> <li class="item">
<div>登录密码</div> <div>登录密码</div>
<div class="value">{{merData.mer_password}}</div> <div class="value">{{merData.mer_password}}</div>
</li> </li>
<li class="item"> <li class="item">
<div>联系人</div> <div>联系人</div>
@ -149,7 +149,7 @@
<li class="item"> <li class="item">
<div>联系电话</div> <div>联系电话</div>
<div class="value">{{merData.mer_phone}}</div> <div class="value">{{merData.mer_phone}}</div>
</li> </li>
<!-- <li class="item"> <!-- <li class="item">
<div>绑定手机号</div> <div>绑定手机号</div>
<div class="value">{{merData.real_name}}</div> <div class="value">{{merData.real_name}}</div>
@ -157,7 +157,7 @@
<li class="item"> <li class="item">
<div>绑定微信用户昵称/ID</div> <div>绑定微信用户昵称/ID</div>
<div class="value">{{merData.real_name}}</div> <div class="value">{{merData.real_name}}</div>
</li> --> </li> -->
</ul> </ul>
</div> </div>
<div v-if="merData.sub_mchid" class="section"> <div v-if="merData.sub_mchid" class="section">
@ -252,8 +252,8 @@
</el-tabs> </el-tabs>
<div class="images" v-show="false" v-viewer="{ movable: false }"> <div class="images" v-show="false" v-viewer="{ movable: false }">
<img v-for="(src,index) in merData.mer_certificate" :src="src" :key="index" /> <img v-for="(src,index) in merData.mer_certificate" :src="src" :key="index" />
</div> </div>
</div> </div>
</template> </template>
<script> <script>
// +---------------------------------------------------------------------- // +----------------------------------------------------------------------

View File

@ -24,10 +24,10 @@ module.exports = {
* In most cases please use '/' !!! * In most cases please use '/' !!!
* Detail: https://cli.vuejs.org/config/#publicpath * Detail: https://cli.vuejs.org/config/#publicpath
*/ */
publicPath: '/', publicPath: '/admin',
outputDir: 'dist', outputDir: 'dist',
assetsDir: 'system', assetsDir: 'static',
indexPath: process.env.NODE_ENV === 'development' ? 'index.html' : 'system.html', indexPath: 'index.html',
lintOnSave: process.env.NODE_ENV === 'development', lintOnSave: process.env.NODE_ENV === 'development',
productionSourceMap: false, productionSourceMap: false,
devServer: { devServer: {