hgwms-2099 fix 提示展示逻辑修改
parent
0ad90ebf0e
commit
8beb440874
|
|
@ -57,10 +57,10 @@ export default defineComponent({
|
||||||
const editKey = "add";
|
const editKey = "add";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
message.loading({ content: '提交中...', key: editKey });
|
|
||||||
formRef.value
|
formRef.value
|
||||||
.validate()
|
.validate()
|
||||||
.then(() => {
|
.then(() => {
|
||||||
|
message.loading({ content: '提交中...', key: editKey });
|
||||||
edit(toRaw(formState)).then((response)=>{
|
edit(toRaw(formState)).then((response)=>{
|
||||||
if(response.success){
|
if(response.success){
|
||||||
message.success({ content: '保存成功', key: editKey, duration: 1 }).then(()=>{
|
message.success({ content: '保存成功', key: editKey, duration: 1 }).then(()=>{
|
||||||
|
|
|
||||||
|
|
@ -48,10 +48,10 @@ export default defineComponent({
|
||||||
const saveKey = "save";
|
const saveKey = "save";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
message.loading({ content: '提交中...', key: saveKey });
|
|
||||||
formRef.value
|
formRef.value
|
||||||
.validate()
|
.validate()
|
||||||
.then(() => {
|
.then(() => {
|
||||||
|
message.loading({ content: '提交中...', key: saveKey });
|
||||||
save(toRaw(formState)).then((response)=>{
|
save(toRaw(formState)).then((response)=>{
|
||||||
if(response.success){
|
if(response.success){
|
||||||
message.success({ content: '保存成功', key: saveKey, duration: 1 }).then(()=>{
|
message.success({ content: '保存成功', key: saveKey, duration: 1 }).then(()=>{
|
||||||
|
|
|
||||||
|
|
@ -52,10 +52,10 @@ export default defineComponent({
|
||||||
const editKey = "add";
|
const editKey = "add";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
message.loading({ content: '提交中...', key: editKey });
|
|
||||||
formRef.value
|
formRef.value
|
||||||
.validate()
|
.validate()
|
||||||
.then(() => {
|
.then(() => {
|
||||||
|
message.loading({ content: '提交中...', key: editKey });
|
||||||
edit(toRaw(formState)).then((response)=>{
|
edit(toRaw(formState)).then((response)=>{
|
||||||
if(response.success){
|
if(response.success){
|
||||||
message.success({ content: '保存成功', key: editKey, duration: 1 }).then(()=>{
|
message.success({ content: '保存成功', key: editKey, duration: 1 }).then(()=>{
|
||||||
|
|
|
||||||
|
|
@ -59,10 +59,10 @@ export default defineComponent({
|
||||||
}
|
}
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
message.loading({ content: '提交中...', key: saveKey });
|
|
||||||
formRef.value
|
formRef.value
|
||||||
.validate()
|
.validate()
|
||||||
.then(() => {
|
.then(() => {
|
||||||
|
message.loading({ content: '提交中...', key: saveKey });
|
||||||
save(toRaw(formState)).then((response)=>{
|
save(toRaw(formState)).then((response)=>{
|
||||||
if(response.success){
|
if(response.success){
|
||||||
message.success({ content: '保存成功', key: saveKey, duration: 1 }).then(()=>{
|
message.success({ content: '保存成功', key: saveKey, duration: 1 }).then(()=>{
|
||||||
|
|
|
||||||
|
|
@ -74,10 +74,10 @@ export default defineComponent({
|
||||||
const editKey = "add";
|
const editKey = "add";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
message.loading({ content: '提交中...', key: editKey });
|
|
||||||
formRef.value
|
formRef.value
|
||||||
.validate()
|
.validate()
|
||||||
.then(() => {
|
.then(() => {
|
||||||
|
message.loading({ content: '提交中...', key: editKey });
|
||||||
edit(toRaw(formState)).then((response)=>{
|
edit(toRaw(formState)).then((response)=>{
|
||||||
if(response.success){
|
if(response.success){
|
||||||
message.success({ content: '保存成功', key: editKey, duration: 1 }).then(()=>{
|
message.success({ content: '保存成功', key: editKey, duration: 1 }).then(()=>{
|
||||||
|
|
|
||||||
|
|
@ -125,13 +125,13 @@
|
||||||
|
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: editKey
|
key: editKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
edit(toRaw(formState)).then((response) => {
|
edit(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -110,13 +110,13 @@
|
||||||
|
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: saveKey
|
key: saveKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
save(toRaw(formState)).then((response) => {
|
save(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -195,13 +195,13 @@ export default defineComponent({
|
||||||
};
|
};
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: "提交中...",
|
content: "提交中...",
|
||||||
key: editKey,
|
key: editKey,
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
edit(toRaw(formState)).then((response) => {
|
edit(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message
|
message
|
||||||
|
|
|
||||||
|
|
@ -407,13 +407,13 @@
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: saveKey
|
key: saveKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
save(toRaw(formState)).then((response) => {
|
save(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -118,13 +118,13 @@ export default defineComponent({
|
||||||
const editKey = "add";
|
const editKey = "add";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: "提交中...",
|
content: "提交中...",
|
||||||
key: editKey,
|
key: editKey,
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
edit(toRaw(formState)).then((response) => {
|
edit(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message
|
message
|
||||||
|
|
|
||||||
|
|
@ -154,13 +154,13 @@ export default defineComponent({
|
||||||
const saveKey = "save";
|
const saveKey = "save";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: "提交中...",
|
content: "提交中...",
|
||||||
key: saveKey,
|
key: saveKey,
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
save(toRaw(formState)).then((response) => {
|
save(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message
|
message
|
||||||
|
|
|
||||||
|
|
@ -471,13 +471,13 @@
|
||||||
// console.log("formState.formState", formState.formState)
|
// console.log("formState.formState", formState.formState)
|
||||||
formState.details = state.param.data
|
formState.details = state.param.data
|
||||||
console.log("formState.details", formState.details)
|
console.log("formState.details", formState.details)
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: save
|
key: save
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
// console.log("formState.canEdite", formState.canEdite)
|
// console.log("formState.canEdite", formState.canEdite)
|
||||||
// if (formState.canEdite) {
|
// if (formState.canEdite) {
|
||||||
// console.log("1")
|
// console.log("1")
|
||||||
|
|
|
||||||
|
|
@ -351,13 +351,13 @@
|
||||||
const editKey = "add";
|
const editKey = "add";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: editKey
|
key: editKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
edit(toRaw(formState)).then((response) => {
|
edit(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -962,13 +962,13 @@
|
||||||
// let JsonString = JSON.stringify(formState);
|
// let JsonString = JSON.stringify(formState);
|
||||||
// console.log("formState 之后", a)
|
// console.log("formState 之后", a)
|
||||||
// console.log("aJsonString 之后", a)
|
// console.log("aJsonString 之后", a)
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: save
|
key: save
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
console.log("state.canEdite", state.canEdite)
|
console.log("state.canEdite", state.canEdite)
|
||||||
if (state.canEdite) {
|
if (state.canEdite) {
|
||||||
//单据和主表一起新增 方法1
|
//单据和主表一起新增 方法1
|
||||||
|
|
|
||||||
|
|
@ -989,13 +989,13 @@
|
||||||
// let JsonString = JSON.stringify(formState);
|
// let JsonString = JSON.stringify(formState);
|
||||||
// console.log("formState 之后", a)
|
// console.log("formState 之后", a)
|
||||||
// console.log("aJsonString 之后", a)
|
// console.log("aJsonString 之后", a)
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: save
|
key: save
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
console.log("state.canEdite", state.canEdite)
|
console.log("state.canEdite", state.canEdite)
|
||||||
if (state.canEdite) {
|
if (state.canEdite) {
|
||||||
//单据和主表一起新增 方法1
|
//单据和主表一起新增 方法1
|
||||||
|
|
|
||||||
|
|
@ -387,13 +387,13 @@
|
||||||
const editKey = "add";
|
const editKey = "add";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: editKey
|
key: editKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
edit(toRaw(formState)).then((response) => {
|
edit(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -72,14 +72,14 @@
|
||||||
const editKey = "add";
|
const editKey = "add";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
message.loading({
|
|
||||||
content: '提交中...',
|
|
||||||
key: editKey
|
|
||||||
});
|
|
||||||
console.log(formState.ids)
|
console.log(formState.ids)
|
||||||
formRef.value
|
formRef.value
|
||||||
.validate()
|
.validate()
|
||||||
.then(() => {
|
.then(() => {
|
||||||
|
message.loading({
|
||||||
|
content: '提交中...',
|
||||||
|
key: editKey
|
||||||
|
});
|
||||||
changeLocStatus(toRaw(formState)).then((response) => {
|
changeLocStatus(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -75,13 +75,13 @@
|
||||||
const editKey = "add";
|
const editKey = "add";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: editKey
|
key: editKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
changeLocStoreStatus(toRaw(formState)).then((response) => {
|
changeLocStoreStatus(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -294,13 +294,13 @@
|
||||||
|
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: saveKey
|
key: saveKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
save(toRaw(formState)).then((response) => {
|
save(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -294,13 +294,13 @@
|
||||||
|
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: saveKey
|
key: saveKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
save(toRaw(formState)).then((response) => {
|
save(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -76,13 +76,13 @@
|
||||||
const saveKey = "palletCheck";
|
const saveKey = "palletCheck";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: saveKey
|
key: saveKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
palletCheck(toRaw(formState)).then((response) => {
|
palletCheck(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -100,13 +100,13 @@
|
||||||
const editKey = "add";
|
const editKey = "add";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: editKey
|
key: editKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
edit(toRaw(formState)).then((response) => {
|
edit(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -216,13 +216,13 @@ export default defineComponent({
|
||||||
const editKey = "add";
|
const editKey = "add";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: "提交中...",
|
content: "提交中...",
|
||||||
key: editKey,
|
key: editKey,
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
edit(toRaw(formState)).then((response) => {
|
edit(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message
|
message
|
||||||
|
|
|
||||||
|
|
@ -227,13 +227,13 @@
|
||||||
const saveKey = "save";
|
const saveKey = "save";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: saveKey
|
key: saveKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
save(toRaw(formState)).then((response) => {
|
save(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -133,13 +133,13 @@
|
||||||
const saveKey = "save";
|
const saveKey = "save";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: saveKey
|
key: saveKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
save(toRaw(formState)).then((response) => {
|
save(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -121,13 +121,13 @@
|
||||||
const editKey = "add";
|
const editKey = "add";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: editKey
|
key: editKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
edit(toRaw(formState)).then((response) => {
|
edit(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -108,13 +108,13 @@
|
||||||
|
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: saveKey
|
key: saveKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
save(toRaw(formState)).then((response) => {
|
save(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -104,13 +104,13 @@
|
||||||
const editKey = "add";
|
const editKey = "add";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: editKey
|
key: editKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
edit(toRaw(formState)).then((response) => {
|
edit(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -97,13 +97,13 @@
|
||||||
|
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: saveKey
|
key: saveKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
save(toRaw(formState)).then((response) => {
|
save(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -82,14 +82,14 @@
|
||||||
const editKey = "add";
|
const editKey = "add";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
message.loading({
|
|
||||||
content: '提交中...',
|
|
||||||
key: editKey
|
|
||||||
});
|
|
||||||
console.log(formState.ids)
|
console.log(formState.ids)
|
||||||
formRef.value
|
formRef.value
|
||||||
.validate()
|
.validate()
|
||||||
.then(() => {
|
.then(() => {
|
||||||
|
message.loading({
|
||||||
|
content: '提交中...',
|
||||||
|
key: editKey
|
||||||
|
});
|
||||||
changeLocStatus(toRaw(formState)).then((response) => {
|
changeLocStatus(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -85,13 +85,13 @@
|
||||||
const editKey = "add";
|
const editKey = "add";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: editKey
|
key: editKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
changeLocStoreStatus(toRaw(formState)).then((response) => {
|
changeLocStoreStatus(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -200,13 +200,13 @@
|
||||||
const editKey = "add";
|
const editKey = "add";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: editKey
|
key: editKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
edit(toRaw(formState)).then((response) => {
|
edit(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -230,13 +230,13 @@
|
||||||
const saveKey = "save";
|
const saveKey = "save";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: saveKey
|
key: saveKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
save(toRaw(formState)).then((response) => {
|
save(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -127,13 +127,13 @@
|
||||||
const editKey = "add";
|
const editKey = "add";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: editKey
|
key: editKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
edit(toRaw(formState)).then((response) => {
|
edit(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -113,13 +113,13 @@
|
||||||
|
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: saveKey
|
key: saveKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
save(toRaw(formState)).then((response) => {
|
save(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -97,13 +97,13 @@
|
||||||
const editKey = "add";
|
const editKey = "add";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: editKey
|
key: editKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
edit(toRaw(formState)).then((response) => {
|
edit(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -108,13 +108,13 @@
|
||||||
|
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: saveKey
|
key: saveKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
save(toRaw(formState)).then((response) => {
|
save(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -79,13 +79,13 @@
|
||||||
const editKey = "add";
|
const editKey = "add";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: editKey
|
key: editKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
edit(toRaw(formState)).then((response) => {
|
edit(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -89,13 +89,13 @@
|
||||||
|
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: saveKey
|
key: saveKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
save(toRaw(formState)).then((response) => {
|
save(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -82,13 +82,13 @@
|
||||||
const editKey = "add";
|
const editKey = "add";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: editKey
|
key: editKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
edit(toRaw(formState)).then((response) => {
|
edit(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -92,13 +92,13 @@
|
||||||
|
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: saveKey
|
key: saveKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
save(toRaw(formState)).then((response) => {
|
save(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -83,13 +83,13 @@
|
||||||
const editKey = "add";
|
const editKey = "add";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: editKey
|
key: editKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
edit(toRaw(formState)).then((response) => {
|
edit(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -92,13 +92,13 @@
|
||||||
|
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: saveKey
|
key: saveKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
save(toRaw(formState)).then((response) => {
|
save(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -202,13 +202,13 @@
|
||||||
const editKey = "add";
|
const editKey = "add";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: editKey
|
key: editKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
edit(toRaw(formState)).then((response) => {
|
edit(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -140,13 +140,13 @@
|
||||||
|
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: saveKey
|
key: saveKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
save(toRaw(formState)).then((response) => {
|
save(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -202,13 +202,13 @@
|
||||||
const editKey = "add";
|
const editKey = "add";
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: editKey
|
key: editKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
edit(toRaw(formState)).then((response) => {
|
edit(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -140,13 +140,13 @@
|
||||||
|
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: saveKey
|
key: saveKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
save(toRaw(formState)).then((response) => {
|
save(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -81,13 +81,13 @@
|
||||||
|
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: editKey
|
key: editKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
edit(toRaw(formState)).then((response) => {
|
edit(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
|
|
@ -90,13 +90,13 @@
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
const submit = (e) => {
|
const submit = (e) => {
|
||||||
|
formRef.value
|
||||||
|
.validate()
|
||||||
|
.then(() => {
|
||||||
message.loading({
|
message.loading({
|
||||||
content: '提交中...',
|
content: '提交中...',
|
||||||
key: saveKey
|
key: saveKey
|
||||||
});
|
});
|
||||||
formRef.value
|
|
||||||
.validate()
|
|
||||||
.then(() => {
|
|
||||||
save(toRaw(formState)).then((response) => {
|
save(toRaw(formState)).then((response) => {
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
message.success({
|
message.success({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue