|
@@ -81,7 +81,7 @@
|
|
|
<script>
|
|
|
import { commonMixin } from '@/utils/mixin'
|
|
|
import { hdExportExcel } from '@/libs/exportExcel'
|
|
|
-import { productPriceFailExcel } from '@/api/product'
|
|
|
+import { codeExportImportError } from '@/api/reportData'
|
|
|
export default {
|
|
|
name: 'ChooseImportModal',
|
|
|
mixins: [commonMixin],
|
|
@@ -124,7 +124,6 @@ export default {
|
|
|
getData () {
|
|
|
const _this = this
|
|
|
const paramsData = JSON.parse(JSON.stringify(_this.paramsData))
|
|
|
- console.log(paramsData)
|
|
|
this.loadData = paramsData.rightList || []
|
|
|
this.unLoadData = paramsData.errorList || []
|
|
|
this.loadData.map((item, index) => {
|
|
@@ -151,7 +150,7 @@ export default {
|
|
|
return
|
|
|
}
|
|
|
_this.spinning = true
|
|
|
- hdExportExcel(productPriceFailExcel, _this.unLoadData, '轮胎唯一码错误项', function () {
|
|
|
+ hdExportExcel(codeExportImportError, _this.unLoadData, '轮胎唯一码错误项', function () {
|
|
|
_this.spinning = false
|
|
|
})
|
|
|
}
|