|
|
|
|
@ -19,8 +19,12 @@ |
|
|
|
|
<template #menu-right> </template> |
|
|
|
|
<template #menu="{ row }"> </template> |
|
|
|
|
|
|
|
|
|
<template #actualWeighing="scope"> |
|
|
|
|
{{ scope.row.actualWeighing<0?'0g' : scope.row.actualWeighing+'g' }} |
|
|
|
|
<template #actualWeighing="scope"> |
|
|
|
|
{{ |
|
|
|
|
(scope.row.actualWeighing || scope.row.actualWeighing == null < 0) |
|
|
|
|
? '0g' |
|
|
|
|
: scope.row.actualWeighing + 'g' |
|
|
|
|
}} |
|
|
|
|
</template> |
|
|
|
|
</avue-crud> |
|
|
|
|
<template #footer> |
|
|
|
|
@ -106,7 +110,7 @@ export default { |
|
|
|
|
prop: 'partCode', |
|
|
|
|
span: 24, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
{ |
|
|
|
|
label: '零件名称', |
|
|
|
|
prop: 'partName', |
|
|
|
|
span: 24, |
|
|
|
|
@ -124,7 +128,7 @@ export default { |
|
|
|
|
mounted() { |
|
|
|
|
this.openShow = this.showDialog; |
|
|
|
|
console.log(8989898989, this.rowData); |
|
|
|
|
this.init() |
|
|
|
|
this.init(); |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
init() { |
|
|
|
|
|