|
|
|
@ -20,7 +20,11 @@ |
|
|
|
<template #menu="{ row }"> </template> |
|
|
|
<template #menu="{ row }"> </template> |
|
|
|
|
|
|
|
|
|
|
|
<template #actualWeighing="scope"> |
|
|
|
<template #actualWeighing="scope"> |
|
|
|
{{ scope.row.actualWeighing<0?'0g' : scope.row.actualWeighing+'g' }} |
|
|
|
{{ |
|
|
|
|
|
|
|
(scope.row.actualWeighing || scope.row.actualWeighing == null < 0) |
|
|
|
|
|
|
|
? '0g' |
|
|
|
|
|
|
|
: scope.row.actualWeighing + 'g' |
|
|
|
|
|
|
|
}} |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</avue-crud> |
|
|
|
</avue-crud> |
|
|
|
<template #footer> |
|
|
|
<template #footer> |
|
|
|
@ -124,7 +128,7 @@ export default { |
|
|
|
mounted() { |
|
|
|
mounted() { |
|
|
|
this.openShow = this.showDialog; |
|
|
|
this.openShow = this.showDialog; |
|
|
|
console.log(8989898989, this.rowData); |
|
|
|
console.log(8989898989, this.rowData); |
|
|
|
this.init() |
|
|
|
this.init(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
init() { |
|
|
|
init() { |
|
|
|
|