管理端 批量更改发货状态进行二次确认提示
parent
f7da38634b
commit
1c0376f60c
|
@ -160,6 +160,7 @@ import {DICT_TYPE, getDictDatas} from "@/utils/dict";
|
||||||
import ElementForm from "@/components/bpmnProcessDesigner/package/penal/form/ElementForm.vue";
|
import ElementForm from "@/components/bpmnProcessDesigner/package/penal/form/ElementForm.vue";
|
||||||
import Treeselect from "@riophae/vue-treeselect";
|
import Treeselect from "@riophae/vue-treeselect";
|
||||||
import '@riophae/vue-treeselect/dist/vue-treeselect.css';
|
import '@riophae/vue-treeselect/dist/vue-treeselect.css';
|
||||||
|
import {deletePhoneRecord} from "@/api/shop/phoneRecord";
|
||||||
export default {
|
export default {
|
||||||
name: "RechargeOrder",
|
name: "RechargeOrder",
|
||||||
computed: {
|
computed: {
|
||||||
|
@ -283,10 +284,14 @@ export default {
|
||||||
return false; //禁用
|
return false; //禁用
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async handleGoods(){
|
handleGoods(){
|
||||||
if(this.multipleSelection.length){
|
if(this.multipleSelection.length){
|
||||||
await updateByIds({ids:this.multipleSelection,status:true})
|
this.$modal.confirm('是否更改勾选订单发货状态?').then(()=> {
|
||||||
this.getList();
|
return updateByIds({ids:this.multipleSelection,status:true})
|
||||||
|
}).then(() => {
|
||||||
|
this.getList();
|
||||||
|
this.$modal.msgSuccess("修改成功");
|
||||||
|
}).catch(() => {});
|
||||||
}else {
|
}else {
|
||||||
this.$modal.msgWarning("请勾选需要更改发货状态的订单")
|
this.$modal.msgWarning("请勾选需要更改发货状态的订单")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue