|
@@ -47,7 +47,8 @@
|
|
|
import { mapGetters } from 'vuex'
|
|
|
import { getList } from '@/api/shengde/group/subcompany/subcompanyManagement/index.js'
|
|
|
import { warehouseList } from '@/api/shengde/warehouse/management'
|
|
|
-import { purchaseContractList } from '@/api/shengde/productionSystem/purchase/contract'
|
|
|
+// import { purchaseContractList } from '@/api/shengde/productionSystem/purchase/contract'
|
|
|
+import { purchaseReturnList } from '@/api/shengde/productionSystem/purchase/contract'
|
|
|
|
|
|
export default {
|
|
|
props: {
|
|
@@ -74,8 +75,16 @@ export default {
|
|
|
warehouseList({ pageNum: 1, pageSize: 9999 }).then((res) => {
|
|
|
this.warehouseList = res.data.data.list
|
|
|
})
|
|
|
- purchaseContractList({ pageNum: 1, pageSize: 99999, purchaseStatus: 20 }).then((res) => {
|
|
|
- this.purchaseContract = res.data.data.records.map((item) => {
|
|
|
+ // purchaseContractList({ pageNum: 1, pageSize: 99999, purchaseStatus: 20 }).then((res) => {
|
|
|
+ // this.purchaseContract = res.data.data.records.map((item) => {
|
|
|
+ // return {
|
|
|
+ // ...item,
|
|
|
+ // text: item.code + ', ' + item.deliveryTime + ', ' + item.supplyName,
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // })
|
|
|
+ purchaseReturnList({ pageNum: 1, pageSize: 99999, purchaseStatus: 20 }).then((res) => {
|
|
|
+ this.purchaseContract = res.data.data.map((item) => {
|
|
|
return {
|
|
|
...item,
|
|
|
text: item.code + ', ' + item.deliveryTime + ', ' + item.supplyName,
|