mom 修改
This commit is contained in:
1
NX.ERP.Webapp/bulid.bat
Normal file
1
NX.ERP.Webapp/bulid.bat
Normal file
@@ -0,0 +1 @@
|
||||
npm run build
|
||||
@@ -1,16 +1,23 @@
|
||||
<template>
|
||||
<div>
|
||||
<h4>物料在途在制查询表</h4>
|
||||
<h4>跟单记录表</h4>
|
||||
<div>
|
||||
<Row :gutter="16">
|
||||
<Col span="8">
|
||||
<label>订单编号</label>
|
||||
<Input autosize type="textarea" v-model="filter.inv_codes" />
|
||||
</Col>
|
||||
|
||||
<Col span="4">
|
||||
<Button @click="handleClick">查询</Button>
|
||||
<Button @click="handelExport">导出</Button>
|
||||
<Col span="8">
|
||||
<Button
|
||||
size="large"
|
||||
type="primary"
|
||||
icon="ios-search"
|
||||
@click="handleClick"
|
||||
>查询</Button
|
||||
>
|
||||
<Button size="large" type="success" @click="handelExport"
|
||||
>导出</Button
|
||||
>
|
||||
</Col>
|
||||
</Row>
|
||||
</div>
|
||||
@@ -42,7 +49,7 @@
|
||||
|
||||
<script>
|
||||
import { getInventorymom } from "@/api/pmc";
|
||||
import { pageingData, export_col_to_excel,sortByKey } from "@/libs/tools";
|
||||
import { pageingData, export_col_to_excel,sortByKey,numberFormat } from "@/libs/tools";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@@ -159,23 +166,58 @@ export default {
|
||||
className: "demo-table-info-old",
|
||||
},
|
||||
{
|
||||
title: "总需求(未领量)",
|
||||
title: "单行需求",
|
||||
align: "center",
|
||||
key: "qty1",
|
||||
width: 110,
|
||||
},
|
||||
{
|
||||
title: "单行已领",
|
||||
align: "center",
|
||||
key: "issqty",
|
||||
width: 110,
|
||||
},
|
||||
{
|
||||
title: "单行未领",
|
||||
align: "center",
|
||||
|
||||
width: 110,
|
||||
render: (h, params) => {
|
||||
return (
|
||||
<span>
|
||||
{numberFormat(
|
||||
params.row.qty1 - params.row.issqty
|
||||
)}
|
||||
</span>
|
||||
);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: "条件内未领",
|
||||
align: "center",
|
||||
|
||||
width: 110,
|
||||
key: "mdqty",
|
||||
},
|
||||
{
|
||||
title: "总未领量",
|
||||
align: "center",
|
||||
key: "wqty",
|
||||
width: 120,
|
||||
},
|
||||
{
|
||||
title: "总已领(现场)",
|
||||
align: "center",
|
||||
key: "issqtyxc",
|
||||
width: 120,
|
||||
},
|
||||
{
|
||||
title: "现存量",
|
||||
align: "center",
|
||||
key: "cqty",
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
title: "已领(现场)",
|
||||
align: "center",
|
||||
key: "issqty",
|
||||
width: 110,
|
||||
},
|
||||
|
||||
{
|
||||
title: "现存无废品",
|
||||
align: "center",
|
||||
@@ -237,6 +279,8 @@ export default {
|
||||
let resp = await getInventorymom(_filetr);
|
||||
this.pageNo = 1;
|
||||
this.datas = resp.data.data;
|
||||
|
||||
|
||||
} catch (error) {}
|
||||
},
|
||||
handlePagechange(page) {
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
<Table
|
||||
style="margin-top: 20px"
|
||||
width="20000"
|
||||
|
||||
size="small"
|
||||
border
|
||||
:columns="columns"
|
||||
@@ -75,7 +75,7 @@ export default {
|
||||
title: "存货编号",
|
||||
align: "center",
|
||||
key: "cInvCode",
|
||||
width: "90",
|
||||
width: "110",
|
||||
className: "demo-table-info-new",
|
||||
},
|
||||
{
|
||||
@@ -106,6 +106,7 @@ export default {
|
||||
{
|
||||
title: "总需求(未领量)",
|
||||
align: "center",
|
||||
width: "110",
|
||||
key: "wqty",
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user