|
@@ -32,7 +32,7 @@
|
|
|
<script>
|
|
|
import { STable } from '@/components'
|
|
|
import { getOperationalPrecision } from '@/libs/tools.js'
|
|
|
-import { salesDetailList } from '@/api/salesDetail'
|
|
|
+import { salesDetailPromoProductList } from '@/api/salesDetail'
|
|
|
export default {
|
|
|
name: 'OrderStatisticsDetailModal',
|
|
|
components: { STable },
|
|
@@ -70,7 +70,7 @@ export default {
|
|
|
],
|
|
|
// 加载数据方法 必须为 Promise 对象
|
|
|
loadData: parameter => {
|
|
|
- return salesDetailList(Object.assign(parameter, { productSn: this.itemSn, promotionFlag: 1 })).then(res => {
|
|
|
+ return salesDetailPromoProductList(Object.assign(parameter, { productSn: this.itemSn, promotionFlag: 1 })).then(res => {
|
|
|
const data = res.data
|
|
|
const no = (data.pageNo - 1) * data.pageSize
|
|
|
for (var i = 0; i < data.list.length; i++) {
|