|
@@ -49,8 +49,7 @@
|
|
<script>
|
|
<script>
|
|
import { commonMixin } from '@/utils/mixin'
|
|
import { commonMixin } from '@/utils/mixin'
|
|
import { VSelect } from '@/components'
|
|
import { VSelect } from '@/components'
|
|
-import { purchaseTargetList } from '@/api/purchase'
|
|
|
|
-import { purchaseReturnSaveByNoSync } from '@/api/purchaseReturn'
|
|
|
|
|
|
+import { purchaseReturnSaveByNoSync, queryReturnSupplierList } from '@/api/purchaseReturn'
|
|
export default {
|
|
export default {
|
|
name: 'BasicInfoModal',
|
|
name: 'BasicInfoModal',
|
|
components: { VSelect },
|
|
components: { VSelect },
|
|
@@ -154,7 +153,7 @@ export default {
|
|
params = {}
|
|
params = {}
|
|
}
|
|
}
|
|
console.log(params)
|
|
console.log(params)
|
|
- purchaseTargetList(params).then(res => {
|
|
|
|
|
|
+ queryReturnSupplierList(params).then(res => {
|
|
if (res.status == 200 && res.data[0]) {
|
|
if (res.status == 200 && res.data[0]) {
|
|
this.purchaseTragetType = res.data
|
|
this.purchaseTragetType = res.data
|
|
this.$emit('load', res.data)
|
|
this.$emit('load', res.data)
|