order-diff.vue
1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<template>
<layout-body>
<layout-list>
<Table border :columns="columns" :data="dataList"></Table>
</layout-list>
</layout-body>
</template>
<script>
import {DiffService} from 'services/repository';
export default {
name: 'order-info',
props: {
id: Number
},
data() {
return {
columns: [{
title: '序号',
key: 'id'
}, {
title: '品牌',
key: 'brandName'
}, {
title: '条码',
key: 'factoryCode'
}, {
title: 'sku',
key: 'productSku'
}, {
title: '颜色',
key: 'color'
}, {
title: '尺码',
key: 'size'
}, {
title: '数量',
key: 'orderNumber'
}, {
title: '吊牌价',
key: 'retailPrice'
}, {
title: '供应商',
key: 'supplierName'
}],
dataList: []
};
},
created() {
this.DiffService = new DiffService();
this.DiffService.diffInfo({
workOrderId: +this.id
})
.then(res => {
this.$Loading.finish();
this.dataList = res.data;
});
},
methods: {
}
};
</script>
<style lang="scss">
</style>