Commit 56b771cc by 前端

Merge branch 'hotfix_V5.7.9' into 'master'

上线合并

See merge request !22
2 parents 8f7d8e8d 5244a5e3
...@@ -65,8 +65,13 @@ export default { ...@@ -65,8 +65,13 @@ export default {
label: '产品名称', label: '产品名称',
value: 'upgradeGoodsName' value: 'upgradeGoodsName'
}, },
{
label: '供应商名称',
value: 'thirdPartyName'
},
{ label: '产品编码', value: 'type' }, { label: '产品编码', value: 'type' },
{ label: '规格', value: 'specificationData' }, { label: '规格', value: 'specificationData' },
{ label: '供应商编码', value: 'thirdPartyCode' },
{ {
label: '采购数量', label: '采购数量',
value: 'goodsNumber', value: 'goodsNumber',
...@@ -97,6 +102,10 @@ export default { ...@@ -97,6 +102,10 @@ export default {
} }
}, },
{ {
label: '产品别名',
value: 'purchaseGoodsName'
},
{
label: '单价', label: '单价',
value: 'upgradePurchasePrice', value: 'upgradePurchasePrice',
formatter: row => { formatter: row => {
...@@ -110,7 +119,7 @@ export default { ...@@ -110,7 +119,7 @@ export default {
return '¥' + row.goodsTotalPrice return '¥' + row.goodsTotalPrice
} }
}, },
{ {
label: '备注', label: '备注',
value: 'remark' value: 'remark'
} }
...@@ -158,7 +167,7 @@ export default { ...@@ -158,7 +167,7 @@ export default {
const debouncedSearch = utils.debounce( const debouncedSearch = utils.debounce(
val => { val => {
this.StockList = [] this.StockList = []
this.keyword = val this.keyword = val
this.page.currentPage = 1 this.page.currentPage = 1
this.getList() this.getList()
}, },
......
...@@ -90,8 +90,10 @@ export default { ...@@ -90,8 +90,10 @@ export default {
detailVisible: false, detailVisible: false,
tableColumns: [ tableColumns: [
{ label: '产品名称', prop: 'upgradeGoodsName', width: '120px' }, { label: '产品名称', prop: 'upgradeGoodsName', width: '120px' },
{ label: '供应商名称', prop: 'thirdPartyName', width: '120px' },
{ label: '产品编码', prop: 'type', width: '100px' }, { label: '产品编码', prop: 'type', width: '100px' },
{ label: '规格', prop: 'specificationData', width: '90px' }, { label: '规格', prop: 'specificationData', width: '90px' },
{ label: '供应商编码', prop: 'thirdPartyCode', width: '120px' },
{ {
label: '采购数量', label: '采购数量',
prop: 'goodsNumber', prop: 'goodsNumber',
...@@ -128,6 +130,7 @@ export default { ...@@ -128,6 +130,7 @@ export default {
return (row.purchaseNumber || 0) + unit return (row.purchaseNumber || 0) + unit
} }
}, },
{ label: '产品别名', prop: 'purchaseGoodsName', width: '100px' },
{ {
label: '单价', label: '单价',
prop: 'upgradePurchasePrice', prop: 'upgradePurchasePrice',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!