Commit 3d6c3811 authored by yaya's avatar yaya

feat:替换接口

parent 639e54f2
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
<script> <script>
import Line2Hidden from '@/components/line2Hidden' import Line2Hidden from '@/components/line2Hidden'
import Pagination from '@/components/Pagination' import Pagination from '@/components/Pagination'
import { findSpecialListById, addSpecialItem } from '@/api/business/sale' import { findSupplierItemForSpecialPerformance, addSpecialItem } from '@/api/business/sale'
export default { export default {
name: 'SelectSpecialDialog', name: 'SelectSpecialDialog',
components: { components: {
...@@ -136,9 +136,9 @@ export default { ...@@ -136,9 +136,9 @@ export default {
getList() { getList() {
this.listLoading = true this.listLoading = true
this.listQuery.specialPerformanceId = this.specialPerformanceId this.listQuery.specialPerformanceId = this.specialPerformanceId
findSpecialListById(this.listQuery).then(response => { findSupplierItemForSpecialPerformance(this.listQuery).then(response => {
this.list = response.data.data.data.dataList this.list = response.data.data.dataList
this.total = response.data.data.data.total this.total = response.data.data.total
this.listLoading = false this.listLoading = false
}).catch((e) => { }).catch((e) => {
this.list = [] 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