修订
This commit is contained in:
67
NX.ERP.Webapp/src/App copy.vue
Normal file
67
NX.ERP.Webapp/src/App copy.vue
Normal file
@@ -0,0 +1,67 @@
|
||||
<template>
|
||||
<div id="app">
|
||||
<Menu mode="horizontal" theme="dark" active-name="1">
|
||||
<Submenu name="3">
|
||||
<template slot="title">
|
||||
<Icon type="ios-stats" />ERP查询
|
||||
</template>
|
||||
<MenuGroup title="报表">
|
||||
<MenuItem to="/inventorysale" name="3-5">销售未发明细表</MenuItem>
|
||||
<!-- <MenuItem to="/inventory" name="3-2">物料在途在制查询表</MenuItem>
|
||||
<MenuItem to="/inventoryMom" name="3-3">跟单记录表</MenuItem>
|
||||
<MenuItem to="/InventoryMonth" name="3-4">材料出库数据与品种</MenuItem>
|
||||
<MenuItem to="/inventorypo" name="3-8">采购订单列表(PMC)</MenuItem>
|
||||
|
||||
<MenuItem to="/InventorySo" name="3-5">销售订单表</MenuItem>
|
||||
|
||||
<MenuItem to="/inventory-SNDetail" name="3-6">序列号查询</MenuItem>
|
||||
<MenuItem to="/inventorybu" name="3-7">补料量查询</MenuItem>
|
||||
|
||||
<MenuItem to="/inventorypoc" name="3-9">采购跟进表(采购部)</MenuItem>
|
||||
<MenuItem to="/Purchasesum" name="3-99">采购查询汇总</MenuItem>
|
||||
-->
|
||||
</MenuGroup>
|
||||
</Submenu>
|
||||
<!--
|
||||
<Submenu name="4">
|
||||
<template slot="title">
|
||||
<Icon type="ios-stats" />ERP单据
|
||||
</template>
|
||||
<MenuGroup title="单据">
|
||||
<MenuItem to="/inventoryrrival" name="4-2">到货单</MenuItem>
|
||||
<MenuItem to="/inventoryerror" name="4-3">异常单据查询</MenuItem>
|
||||
<MenuItem to="/inventoryMaterialAppVouch" name="4-4">领料单查询</MenuItem>
|
||||
<MenuItem to="/inventorypick" name="4-5">生产领料需求查询</MenuItem>
|
||||
<MenuItem to="/inventoryQmerror" name="4-5">不良品处理问题单据</MenuItem>
|
||||
</MenuGroup>
|
||||
</Submenu>
|
||||
-->
|
||||
</Menu>
|
||||
<div class="contain">
|
||||
<router-view></router-view>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "App",
|
||||
components: {},
|
||||
methods: {
|
||||
loadData() {}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style >
|
||||
#app {
|
||||
font-family: Avenir, Helvetica, Arial, sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
||||
color: #2c3e50;
|
||||
}
|
||||
.contain {
|
||||
padding: 20px;
|
||||
}
|
||||
</style>
|
||||
@@ -6,23 +6,24 @@
|
||||
<Icon type="ios-stats" />ERP查询
|
||||
</template>
|
||||
<MenuGroup title="报表">
|
||||
<MenuItem to="/inventorysale" name="3-5">销售未发明细表</MenuItem>
|
||||
|
||||
<!-- <MenuItem to="/inventory" name="3-2">物料在途在制查询表</MenuItem>
|
||||
<MenuItem to="/inventoryMom" name="3-3">跟单记录表</MenuItem>
|
||||
<MenuItem to="/inventorysale" name="3-5">销售未发明细表</MenuItem>
|
||||
<MenuItem to="/InventoryMonth" name="3-4">材料出库数据与品种</MenuItem>
|
||||
<MenuItem to="/inventorypo" name="3-8">采购订单列表(PMC)</MenuItem>
|
||||
|
||||
<MenuItem to="/InventorySo" name="3-5">销售订单表</MenuItem>
|
||||
|
||||
-->
|
||||
<MenuItem to="/inventory-SNDetail" name="3-6">序列号查询</MenuItem>
|
||||
<MenuItem to="/inventorybu" name="3-7">补料量查询</MenuItem>
|
||||
|
||||
<MenuItem to="/inventorypoc" name="3-9">采购跟进表(采购部)</MenuItem>
|
||||
<MenuItem to="/Purchasesum" name="3-99">采购查询汇总</MenuItem>
|
||||
-->
|
||||
|
||||
</MenuGroup>
|
||||
</Submenu>
|
||||
<!--
|
||||
|
||||
<Submenu name="4">
|
||||
<template slot="title">
|
||||
<Icon type="ios-stats" />ERP单据
|
||||
@@ -35,7 +36,7 @@
|
||||
<MenuItem to="/inventoryQmerror" name="4-5">不良品处理问题单据</MenuItem>
|
||||
</MenuGroup>
|
||||
</Submenu>
|
||||
-->
|
||||
|
||||
</Menu>
|
||||
<div class="contain">
|
||||
<router-view></router-view>
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
|
||||
<Col span="20">
|
||||
<Modal width="1366" v-model="modal3" title="委外未发详情" @on-cancel="cancel">
|
||||
<Button size="large" type="success" @click="handelExportwf">导出</Button>
|
||||
<Table
|
||||
style="margin-top: 20px"
|
||||
height="700"
|
||||
@@ -61,6 +62,7 @@
|
||||
|
||||
<Col span="20">
|
||||
<Modal width="1366" v-model="modal4" title="委外未收详情" @on-cancel="cancel">
|
||||
<Button size="large" type="success" @click="handelExportws">导出</Button>
|
||||
<Table
|
||||
style="margin-top: 20px"
|
||||
height="700"
|
||||
@@ -231,12 +233,19 @@ export default {
|
||||
}
|
||||
],
|
||||
columnsDetail3: [
|
||||
|
||||
|
||||
{
|
||||
title: "供应商名称",
|
||||
align: "center",
|
||||
key: "supplier_name"
|
||||
}
|
||||
,
|
||||
{
|
||||
title: "委外派工单号",
|
||||
align: "center",
|
||||
key: "task_item_id"
|
||||
},
|
||||
|
||||
{
|
||||
title: "存货编码",
|
||||
align: "center",
|
||||
@@ -253,31 +262,37 @@ export default {
|
||||
align: "center",
|
||||
key: "standard"
|
||||
},
|
||||
{
|
||||
title: "工序名称",
|
||||
align: "center",
|
||||
key: "work_name"
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
title: "计划发料数量",
|
||||
align: "center",
|
||||
key: "qua"
|
||||
key: "rec_qua"
|
||||
}
|
||||
,
|
||||
{
|
||||
title: "已发料数量",
|
||||
title: "价格",
|
||||
align: "center",
|
||||
key: "qty"
|
||||
key: "price"
|
||||
}
|
||||
,
|
||||
{
|
||||
title: "未发料数量",
|
||||
align: "center",
|
||||
key: "diff"
|
||||
// {
|
||||
// title: "未发料数量",
|
||||
// align: "center",
|
||||
// key: "diff"
|
||||
|
||||
}
|
||||
// }
|
||||
],
|
||||
columnsDetail4: [
|
||||
|
||||
{
|
||||
title: "委外发料单号",
|
||||
align: "center",
|
||||
key: "sheetid"
|
||||
key: "sheet_id"
|
||||
},
|
||||
{
|
||||
title: "存货编码",
|
||||
@@ -453,6 +468,12 @@ export default {
|
||||
handelExport() {
|
||||
export_col_to_excel(this.columns, this.datas);
|
||||
},
|
||||
handelExportwf() {
|
||||
export_col_to_excel(this.columnsDetail3, this.dataDetail3);
|
||||
},
|
||||
handelExportws() {
|
||||
export_col_to_excel(this.columnsDetail4, this.dataDetail4);
|
||||
},
|
||||
handleClick() {
|
||||
this.loadData();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user