refactor(wms): add component names and fix export time query
1. 为多个wms页面组件添加name属性统一命名规范 2. 修复运单页面导出时间参数为空时的拼接报错问题
This commit is contained in:
@@ -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 || [];
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
import BasePage from './panels/base.vue';
|
||||
|
||||
export default {
|
||||
name: "Exp-Coil",
|
||||
components: {
|
||||
BasePage
|
||||
},
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
import BasePage from './panels/base.vue';
|
||||
|
||||
export default {
|
||||
name: 'Exp-Bind',
|
||||
components: {
|
||||
BasePage
|
||||
},
|
||||
|
||||
@@ -70,6 +70,7 @@ import { listCoilByIds } from "@/api/wms/coil";
|
||||
import WayBill from "../components/wayBill.vue";
|
||||
|
||||
export default {
|
||||
name: "Exp-Bills",
|
||||
data() {
|
||||
return {
|
||||
deliveryWaybillList: [],
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
import BasePage from '@/views/wms/coil/panels/base.vue';
|
||||
|
||||
export default {
|
||||
name: "Exp-Canuse",
|
||||
components: {
|
||||
BasePage
|
||||
},
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user