|
|
@@ -17,7 +17,7 @@
|
|
|
</template>
|
|
|
<script>
|
|
|
import TuiListCell from "@/components/plugin/list-cell";
|
|
|
-import { skCustom,skCustomSet } from "@/api/shop";
|
|
|
+import { kjCustom,kjCustomSet } from "@/api/shop";
|
|
|
export default {
|
|
|
name: "sk",
|
|
|
components: {TuiListCell},
|
|
|
@@ -35,7 +35,7 @@ export default {
|
|
|
if(this.hasLoad){
|
|
|
return false
|
|
|
}
|
|
|
- skCustom().then(res=>{
|
|
|
+ kjCustom().then(res=>{
|
|
|
if(res.code == 1){
|
|
|
this.hasLoad = true
|
|
|
this.form.customName = res.data.custom.name
|
|
|
@@ -53,7 +53,7 @@ export default {
|
|
|
that.$msg('请选择门店')
|
|
|
return false
|
|
|
}
|
|
|
- skCustomSet({id:that.form.customId}).then(res=>{
|
|
|
+ kjCustomSet({id:that.form.customId}).then(res=>{
|
|
|
if(res.code == 1){
|
|
|
that.$msg(res.msg)
|
|
|
setTimeout(function(){
|