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("请勾选需要更改发货状态的订单") }