|
@@ -70,7 +70,7 @@
|
|
|
import { STable, VSelect } from '@/components'
|
|
|
import { goodsList, goodsDel, goodsState } from '@/api/goods'
|
|
|
import { goodsTypeQueryList } from '@/api/goodsType'
|
|
|
-import { partnerQueryList } from '@/api/partner'
|
|
|
+import { supplierQueryList } from '@/api/supplier'
|
|
|
export default {
|
|
|
name: 'GoodsList',
|
|
|
components: { STable, VSelect },
|
|
@@ -91,6 +91,7 @@ export default {
|
|
|
columns: [
|
|
|
{ title: '序号', dataIndex: 'no', width: 80, align: 'center' },
|
|
|
{ title: '商品名称', dataIndex: 'name', width: 200, align: 'center' },
|
|
|
+ { title: '商品分类', dataIndex: 'goodsTypeName', width: 200, align: 'center' },
|
|
|
{ title: '商品价格(乐豆)', dataIndex: 'originalGold', width: 150, align: 'center' },
|
|
|
{ title: '供货商', dataIndex: 'officialPartnerName', width: 100, align: 'center' },
|
|
|
{ title: '商品状态', scopedSlots: { customRender: 'state' }, width: 100, align: 'center' },
|
|
@@ -129,7 +130,7 @@ export default {
|
|
|
},
|
|
|
// 供应商下拉数据
|
|
|
getPartnerQueryList () {
|
|
|
- partnerQueryList().then(res => {
|
|
|
+ supplierQueryList({ state: 1 }).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
this.partnerList = res.data
|
|
|
} else {
|