update
This commit is contained in:
parent
7917ac2d3d
commit
f289e32b31
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { baiducloudAPI } from '@/api/BaiDuTokenapi'
|
import { baiducloudAPI } from '@/api/BaiDuTokenapi'
|
||||||
import { reqBaiduJudgePrice } from '@/api/baidu'
|
import { reqBaiduJudgePrice, reqConfirmBtn } from '@/api/baidu'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'baiduProductShow',
|
name: 'baiduProductShow',
|
||||||
@ -75,7 +75,7 @@ export default {
|
|||||||
|
|
||||||
// 3. 提取订单ID (这里假设取第一个,或者根据需要处理整个数组)
|
// 3. 提取订单ID (这里假设取第一个,或者根据需要处理整个数组)
|
||||||
// 如果只需要一个订单ID进行退订
|
// 如果只需要一个订单ID进行退订
|
||||||
const orderId = String(uuidListArray[0]);
|
const orderId = uuidListArray;
|
||||||
// 如果需要处理多个订单ID,可以用逗号连接
|
// 如果需要处理多个订单ID,可以用逗号连接
|
||||||
// const orderId = uuidListArray.join(',');
|
// const orderId = uuidListArray.join(',');
|
||||||
|
|
||||||
@ -99,7 +99,7 @@ export default {
|
|||||||
this.loading = true;
|
this.loading = true;
|
||||||
|
|
||||||
// 7. 调用退订API
|
// 7. 调用退订API
|
||||||
reqBaiduJudgePrice(payload)
|
reqConfirmBtn(payload)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
console.log("调用 reqBaiduJudgePrice 接口返回:", res);
|
console.log("调用 reqBaiduJudgePrice 接口返回:", res);
|
||||||
if (res.status) { // 假设 status 为 true 表示成功
|
if (res.status) { // 假设 status 为 true 表示成功
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user