|
@@ -87,7 +87,7 @@ import rangeDate from '@/views/common/rangeDate.vue'
|
|
import detailList from '@/views/inventoryManagement/inventoryImport/detailList.vue'
|
|
import detailList from '@/views/inventoryManagement/inventoryImport/detailList.vue'
|
|
import getDate from '@/libs/getDate.js'
|
|
import getDate from '@/libs/getDate.js'
|
|
import importGuideModal from './importGuideModal.vue'
|
|
import importGuideModal from './importGuideModal.vue'
|
|
-import { sparePartsPurList, sparePartsPurCount } from '@/api/stockImport'
|
|
|
|
|
|
+import { stockImportAllList, stockImportCount } from '@/api/stockImport'
|
|
export default {
|
|
export default {
|
|
components: { STable, VSelect, rangeDate, importGuideModal, detailList },
|
|
components: { STable, VSelect, rangeDate, importGuideModal, detailList },
|
|
mixins: [commonMixin],
|
|
mixins: [commonMixin],
|
|
@@ -121,7 +121,7 @@ export default {
|
|
const params = Object.assign(parameter, this.queryParam)
|
|
const params = Object.assign(parameter, this.queryParam)
|
|
this.spinning = true
|
|
this.spinning = true
|
|
delete params.time
|
|
delete params.time
|
|
- return sparePartsPurList(params).then(res => {
|
|
|
|
|
|
+ return stockImportAllList(params).then(res => {
|
|
let data
|
|
let data
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|
|
data = res.data
|
|
data = res.data
|
|
@@ -168,7 +168,7 @@ export default {
|
|
},
|
|
},
|
|
// 合计
|
|
// 合计
|
|
getCount (params) {
|
|
getCount (params) {
|
|
- sparePartsPurCount(params).then(res => {
|
|
|
|
|
|
+ stockImportCount(params).then(res => {
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|
|
this.totalData = res.data
|
|
this.totalData = res.data
|
|
} else {
|
|
} else {
|