1234567891011121314151617181920212223242526272829303132333435 |
- 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;
- if(process.car.SIMPLE_RUN){
- this.id="1908362f-9685-462c-93bb-200c4997641"
- }
- },
- onReady() {
- this.getSellDetail();
- }
- }
|