|
|
@@ -134,23 +134,23 @@
|
|
|
<a class="modify-btn delete-btn" @click="submitBOM">确认发布</a>
|
|
|
</div>
|
|
|
<!--提示框-->
|
|
|
- <div class="modal-wrap" v-if="showRemindBox">
|
|
|
+ <!--<div class="modal-wrap" v-if="showRemindBox">
|
|
|
<div class="apply-del-box">
|
|
|
<div class="title">
|
|
|
- <!--<a @click="showRemindBox = false"><i class="fa fa-close fa-lg"></i></a>-->
|
|
|
+ <!–<a @click="showRemindBox = false"><i class="fa fa-close fa-lg"></i></a>–>
|
|
|
</div>
|
|
|
<div class="content">
|
|
|
- <!--<p style="line-height: 20px;margin-top: 10px;padding:0 10px">非常抱歉,目前暂无此品牌!<br>若直接前往“品牌申请”,我们将为您先开通寄售功能,待申请通过后再提交开店申请。</p>-->
|
|
|
- <!--<p style="line-height: 20px;">前往<a @click="goBrandApply()" target="_blank" style="color: #5078CB">品牌申请 <i class="fa fa-arrow-right"></i></a></p>-->
|
|
|
+ <!–<p style="line-height: 20px;margin-top: 10px;padding:0 10px">非常抱歉,目前暂无此品牌!<br>若直接前往“品牌申请”,我们将为您先开通寄售功能,待申请通过后再提交开店申请。</p>–>
|
|
|
+ <!–<p style="line-height: 20px;">前往<a @click="goBrandApply()" target="_blank" style="color: #5078CB">品牌申请 <i class="fa fa-arrow-right"></i></a></p>–>
|
|
|
<p><img src="/images/applyPurchase/check.png" alt="">成功发布{{successResult.successAmount || 0}}个</p>
|
|
|
<p v-if="successResult.goodsAmount && successResult.goodsAmount > 0 ">其中<span>{{successResult.goodsAmount || 0}}</span>个求购型号有现货在售,您可前往“<span>买家中心-我的求购</span>”查询并直接购买</p>
|
|
|
<div>
|
|
|
- <!--<a @click="showRemindBox = false">继续发布</a>-->
|
|
|
+ <!–<a @click="showRemindBox = false">继续发布</a>–>
|
|
|
<a href="/user#/seekPurchase" target="_blank">前往我的求购</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>-->
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
@@ -204,7 +204,7 @@
|
|
|
pageSize: 10,
|
|
|
nowPage: 1,
|
|
|
isCheckAll: false,
|
|
|
- showRemindBox: false,
|
|
|
+// showRemindBox: false,
|
|
|
modifyObj: {
|
|
|
code: '',
|
|
|
brand: '',
|
|
|
@@ -232,7 +232,7 @@
|
|
|
amount: true,
|
|
|
deadline: true
|
|
|
},
|
|
|
- successResult: 0,
|
|
|
+// successResult: 0,
|
|
|
showSimilarCodeList: false,
|
|
|
showSimilarBrandList: false
|
|
|
}
|
|
|
@@ -338,12 +338,14 @@
|
|
|
this.$http.post('/seek/confirmBom', param)
|
|
|
.then(response => {
|
|
|
if (response.data.success) {
|
|
|
- this.showRemindBox = true
|
|
|
- this.successResult = response.data.data
|
|
|
- this.listenPage(1)
|
|
|
- this.$store.dispatch('applyPurchase/loadBOMNumber', {bomId: this.$route.params.id})
|
|
|
+// this.showRemindBox = true
|
|
|
+// this.successResult = response.data.data
|
|
|
+// this.listenPage(1)
|
|
|
+// this.$store.dispatch('applyPurchase/loadBOMNumber', {bomId: this.$route.params.id})
|
|
|
+ this.$router.push('/applyPurchase/result?status=success&count=' + response.data.data.successAmount)
|
|
|
} else {
|
|
|
- this.$message.error(response.data.message)
|
|
|
+// this.$message.error(response.data.message)
|
|
|
+ this.$router.push('/applyPurchase/result?status=error')
|
|
|
}
|
|
|
}, err => {
|
|
|
console.log(err)
|