|
|
|
@ -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() {}, |
|
|
|
|