update 完成订单里的弹窗内容
This commit is contained in:
@@ -51,6 +51,8 @@
|
||||
title="导入订单"
|
||||
@destroy-dialog="uploadDialogVisible = false"
|
||||
@refresh-list="handleRefreshList" />
|
||||
|
||||
<Overlay v-if="overlayVisible" />
|
||||
</section>
|
||||
</template>
|
||||
|
||||
@@ -61,11 +63,12 @@ import DialogJustForm from "./DialogJustForm.vue";
|
||||
import DialogWithMenu from "./DialogWithMenu.vue";
|
||||
import DialogUpload from "@/components/DialogUpload.vue";
|
||||
import moment from "moment";
|
||||
import Overlay from "@/components/Overlay.vue";
|
||||
|
||||
// const dictList = JSON.parse(localStorage.getItem("dictList"));
|
||||
export default {
|
||||
name: "ListSectionWithHead",
|
||||
components: { BaseSearchForm, BaseListTable, DialogWithMenu, DialogJustForm, DialogUpload },
|
||||
components: { BaseSearchForm, BaseListTable, DialogWithMenu, DialogJustForm, DialogUpload, Overlay },
|
||||
props: {
|
||||
headConfig: {
|
||||
type: Object,
|
||||
@@ -125,6 +128,7 @@ export default {
|
||||
renderDialog: false,
|
||||
renderMenuDialog: false,
|
||||
uploadDialogVisible: false,
|
||||
overlayVisible: false,
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
@@ -188,6 +192,7 @@ export default {
|
||||
type: "warning",
|
||||
})
|
||||
.then(() => {
|
||||
this.overlayVisible = true;
|
||||
return this.$http.post("/pms/order/confirm", data, {
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
@@ -195,6 +200,7 @@ export default {
|
||||
});
|
||||
})
|
||||
.then(({ data: res }) => {
|
||||
this.overlayVisible = false;
|
||||
if (res.code === 0) {
|
||||
// success
|
||||
this.$message({
|
||||
|
||||
Reference in New Issue
Block a user