|
@@ -76,7 +76,7 @@ import rangeDate from '@/views/common/rangeDate.vue'
|
|
|
import ProductType from '../../common/productType.js'
|
|
|
import ProductBrand from '../../common/productBrand.js'
|
|
|
import supplier from '@/views/common/supplier'
|
|
|
-import { reportStockImportDetailList, reportStockImportDetailCount } from '@/api/reportData'
|
|
|
+import { stockImportDetailList, stockImportDetailCount } from '@/api/stockImport'
|
|
|
export default {
|
|
|
components: { STable, VSelect, rangeDate, ProductType, ProductBrand, supplier },
|
|
|
mixins: [commonMixin],
|
|
@@ -119,7 +119,7 @@ export default {
|
|
|
params.stockImportNo = this.detailSn
|
|
|
params.importType = this.typeInfo
|
|
|
}
|
|
|
- return reportStockImportDetailList(params).then(res => {
|
|
|
+ return stockImportDetailList(params).then(res => {
|
|
|
let data
|
|
|
this.countInfo = res.data.count
|
|
|
if (res.status == 200) {
|
|
@@ -172,7 +172,7 @@ export default {
|
|
|
},
|
|
|
// 合计
|
|
|
getCount (params) {
|
|
|
- reportStockImportDetailCount(params).then(res => {
|
|
|
+ stockImportDetailCount(params).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
this.totalData = res.data
|
|
|
} else {
|