Commit 3433b5b2 by 王志慧

commit

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