123456789101112131415161718192021222324252627282930313233 |
- import * as API from '@/apis/merchant.js'
- export default {
- data() {
- return {
- id:'',
- info:{}
- }
- },
- methods: {
-
- getSellDetail() {
- this.$refs.common.showLoading()
- API.sellDetail(this.id).then(response => {
- this.info = response.data;
- this.$refs.common.showLoading(false);
-
- }).catch(error => {
- this.$refs.common.showLoading(false, error);
- })
- },
-
- },
- onLoad(temp) {
-
- this.id = temp.id;
-
- },
- onReady() {
- this.getSellDetail();
- }
- }
|