refactor(wms): add component names and fix export time query

1. 为多个wms页面组件添加name属性统一命名规范
2. 修复运单页面导出时间参数为空时的拼接报错问题
This commit is contained in:
2026-05-15 16:36:27 +08:00
parent e938515efb
commit 78b2e21da7
6 changed files with 7 additions and 3 deletions

View File

@@ -1747,8 +1747,8 @@ export default {
...this.queryParams,
exportTimeBy: true,
selectType: this.querys.materialType === '原料' ? 'raw_material' : 'product',
startTime: this.queryParams.shipmentTime?.[0] + ' 00:00:00',
endTime: this.queryParams.shipmentTime?.[1] + ' 23:59:59',
startTime: this.queryParams.shipmentTime?.[0] && this.queryParams.shipmentTime?.[0] + ' 00:00:00',
endTime: this.queryParams.shipmentTime?.[1] && this.queryParams.shipmentTime?.[1] + ' 23:59:59',
}
listBoundCoil(query).then(res => {
this.materialCoilList = res.rows || [];

View File

@@ -6,6 +6,7 @@
import BasePage from './panels/base.vue';
export default {
name: "Exp-Coil",
components: {
BasePage
},

View File

@@ -10,6 +10,7 @@
import BasePage from './panels/base.vue';
export default {
name: 'Exp-Bind',
components: {
BasePage
},

View File

@@ -70,6 +70,7 @@ import { listCoilByIds } from "@/api/wms/coil";
import WayBill from "../components/wayBill.vue";
export default {
name: "Exp-Bills",
data() {
return {
deliveryWaybillList: [],

View File

@@ -15,6 +15,7 @@
import BasePage from '@/views/wms/coil/panels/base.vue';
export default {
name: "Exp-Canuse",
components: {
BasePage
},

View File

@@ -248,7 +248,7 @@ import PlanSelector from "../components/planSelector.vue";
import DragResizePanel from "@/components/DragResizePanel";
export default {
name: "DeliveryWaybill",
name: "Exp-Waybill",
components: {
MemoInput,
DeliveryWaybillDetail,