Browse Source

新增预约单计划

dev-xx
马远东 1 year ago
parent
commit
55ae0bdfb0
  1. 12
      src/views/distribution/reservation/reservationAddFrom.vue

12
src/views/distribution/reservation/reservationAddFrom.vue

@ -1,6 +1,8 @@
<template>
<basic-container>
<div class="avue-crud">
<basic-container >
<div class="avue-crud"
v-loading="reservationloading"
element-loading-text="正在处理中...">
<el-form
ref="form"
:model="form"
@ -575,6 +577,7 @@ export default {
return {
Inventoryloading:true,//
packageQuery: {},
reservationloading:false,
orderRow: {},
columnList: [
{
@ -2459,11 +2462,12 @@ export default {
this.$router.back();
this.$store.commit('DEL_TAG_CURRENT');
},
//
async onSubmit() {
try {
// loading
this.loadingObj.submitBtnLoading = true;
this.reservationloading=true;//
//
if (!this.form.reservationDate) {
this.$message({
@ -2562,6 +2566,7 @@ export default {
const res = await autonomouslySave(this.form);
console.log('res :>> ', res);
if (res.data.code !== 200) return;
this.$message({
type: 'success',
message: '操作成功!',
@ -2573,6 +2578,7 @@ export default {
} finally {
// loading
this.loadingObj.submitBtnLoading = false;
this.reservationloading=false;//
}
},
inputsc() {},

Loading…
Cancel
Save