Commit 3bf89b40 authored by Z's avatar Z

Z: Dot: store's single del complate.

parent 9cba91ed
...@@ -209,9 +209,13 @@ export default { ...@@ -209,9 +209,13 @@ export default {
ApiStoreAddStore(postData) ApiStoreAddStore(postData)
.then(res => { .then(res => {
console.log('--->res')
}) })
.catch(err => {}); .catch(err => {
});
// this.$refs[inDataName].validate(valid => { // this.$refs[inDataName].validate(valid => {
// if (valid) { // if (valid) {
......
...@@ -249,7 +249,17 @@ export default { ...@@ -249,7 +249,17 @@ export default {
stallId: 123456 stallId: 123456
}; };
ApiStoreDelStore(inData).then(res => {}); ApiStoreDelStore(inData)
.then(res => {
console.log('--->delRes =', res)
if(res.result == 'success'){
this.$message({
message: '删除成功',
type: 'success'
})
this.storeGetMainList();
}
});
}, },
listPick() {}, listPick() {},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment