|
@@ -74,7 +74,7 @@
|
|
<script>
|
|
<script>
|
|
import { getOperationalPrecision } from '@/libs/tools.js'
|
|
import { getOperationalPrecision } from '@/libs/tools.js'
|
|
import { STable, VSelect } from '@/components'
|
|
import { STable, VSelect } from '@/components'
|
|
-import { salesDetail } from '@/api/sales'
|
|
|
|
|
|
+import { salesDetailBySn } from '@/api/sales'
|
|
import { salesDetailList } from '@/api/salesDetail'
|
|
import { salesDetailList } from '@/api/salesDetail'
|
|
export default {
|
|
export default {
|
|
name: 'SalesDetail',
|
|
name: 'SalesDetail',
|
|
@@ -150,7 +150,7 @@ export default {
|
|
},
|
|
},
|
|
// 详情
|
|
// 详情
|
|
getDetail () {
|
|
getDetail () {
|
|
- salesDetail({ id: this.$route.params.id }).then(res => {
|
|
|
|
|
|
+ salesDetailBySn({ salesBillSn: this.$route.params.sn }).then(res => {
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|
|
this.detailData = res.data
|
|
this.detailData = res.data
|
|
} else {
|
|
} else {
|