物料装箱列表调整

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

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

Loading…
Cancel
Save