|
|
@@ -13,7 +13,7 @@
|
|
|
</div>
|
|
|
<div class="publish-area">
|
|
|
<div class="publish-form-area">
|
|
|
- <p>单个发布</p>
|
|
|
+ <p>单个求购</p>
|
|
|
<div>
|
|
|
<div class="form-item">
|
|
|
<span>
|
|
|
@@ -81,7 +81,7 @@
|
|
|
<a @click="goPublish()">发布求购</a>
|
|
|
</div>
|
|
|
<div class="publish-upload">
|
|
|
- <h1>批量发布</h1>
|
|
|
+ <h1>批量求购</h1>
|
|
|
<h2>3秒一键配单采购</h2>
|
|
|
<label>
|
|
|
<img src="/images/applyPurchase/upload.png" alt="" />
|
|
|
@@ -442,7 +442,9 @@
|
|
|
}
|
|
|
},
|
|
|
onSuccess: function (data) {
|
|
|
- if (data.success) {
|
|
|
+ if (!this.user.logged) {
|
|
|
+ this.$router.push('/auth/login?returnUrl=' + window.location.href)
|
|
|
+ } else if (data.success) {
|
|
|
window.open('/applyPurchase/' + data.data)
|
|
|
} else {
|
|
|
this.$message.error(data.message)
|
|
|
@@ -685,6 +687,7 @@
|
|
|
}
|
|
|
.download-line {
|
|
|
cursor: pointer;
|
|
|
+ color: #b47200;
|
|
|
}
|
|
|
.apply-logo {
|
|
|
position: absolute;
|