1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>第三方商户表</title>
- #parse("sys/header.html")
- </head>
- <body>
- <div id="rrapp" v-cloak>
- <div v-show="showList">
- <Row :gutter="16">
- <div class="search-group">
- <i-col span="4">
- <i-input v-model="q.name" @on-enter="query" placeholder="名称"/>
- </i-col>
- <i-button @click="query">查询</i-button>
- <i-button @click="reloadSearch">重置</i-button>
- </div>
- <div class="buttons-group">
- #if($shiro.hasPermission("thirdmerchantbiz:update"))
- <i-button type="warning" @click="update"><i class="fa fa-pencil-square-o"></i> 修改第三方商户权限控制</i-button>
- #end
- </div>
- </Row>
- <table id="jqGrid"></table>
- <div id="jqGridPager"></div>
- </div>
- <Card v-show="!showList">
- <p slot="title">{{title}}</p>
- <i-form ref="formValidate" :model="thirdMerchantBiz" :rules="ruleValidate" :label-width="120">
- <Form-item label="商户" prop="merchSn">
- <i-select v-model="thirdMerchantBiz.merchSn" filterable placeholder="商户" label-in-value disabled>
- <i-option v-for="merch in merchList" :value="merch.merchSn" :key="merch.merchSn">{{merch.merchName}}</i-option>
- </i-select>
- </Form-item>
- <Form-item label="第三方商户代码" prop="thirdPartyMerchCode">
- <i-input v-model="thirdMerchantBiz.thirdPartyMerchCode" placeholder="第三方商户代码" disabled/>
- </Form-item>
- <Form-item label="第三方商户名称" prop="thirdPartyMerchName">
- <i-input v-model="thirdMerchantBiz.thirdPartyMerchName" placeholder="第三方商户名称" disabled/>
- </Form-item>
- <Row>
- <i-col span="16" style="margin-top: -10px;">
- <span style="color: red;font-size: 12px;">* 选择是,该商户下的所有门店商品库存将共享扣减</span>
- </i-col>
- </Row>
- <Form-item label="库存是否共享" prop="isStockShare">
- <Radio-group v-model="thirdMerchantBiz.isStockShare" >
- <Radio label="1" disabled>
- <span>是</span>
- </Radio>
- <Radio label="0" disabled>
- <span>否</span>
- </Radio>
- </Radio-group>
- </Form-item>
- <!--<Form-item label="门店用户是否共享" prop="isStoreUserShare" v-show="isOperate">-->
- <!--<Radio-group v-model="thirdMerchantBiz.isStoreUserShare">-->
- <!--<Radio label="1">-->
- <!--<span>是</span>-->
- <!--</Radio>-->
- <!--<Radio label="0">-->
- <!--<span>否</span>-->
- <!--</Radio>-->
- <!--</Radio-group>-->
- <!--</Form-item>-->
- <Form-item label="商户地图是否显示" prop="isMapShow">
- <Radio-group v-model="thirdMerchantBiz.isMapShow">
- <Radio label="1">
- <span>是</span>
- </Radio>
- <Radio label="0">
- <span>否</span>
- </Radio>
- </Radio-group>
- </Form-item>
- <Form-item label="渠道分销是否启用" prop="isDistSellStart">
- <Radio-group v-model="thirdMerchantBiz.isDistSellStart">
- <Radio label="1">
- <span>是</span>
- </Radio>
- <Radio label="0">
- <span>否</span>
- </Radio>
- </Radio-group>
- </Form-item>
- <Form-item>
- <i-button type="primary" @click="handleSubmit('formValidate')">提交</i-button>
- <i-button type="warning" @click="reload" style="margin-left: 8px"/>返回</i-button>
- <!--<i-button type="ghost" @click="handleReset('formValidate')" style="margin-left: 8px">重置</i-button>-->
- </Form-item>
- </i-form>
- </Card>
- </div>
- <script src="${rc.contextPath}/js/sys/thirdmerchswitch.js?_${date.systemTime}"></script>
- </body>
- </html>
|