feat(wms): 添加收货单位列并优化发货单明细查询
- 在发货单表格中添加收货单位列 - 隐藏负责人电话列 - 优化发货单明细查询逻辑,增加waybillId判空 - 默认关闭加载遮罩层
This commit is contained in:
@@ -164,7 +164,7 @@ export default {
|
|||||||
// 按钮loading
|
// 按钮loading
|
||||||
buttonLoading: false,
|
buttonLoading: false,
|
||||||
// 遮罩层
|
// 遮罩层
|
||||||
loading: true,
|
loading: false,
|
||||||
// 选中数组
|
// 选中数组
|
||||||
ids: [],
|
ids: [],
|
||||||
// 非单个禁用
|
// 非单个禁用
|
||||||
@@ -219,6 +219,9 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
/** 查询发货单明细列表 */
|
/** 查询发货单明细列表 */
|
||||||
getList() {
|
getList() {
|
||||||
|
if (!this.waybillId) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
listDeliveryWaybillDetail({ ...this.queryParams, waybillId: this.waybillId }).then(response => {
|
listDeliveryWaybillDetail({ ...this.queryParams, waybillId: this.waybillId }).then(response => {
|
||||||
this.deliveryWaybillDetailList = response.rows;
|
this.deliveryWaybillDetailList = response.rows;
|
||||||
|
|||||||
@@ -41,6 +41,7 @@
|
|||||||
<el-table-column label="发货单唯一ID" align="center" prop="waybillId" v-if="false" />
|
<el-table-column label="发货单唯一ID" align="center" prop="waybillId" v-if="false" />
|
||||||
<el-table-column label="发货单名称" align="center" prop="waybillName" />
|
<el-table-column label="发货单名称" align="center" prop="waybillName" />
|
||||||
<el-table-column label="车牌" align="center" prop="licensePlate" width="100" />
|
<el-table-column label="车牌" align="center" prop="licensePlate" width="100" />
|
||||||
|
<el-table-column label="收货单位" align="center" prop="consigneeUnit" />
|
||||||
<el-table-column label="发货单位" align="center" prop="senderUnit" />
|
<el-table-column label="发货单位" align="center" prop="senderUnit" />
|
||||||
<el-table-column label="发货时间" align="center" prop="deliveryTime" width="100">
|
<el-table-column label="发货时间" align="center" prop="deliveryTime" width="100">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
@@ -48,7 +49,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="负责人" align="center" prop="principal" />
|
<el-table-column label="负责人" align="center" prop="principal" />
|
||||||
<el-table-column label="负责人电话" align="center" prop="principalPhone" width="100" />
|
<!-- <el-table-column label="负责人电话" align="center" prop="principalPhone" width="100" /> -->
|
||||||
<el-table-column label="完成状态" align="center" prop="status" width="120">
|
<el-table-column label="完成状态" align="center" prop="status" width="120">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-select v-model="scope.row.status" placeholder="请选择完成状态" @change="handleStatusChange(scope.row)">
|
<el-select v-model="scope.row.status" placeholder="请选择完成状态" @change="handleStatusChange(scope.row)">
|
||||||
|
|||||||
Reference in New Issue
Block a user