Commit 8d82340b authored by xishifeng's avatar xishifeng

查看数量限制修改

parent 64f297c2
......@@ -13,7 +13,7 @@
<body style="display: none;">
<div id="app">
<main>
<section v-if="d.lookShopArr && (d.lookShopArr.isPanParty || (d.lookShopArr.residue_num>0))">
<section v-if="dataCode==200">
<table>
<tbody>
<tr>
......@@ -127,7 +127,8 @@
</tbody>
</table>
</section>
<section v-else>查看数量已达上限</section>
<section v-else-if="dataCode==102">查看数量已达上限</section>
<section v-else></section>
</main>
</div>
<script src="/app/js/libs/require.min.js" data-js="/app/js/shop_detail_pc.js" data-main="/app/js/main" data-norem="yes" defer async="true"></script>
......
......@@ -6,11 +6,11 @@ require(['vue', 'css!style/shop_detail_pc.css', 'jquery0325', 'common'],function
el: '#app',
data: {
user_info_obj,
dataCode: 200,
d: {}
},
created: function() {
var _this = this;
document.body.style.display = 'block';
$.ajax({
type: 'get',
url: '/broker/getShopDetail',
......@@ -24,7 +24,9 @@ require(['vue', 'css!style/shop_detail_pc.css', 'jquery0325', 'common'],function
beforeSend: function() {},
success: function(_data) {
if(typeof _data === 'object') {
_this.dataCode = _data['code'];
if(_data['code'] == '200') {
document.body.style.display = 'block';
_this.d = _data.data;
} else {
layerTipsX(_data['msg']);
......
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