Commit 3d6c3811 authored by yaya's avatar yaya

feat:替换接口

parent 639e54f2
......@@ -82,7 +82,7 @@
<script>
import Line2Hidden from '@/components/line2Hidden'
import Pagination from '@/components/Pagination'
import { findSpecialListById, addSpecialItem } from '@/api/business/sale'
import { findSupplierItemForSpecialPerformance, addSpecialItem } from '@/api/business/sale'
export default {
name: 'SelectSpecialDialog',
components: {
......@@ -136,9 +136,9 @@ export default {
getList() {
this.listLoading = true
this.listQuery.specialPerformanceId = this.specialPerformanceId
findSpecialListById(this.listQuery).then(response => {
this.list = response.data.data.data.dataList
this.total = response.data.data.data.total
findSupplierItemForSpecialPerformance(this.listQuery).then(response => {
this.list = response.data.data.dataList
this.total = response.data.data.total
this.listLoading = false
}).catch((e) => {
this.list = []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment