Commit 3433b5b2 by 王志慧

commit

1 parent f7054f36
...@@ -22,7 +22,6 @@ export default { ...@@ -22,7 +22,6 @@ export default {
name: 'warehousing', name: 'warehousing',
data() { data() {
return { return {
purchaseType:'',
membraneTypeList: membraneTypeList, membraneTypeList: membraneTypeList,
size: 'small', size: 'small',
url: url, url: url,
...@@ -145,7 +144,7 @@ export default { ...@@ -145,7 +144,7 @@ export default {
label: '入库数量', label: '入库数量',
prop: 'increaseStockNum', prop: 'increaseStockNum',
formatter: cellValue => { formatter: cellValue => {
return cellValue.increaseStockNum || cellValue.increaseStockNum == 0 ? parseFloat(cellValue.increaseStockNum).toFixed(2) + (this.membraneTypeList.includes(cellValue.goodsType) && cellValue.goodsType != purchaseType? '米' : '件') : '-' return cellValue.increaseStockNum || cellValue.increaseStockNum == 0 ? parseFloat(cellValue.increaseStockNum).toFixed(2) + (this.membraneTypeList.includes(cellValue.goodsType) && cellValue.goodsType != this.$purchaseType? '米' : '件') : '-'
}, },
width: 120 width: 120
}, },
...@@ -201,7 +200,6 @@ export default { ...@@ -201,7 +200,6 @@ export default {
}, },
mounted() { mounted() {
this.purchaseType = this.$purchaseType
this.$apis.product.getProductTypeBySceneId({ sceneType: '' }).then(res => { this.$apis.product.getProductTypeBySceneId({ sceneType: '' }).then(res => {
this.baseData.productTypeList = res this.baseData.productTypeList = res
this.getOptionsList('showFormData') this.getOptionsList('showFormData')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!