物料装箱列表调整

dev-scheduling
zhangdi 2 weeks ago
parent 62dd2877af
commit 96d4a8a726
  1. 25
      src/views/logisticsManagement/materialPacking.vue

@ -23,6 +23,11 @@
<template #menu="scope">
<el-button type="text" @click="detailsFn(scope.row)">详情</el-button>
</template>
<template #statusDesc="scope">
<el-tag v-if="scope.row.statusDesc == '未绑定'" type="info">未绑定</el-tag>
<el-tag v-if="scope.row.statusDesc == '已绑定'" type="success">已绑定</el-tag>
<el-tag v-if="scope.row.statusDesc == '已解绑'" type="danger">已解绑</el-tag>
</template>
</avue-crud>
<!-- 新增 -->
<addPackingDialog
@ -57,7 +62,7 @@ export default {
components: {
addPackingDialog,
unbindDialog,
materialDetails
materialDetails,
},
data() {
return {
@ -116,7 +121,7 @@ export default {
gridBtn: false,
searchMenuPosition: 'right',
align: 'center',
menu: true,
menu: false,
column: [
{
label: '箱条码',
@ -125,6 +130,13 @@ export default {
sortable: true,
span: 12,
},
{
label: '流程卡号',
prop: 'cardNo',
search: true,
sortable: true,
span: 12,
},
// {
// label: '',
// prop: 'wcName',
@ -158,7 +170,6 @@ export default {
{ label: '未绑定', value: 0 },
{ label: '已绑定', value: 1 },
{ label: '已解绑', value: 2 },
],
},
{
@ -191,13 +202,13 @@ export default {
},
data: [],
showDetails:false
showDetails: false,
};
},
methods: {
detailsFn(row) {
this.rowItem = row
this.showDetails = true
this.rowItem = row;
this.showDetails = true;
},
addFn() {
this.showAddDialogd = true;
@ -210,7 +221,7 @@ export default {
this.showReturnDialog = false;
this.showReceiveDialog = false;
this.showUnbindDialogd = false;
this.showDetails = false
this.showDetails = false;
this.onLoad(this.page, this.query);
},
rowSave(row, done, loading) {

Loading…
Cancel
Save