物流管理问题修改

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

@ -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>
@ -106,7 +110,7 @@ export default {
prop: 'partCode', prop: 'partCode',
span: 24, span: 24,
}, },
{ {
label: '零件名称', label: '零件名称',
prop: 'partName', prop: 'partName',
span: 24, span: 24,
@ -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() {

Loading…
Cancel
Save