no message
Showing
2 changed files
with
11 additions
and
2 deletions
| ... | @@ -234,8 +234,8 @@ const unsubscribe = (row) => { | ... | @@ -234,8 +234,8 @@ const unsubscribe = (row) => { |
| 234 | } | 234 | } |
| 235 | 235 | ||
| 236 | const downInvoice = (row) => { | 236 | const downInvoice = (row) => { |
| 237 | proxy.download(``, { | 237 | proxy.download(`/ota/orderRoom/exportRoomBillPayment`, { |
| 238 | id: row.id | 238 | orderId: row.id |
| 239 | }, `Invoice_${new Date().getTime()}.pdf`) | 239 | }, `Invoice_${new Date().getTime()}.pdf`) |
| 240 | } | 240 | } |
| 241 | 241 | ... | ... |
| ... | @@ -212,6 +212,15 @@ function popRemark(type) { | ... | @@ -212,6 +212,15 @@ function popRemark(type) { |
| 212 | } | 212 | } |
| 213 | 213 | ||
| 214 | if (type == '2') { | 214 | if (type == '2') { |
| 215 | if (!useStore.user) { | ||
| 216 | // ElMessage({ | ||
| 217 | // type: 'warning', | ||
| 218 | // message: language.value == 0 ? '请先登录' : 'Please login first', | ||
| 219 | // }) | ||
| 220 | useStore.setVisitor() | ||
| 221 | return | ||
| 222 | } | ||
| 223 | |||
| 215 | emit("pickUp") | 224 | emit("pickUp") |
| 216 | return; | 225 | return; |
| 217 | } | 226 | } | ... | ... |
-
Please register or sign in to post a comment