|
@@ -29,7 +29,7 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
-import { importSbInfo } from '@/api/sb/info'
|
|
|
|
|
|
+import { importSbInfo2 } from '@/api/sb/info'
|
|
|
|
|
|
export default {
|
|
export default {
|
|
name: 'SbModelBomImportForm',
|
|
name: 'SbModelBomImportForm',
|
|
@@ -96,7 +96,7 @@ export default {
|
|
const formData = new FormData()
|
|
const formData = new FormData()
|
|
formData.append('type', this.type)
|
|
formData.append('type', this.type)
|
|
formData.append('file', this.fileList[0])
|
|
formData.append('file', this.fileList[0])
|
|
- importSbInfo(formData)
|
|
|
|
|
|
+ importSbInfo2(formData)
|
|
.then((res) => {
|
|
.then((res) => {
|
|
this.$message.success(res.data)
|
|
this.$message.success(res.data)
|
|
this.handleCancel(values)
|
|
this.handleCancel(values)
|