物流管理问题修改

dev-scheduling
zhangdi 2 weeks ago
parent 3a558297c4
commit 94e9cc4bfd
  1. 12
      src/views/logisticsManagement/components/materialDetails.vue

@ -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() {

Loading…
Cancel
Save