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,
|
...this.queryParams,
|
||||||
exportTimeBy: true,
|
exportTimeBy: true,
|
||||||
selectType: this.querys.materialType === '原料' ? 'raw_material' : 'product',
|
selectType: this.querys.materialType === '原料' ? 'raw_material' : 'product',
|
||||||
startTime: this.queryParams.shipmentTime?.[0] + ' 00:00:00',
|
startTime: this.queryParams.shipmentTime?.[0] && this.queryParams.shipmentTime?.[0] + ' 00:00:00',
|
||||||
endTime: this.queryParams.shipmentTime?.[1] + ' 23:59:59',
|
endTime: this.queryParams.shipmentTime?.[1] && this.queryParams.shipmentTime?.[1] + ' 23:59:59',
|
||||||
}
|
}
|
||||||
listBoundCoil(query).then(res => {
|
listBoundCoil(query).then(res => {
|
||||||
this.materialCoilList = res.rows || [];
|
this.materialCoilList = res.rows || [];
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
import BasePage from './panels/base.vue';
|
import BasePage from './panels/base.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
name: "Exp-Coil",
|
||||||
components: {
|
components: {
|
||||||
BasePage
|
BasePage
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
import BasePage from './panels/base.vue';
|
import BasePage from './panels/base.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
name: 'Exp-Bind',
|
||||||
components: {
|
components: {
|
||||||
BasePage
|
BasePage
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ import { listCoilByIds } from "@/api/wms/coil";
|
|||||||
import WayBill from "../components/wayBill.vue";
|
import WayBill from "../components/wayBill.vue";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
name: "Exp-Bills",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
deliveryWaybillList: [],
|
deliveryWaybillList: [],
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
import BasePage from '@/views/wms/coil/panels/base.vue';
|
import BasePage from '@/views/wms/coil/panels/base.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
name: "Exp-Canuse",
|
||||||
components: {
|
components: {
|
||||||
BasePage
|
BasePage
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -248,7 +248,7 @@ import PlanSelector from "../components/planSelector.vue";
|
|||||||
import DragResizePanel from "@/components/DragResizePanel";
|
import DragResizePanel from "@/components/DragResizePanel";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "DeliveryWaybill",
|
name: "Exp-Waybill",
|
||||||
components: {
|
components: {
|
||||||
MemoInput,
|
MemoInput,
|
||||||
DeliveryWaybillDetail,
|
DeliveryWaybillDetail,
|
||||||
|
|||||||
Reference in New Issue
Block a user