Commit 40297ac6 by qinjianhui

fix: 商品价格修改

parent a12745cc
...@@ -1462,7 +1462,19 @@ const baseProductColumns = computed(() => [ ...@@ -1462,7 +1462,19 @@ const baseProductColumns = computed(() => [
minWidth: 140, minWidth: 140,
align: 'center', align: 'center',
}, },
{ prop: 'price', label: '价格', minWidth: 100, align: 'right' }, {
prop: 'price',
label: '价格',
minWidth: 100,
align: 'right',
render: (row: ProductListData) => {
return (
<span>
{new BigNumber(row.templatePrice ?? 0).plus(row.craftPrice ?? 0).toString()}
</span>
)
},
},
{ {
prop: 'num', prop: 'num',
label: '数量', label: '数量',
......
...@@ -197,7 +197,7 @@ ...@@ -197,7 +197,7 @@
@click="podOrderDetailsData && print(podOrderDetailsData, true)" @click="podOrderDetailsData && print(podOrderDetailsData, true)"
>手动打印</ElButton >手动打印</ElButton
> >
<ElButton v-if="isNewOrder" type="primary" @click="printNormal" <ElButton v-if="!isNewOrder" type="primary" @click="printNormal"
>普货拣货 >普货拣货
</ElButton> </ElButton>
<ElButton type="success" @click="handlePrintFinish" <ElButton type="success" @click="handlePrintFinish"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment