|
|
|
@ -1,11 +1,26 @@
|
|
|
|
|
/**
|
|
|
|
|
* 拣配查询表格列
|
|
|
|
|
*/
|
|
|
|
|
import vm from "@/main";
|
|
|
|
|
import vm from '@/main';
|
|
|
|
|
export const headers = [
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.Pi_OrderNo"),
|
|
|
|
|
key: "prdOrder",
|
|
|
|
|
label: vm.$t('message.Pi_OrderNo'),
|
|
|
|
|
key: 'prdOrder', //订单号
|
|
|
|
|
width: 550,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t('message.po_DemandQuantity'),
|
|
|
|
|
key: 'amount', //需求数量
|
|
|
|
|
width: 550,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t('message.Pi_materielNo'),
|
|
|
|
|
key: 'materialCode', //物料号
|
|
|
|
|
width: 550,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t('message.CommissionedMaterielDesc'),
|
|
|
|
|
key: 'materialDesc', //物料描述
|
|
|
|
|
width: 550,
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
@ -15,56 +30,56 @@ export const headers = [
|
|
|
|
|
*/
|
|
|
|
|
export const resultHeaders = [
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.po_MaterielNo"),
|
|
|
|
|
key: "materialCode",
|
|
|
|
|
label: vm.$t('message.po_MaterielNo'),
|
|
|
|
|
key: 'materialCode',
|
|
|
|
|
width: 220,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.po_DemandQuantity"),
|
|
|
|
|
key: "amount",
|
|
|
|
|
label: vm.$t('message.po_DemandQuantity'),
|
|
|
|
|
key: 'amount',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.Pi_CumulativePickingQuantity"),
|
|
|
|
|
key: "totalMoAmount",
|
|
|
|
|
label: vm.$t('message.Pi_CumulativePickingQuantity'),
|
|
|
|
|
key: 'totalMoAmount',
|
|
|
|
|
width: 300,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.Pi_HandoverQuantity"),
|
|
|
|
|
key: "totalHvAmount",
|
|
|
|
|
label: vm.$t('message.Pi_HandoverQuantity'),
|
|
|
|
|
key: 'totalHvAmount',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.Pi_factory"),
|
|
|
|
|
key: "sapFactoryCode",
|
|
|
|
|
label: vm.$t('message.Pi_factory'),
|
|
|
|
|
key: 'sapFactoryCode',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.Pi_Station"),
|
|
|
|
|
key: "sendSpot",
|
|
|
|
|
label: vm.$t('message.Pi_Station'),
|
|
|
|
|
key: 'sendSpot',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.po_MaterielDes"),
|
|
|
|
|
key: "materialDesc",
|
|
|
|
|
label: vm.$t('message.po_MaterielDes'),
|
|
|
|
|
key: 'materialDesc',
|
|
|
|
|
width: 350,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: "MRP",
|
|
|
|
|
key: "mrpCode",
|
|
|
|
|
label: 'MRP',
|
|
|
|
|
key: 'mrpCode',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.Pi_unit"),
|
|
|
|
|
key: "unit",
|
|
|
|
|
label: vm.$t('message.Pi_unit'),
|
|
|
|
|
key: 'unit',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.Pi_OrderNo"),
|
|
|
|
|
key: "prdOrder",
|
|
|
|
|
label: vm.$t('message.Pi_OrderNo'),
|
|
|
|
|
key: 'prdOrder',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.Pi_FinishedProductModel"),
|
|
|
|
|
key: "prdMaterialDesc",
|
|
|
|
|
label: vm.$t('message.Pi_FinishedProductModel'),
|
|
|
|
|
key: 'prdMaterialDesc',
|
|
|
|
|
width: 300,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.po_Location"),
|
|
|
|
|
key: "wkposCode",
|
|
|
|
|
label: vm.$t('message.po_Location'),
|
|
|
|
|
key: 'wkposCode',
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
@ -73,40 +88,40 @@ export const resultHeaders = [
|
|
|
|
|
*/
|
|
|
|
|
export const summaryHeaders = [
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.po_MaterielNo"),
|
|
|
|
|
key: "materialCode",
|
|
|
|
|
label: vm.$t('message.po_MaterielNo'),
|
|
|
|
|
key: 'materialCode',
|
|
|
|
|
width: 220,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.po_DemandQuantity"),
|
|
|
|
|
key: "amount",
|
|
|
|
|
label: vm.$t('message.po_DemandQuantity'),
|
|
|
|
|
key: 'amount',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.Pi_CurrentPickingQuantity"),
|
|
|
|
|
key: "currentAmount",
|
|
|
|
|
label: vm.$t('message.Pi_CurrentPickingQuantity'),
|
|
|
|
|
key: 'currentAmount',
|
|
|
|
|
width: 300,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.Pi_PickedQuantity"),
|
|
|
|
|
key: "totalMoAmount",
|
|
|
|
|
label: vm.$t('message.Pi_PickedQuantity'),
|
|
|
|
|
key: 'totalMoAmount',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.Pi_QuantityHandedOver"),
|
|
|
|
|
key: "totalHvAmount",
|
|
|
|
|
label: vm.$t('message.Pi_QuantityHandedOver'),
|
|
|
|
|
key: 'totalHvAmount',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.po_Location"),
|
|
|
|
|
label: vm.$t('message.po_Location'),
|
|
|
|
|
// key: 'currentWkposCode',
|
|
|
|
|
key: "wkposCode",
|
|
|
|
|
key: 'wkposCode',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.po_MaterielDes"),
|
|
|
|
|
key: "materialDesc",
|
|
|
|
|
label: vm.$t('message.po_MaterielDes'),
|
|
|
|
|
key: 'materialDesc',
|
|
|
|
|
width: 350,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.Pi_unit"),
|
|
|
|
|
key: "unit",
|
|
|
|
|
label: vm.$t('message.Pi_unit'),
|
|
|
|
|
key: 'unit',
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// label: '成品型号',
|
|
|
|
@ -128,103 +143,103 @@ export const summaryHeaders = [
|
|
|
|
|
*/
|
|
|
|
|
export const orderHeaders = [
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.po_MaterielNo"),
|
|
|
|
|
key: "materialCode",
|
|
|
|
|
label: vm.$t('message.po_MaterielNo'),
|
|
|
|
|
key: 'materialCode',
|
|
|
|
|
width: 220,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.po_DemandQuantity"),
|
|
|
|
|
key: "amount",
|
|
|
|
|
label: vm.$t('message.po_DemandQuantity'),
|
|
|
|
|
key: 'amount',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.Pi_CurrentPickingQuantity"),
|
|
|
|
|
key: "currentAmount",
|
|
|
|
|
label: vm.$t('message.Pi_CurrentPickingQuantity'),
|
|
|
|
|
key: 'currentAmount',
|
|
|
|
|
width: 300,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.Pi_PickedQuantity"),
|
|
|
|
|
key: "totalMoAmount",
|
|
|
|
|
label: vm.$t('message.Pi_PickedQuantity'),
|
|
|
|
|
key: 'totalMoAmount',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.Pi_QuantityHandedOver"),
|
|
|
|
|
key: "totalHvAmount",
|
|
|
|
|
label: vm.$t('message.Pi_QuantityHandedOver'),
|
|
|
|
|
key: 'totalHvAmount',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.po_Location"),
|
|
|
|
|
label: vm.$t('message.po_Location'),
|
|
|
|
|
// key: 'currentWkposCode',
|
|
|
|
|
key: "wkposCode",
|
|
|
|
|
key: 'wkposCode',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.po_MaterielDes"),
|
|
|
|
|
key: "materialDesc",
|
|
|
|
|
label: vm.$t('message.po_MaterielDes'),
|
|
|
|
|
key: 'materialDesc',
|
|
|
|
|
width: 350,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.Pi_unit"),
|
|
|
|
|
key: "unit",
|
|
|
|
|
label: vm.$t('message.Pi_unit'),
|
|
|
|
|
key: 'unit',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.Pi_FinishedProductModel"),
|
|
|
|
|
key: "prdMaterialDesc",
|
|
|
|
|
label: vm.$t('message.Pi_FinishedProductModel'),
|
|
|
|
|
key: 'prdMaterialDesc',
|
|
|
|
|
width: 300,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.Pi_factory"),
|
|
|
|
|
key: "sapFactoryCode",
|
|
|
|
|
label: vm.$t('message.Pi_factory'),
|
|
|
|
|
key: 'sapFactoryCode',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.Pi_Station"),
|
|
|
|
|
key: "sendSpot",
|
|
|
|
|
label: vm.$t('message.Pi_Station'),
|
|
|
|
|
key: 'sendSpot',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.Pi_OrderNo"),
|
|
|
|
|
key: "prdOrder",
|
|
|
|
|
label: vm.$t('message.Pi_OrderNo'),
|
|
|
|
|
key: 'prdOrder',
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
export const Headers = [
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.po_MaterielNo"),
|
|
|
|
|
key: "materialCode",
|
|
|
|
|
label: vm.$t('message.po_MaterielNo'),
|
|
|
|
|
key: 'materialCode',
|
|
|
|
|
width: 220,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.po_DemandQuantity"),
|
|
|
|
|
key: "amount",
|
|
|
|
|
label: vm.$t('message.po_DemandQuantity'),
|
|
|
|
|
key: 'amount',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.Pi_CurrentPickingQuantity"),
|
|
|
|
|
key: "operatorAmount", //本次拣配数量
|
|
|
|
|
label: vm.$t('message.Pi_CurrentPickingQuantity'),
|
|
|
|
|
key: 'operatorAmount', //本次拣配数量
|
|
|
|
|
width: 300,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.po_Location"),
|
|
|
|
|
label: vm.$t('message.po_Location'),
|
|
|
|
|
// key: 'currentWkposCode',
|
|
|
|
|
key: "originLocation",
|
|
|
|
|
key: 'originLocation',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.po_MaterielDes"),
|
|
|
|
|
key: "materialDesc",
|
|
|
|
|
label: vm.$t('message.po_MaterielDes'),
|
|
|
|
|
key: 'materialDesc',
|
|
|
|
|
width: 350,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.Pi_unit"),
|
|
|
|
|
key: "unit",
|
|
|
|
|
label: vm.$t('message.Pi_unit'),
|
|
|
|
|
key: 'unit',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.Pi_factory"),
|
|
|
|
|
key: "sapFactoryCode",
|
|
|
|
|
label: vm.$t('message.Pi_factory'),
|
|
|
|
|
key: 'sapFactoryCode',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.Pi_Station"),
|
|
|
|
|
key: "sendSpot",
|
|
|
|
|
label: vm.$t('message.Pi_Station'),
|
|
|
|
|
key: 'sendSpot',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.Pi_OrderNo"),
|
|
|
|
|
key: "prdOrder",
|
|
|
|
|
label: vm.$t('message.Pi_OrderNo'),
|
|
|
|
|
key: 'prdOrder',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: vm.$t("message.CommissionedLocation"),
|
|
|
|
|
key: "wlCode",
|
|
|
|
|
label: vm.$t('message.CommissionedLocation'),
|
|
|
|
|
key: 'wlCode',
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|