From 1c0376f60c6a27da1a5122736b831ed7ec42c16a Mon Sep 17 00:00:00 2001 From: Jruome <2559028966@qq.com> Date: Tue, 27 Jun 2023 14:03:19 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E7=AB=AF=20=E6=89=B9?= =?UTF-8?q?=E9=87=8F=E6=9B=B4=E6=94=B9=E5=8F=91=E8=B4=A7=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E8=BF=9B=E8=A1=8C=E4=BA=8C=E6=AC=A1=E7=A1=AE=E8=AE=A4=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-ui-admin/src/views/shop/rechargeOrder/index.vue | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/yudao-ui-admin/src/views/shop/rechargeOrder/index.vue b/yudao-ui-admin/src/views/shop/rechargeOrder/index.vue index fbf2f46e0..96d8a6661 100644 --- a/yudao-ui-admin/src/views/shop/rechargeOrder/index.vue +++ b/yudao-ui-admin/src/views/shop/rechargeOrder/index.vue @@ -160,6 +160,7 @@ import {DICT_TYPE, getDictDatas} from "@/utils/dict"; import ElementForm from "@/components/bpmnProcessDesigner/package/penal/form/ElementForm.vue"; import Treeselect from "@riophae/vue-treeselect"; import '@riophae/vue-treeselect/dist/vue-treeselect.css'; +import {deletePhoneRecord} from "@/api/shop/phoneRecord"; export default { name: "RechargeOrder", computed: { @@ -283,10 +284,14 @@ export default { return false; //禁用 } }, - async handleGoods(){ + handleGoods(){ if(this.multipleSelection.length){ - await updateByIds({ids:this.multipleSelection,status:true}) - this.getList(); + this.$modal.confirm('是否更改勾选订单发货状态?').then(()=> { + return updateByIds({ids:this.multipleSelection,status:true}) + }).then(() => { + this.getList(); + this.$modal.msgSuccess("修改成功"); + }).catch(() => {}); }else { this.$modal.msgWarning("请勾选需要更改发货状态的订单") }