|
|
@@ -16,7 +16,8 @@
|
|
|
</template>
|
|
|
|
|
|
<template #table-column-unit="{scope}">
|
|
|
- <span>{{ scope.row.bigUnit }} / {{scope.row.smallUnit}}</span>
|
|
|
+ <span v-if="scope.row.ratioType == 0">{{ scope.row.ratio }}{{scope.row.smallUnit}}/{{ scope.row.bigUnit }}</span>
|
|
|
+ <span v-else>若干{{scope.row.smallUnit}}/{{ scope.row.bigUnit }}</span>
|
|
|
</template>
|
|
|
|
|
|
<template #table-column-inTurn="{ scope }">
|
|
|
@@ -97,18 +98,6 @@ export default {
|
|
|
align: 'center',
|
|
|
'min-width': 100,
|
|
|
},
|
|
|
- {
|
|
|
- prop: 'cost',
|
|
|
- label: '成本价',
|
|
|
- align: 'center',
|
|
|
- 'min-width': 100,
|
|
|
- },
|
|
|
- {
|
|
|
- prop: 'addPrice',
|
|
|
- label: '加价',
|
|
|
- align: 'center',
|
|
|
- 'min-width': 100,
|
|
|
- },
|
|
|
{
|
|
|
prop: 'weight',
|
|
|
label: '重量(公斤)',
|
|
|
@@ -121,12 +110,6 @@ export default {
|
|
|
align: 'center',
|
|
|
minWidth: 100,
|
|
|
},
|
|
|
- {
|
|
|
- prop: 'ratio',
|
|
|
- label: '单位比',
|
|
|
- align: 'center',
|
|
|
- minWidth: 60,
|
|
|
- },
|
|
|
{
|
|
|
prop: 'inTurn',
|
|
|
label: '排序',
|