This commit is contained in:
杰 朱
2021-05-03 15:49:34 +08:00
parent a3d1e40197
commit 8562211679
10 changed files with 850 additions and 442 deletions

View File

@@ -15,7 +15,14 @@
</Row>
</div>
<Table style="margin-top: 20px" size="small" border :columns="columns" :data="pagedData"> </Table>
<Table
style="margin-top: 20px"
size="small"
border
:columns="columns"
:data="pagedData"
>
</Table>
<Page
style="margin-top: 20px"
@@ -34,136 +41,231 @@
</template>
<script>
import { getInventorymom } from '@/api/pmc'
import { pageingData, export_col_to_excel } from '@/libs/tools'
import { getInventorymom } from "@/api/pmc";
import { pageingData, export_col_to_excel,sortByKey } from "@/libs/tools";
export default {
data() {
return {
PageSizeOpts: [10, 15, 20, 30],
pageNo: 1,
strfilter: '',
strfilter: "",
multiple: false,
pageSize: 15,
datas: [],
filter: {
inv_codes: '',
inv_std: '',
so_code: ''
inv_codes: "",
inv_std: "",
so_code: "",
},
columns: [
{
title: '编号',
align: 'center',
key: 'invcode1',
width: '100'
type: "index",
title: "序号",
width: 60,
align: "center",
},
{
title: '名称',
align: 'center',
key: 'cinvname1',
width: '120'
},
{
title: '规格',
align: 'center',
key: 'cinvstd1',
width: '250'
title: "生产订单号",
align: "center",
key: "mocode",
className: "demo-table-info-new",
},
{
title: 'cqty',
align: 'center',
key: 'cqty'
title: "订单行号",
align: "center",
key: "SortSeq",
className: "demo-table-info-new",
},
{
title: 'dqty',
align: 'center',
key: 'dqty'
title: "产品编码",
align: "center",
key: "InvCode",
className: "demo-table-info-new",
},
{
title: 'issqty',
align: 'center',
key: 'issqty'
title: "产品名称",
align: "center",
key: "cInvName",
className: "demo-table-info-new",
},
{
title: 'momqty',
align: 'center',
key: 'momqty'
title: "产品规格",
align: "center",
key: "cInvStd",
className: "demo-table-info-new",
},
{
title: 'mqty',
align: 'center',
key: 'mqty'
title: "产品单位",
align: "center",
key: "cComUnitName",
className: "demo-table-info-new",
},
{
title: 'q',
align: 'center',
key: 'q'
title: "投产量",
align: "center",
key: "Qty",
className: "demo-table-info-new",
},
{
title: 'rqty',
align: 'center',
key: 'rqty'
title: "未完成",
align: "center",
key: "QualifiedInQty",
className: "demo-table-info-new",
},
{
title: 'rqty1',
align: 'center',
key: 'rqty1'
title: "子件编码",
align: "center",
key: "invcode1",
className: "demo-table-info-old",
},
{
title: 'rqty3',
align: 'center',
key: 'rqty3'
title: "子件名称",
align: "center",
key: "cinvname1",
className: "demo-table-info-old",
},
{
title: 'std',
align: 'center',
key: 'std'
title: "子件规格",
width: 200,
align: "center",
key: "cinvstd1",
className: "demo-table-info-old",
},
{
title: 'wqty',
align: 'center',
key: 'wqty'
}
]
}
title: "子件单位",
width: 80,
align: "center",
key: "cComUnitName1",
className: "demo-table-info-old",
},
{
title: "子件属性",
align: "center",
key: "std",
className: "demo-table-info-old",
},
{
title: "总需求(未领量)",
align: "center",
key: "wqty",
},
{
title: "现存量",
align: "center",
key: "cqty",
},
{
title: "已领(现场)",
align: "center",
key: "issqty",
},
{
title: "现存无废品",
align: "center",
key: "dqty",
},
{
title: "采购在途",
align: "center",
key: "rqty",
},
{
title: "委外在途",
align: "center",
key: "rqty1",
},
{
title: "请购",
align: "center",
key: "rqty3",
},
{
title: "在制",
align: "center",
key: "momqty",
},
],
};
},
computed: {
total() {
return this.datas.length
return this.datas.length;
},
pagedData() {
return pageingData(this.datas, this.pageSize, this.pageNo)
}
return pageingData(this.datas, this.pageSize, this.pageNo);
},
},
mounted() {
this.loadData()
this.loadData();
},
methods: {
handelExport() {
export_col_to_excel(this.columns, this.datas)
export_col_to_excel(this.columns, this.datas);
},
handleClick() {
this.loadData()
this.loadData();
},
async loadData() {
try {
let _filetr = this.filter.inv_codes !== '' ? this.filter.inv_codes.split(/[,\s\n]/) : []
let _filetr =
this.filter.inv_codes !== ""
? this.filter.inv_codes.split(/[,\s\n,]/)
: [];
let resp = await getInventorymom(_filetr)
this.pageNo = 1
this.datas = resp.data.data
let resp = await getInventorymom(_filetr);
this.pageNo = 1;
this.datas = resp.data.data;
} catch (error) {}
},
handlePagechange(page) {
this.pageNo = page
this.pageNo = page;
},
handlePageSize(pageSize) {
this.pageSize = pageSize
}
}
}
this.pageSize = pageSize;
},
},
};
</script>
<style>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style >
h3 {
margin: 40px 0 0;
}
ul {
list-style-type: none;
padding: 0;
}
li {
display: inline-block;
margin: 0 10px;
}
a {
color: #42b983;
}
.ivu-table .demo-table-info-row td {
background-color: #2db7f5;
color: #fff;
}
.ivu-table .demo-table-error-row td {
background-color: #ff6600;
color: #fff;
}
.ivu-table td.demo-table-info-old {
color: #2db7f5;
}
.ivu-table td.demo-table-info-new {
color: #ff6600;
}
.ivu-table td.demo-table-info-ex {
color: #187;
font-weight: 600;
}
body {
padding: 10px 1;
}
</style>

View File

@@ -11,18 +11,30 @@
<label>规格</label>
<Input v-model="filter.inv_std" />
</Col>
<Col span="4">
<label>规格</label>
<Input v-model="filter.so_code" />
</Col>
<Col span="4">
<Button @click="handleClick">查询</Button>
<Button @click="handelExport">导出</Button>
<Button
size="large"
type="primary"
icon="ios-search"
@click="handleClick"
>查询</Button
>
<Button size="large" type="success" @click="handelExport"
>导出</Button
>
</Col>
</Row>
</div>
<Table style="margin-top: 20px" size="small" border :columns="columns" :data="pagedData"> </Table>
<Table
style="margin-top: 20px"
size="small"
border
:columns="columns"
:data="pagedData"
>
</Table>
<Page
style="margin-top: 20px"
@@ -41,140 +53,316 @@
</template>
<script>
import { getInventorymonth } from '@/api/pmc'
import { pageingData, export_col_to_excel } from '@/libs/tools'
import { getInventorymonth } from "@/api/pmc";
import { pageingData, export_col_to_excel, sortByKey } from "@/libs/tools";
export default {
data() {
return {
PageSizeOpts: [10, 15, 20, 30],
pageNo: 1,
strfilter: '',
strfilter: "",
multiple: false,
pageSize: 15,
datas: [],
filter: {
inv_codes: '',
inv_std: '',
so_code: ''
inv_codes: "",
inv_std: "",
so_code: "",
},
columns: [
{
title: '编号',
align: 'center',
key: 'invcode1',
width: '100'
title: "存货编号",
align: "center",
key: "cInvCode",
width: "90",
className: "demo-table-info-new",
},
{
title: '名称',
align: 'center',
key: 'cinvname1',
width: '120'
title: "存货名称",
align: "center",
key: "cInvName",
width: "120",
},
{
title: '规格',
align: 'center',
key: 'cinvstd1',
width: '250'
title: "规格",
align: "center",
key: "cInvStd",
width: "220",
},
{
title: 'cqty',
align: 'center',
key: 'cqty'
title: "单位",
width: 70,
align: "center",
key: "cComUnitName",
},
{
title: 'dqty',
align: 'center',
key: 'dqty'
title: "属性",
width: 70,
align: "center",
key: "std",
},
{
title: 'issqty',
align: 'center',
key: 'issqty'
title: "总需求(未领量)",
align: "center",
key: "wqty",
},
{
title: 'momqty',
align: 'center',
key: 'momqty'
title: "现存量",
align: "center",
key: "cqty",
},
{
title: 'mqty',
align: 'center',
key: 'mqty'
title: "已领(现场)",
align: "center",
key: "issqty",
},
{
title: 'q',
align: 'center',
key: 'q'
title: "现存无废品",
align: "center",
key: "dqty",
},
{
title: 'rqty',
align: 'center',
key: 'rqty'
title: "采购在途",
align: "center",
key: "rqty",
},
{
title: 'rqty1',
align: 'center',
key: 'rqty1'
title: "委外在途",
align: "center",
key: "rqty1",
},
{
title: 'rqty3',
align: 'center',
key: 'rqty3'
title: "请购",
align: "center",
key: "rqty3",
},
{
title: 'std',
align: 'center',
key: 'std'
title: "在制",
align: "center",
key: "momqty",
},
{
title: 'wqty',
align: 'center',
key: 'wqty'
}
]
}
title:
new Date().getFullYear() +
(new Date().getMonth() + 1 < 10
? "0" + (new Date().getMonth() + 1)
: new Date().getMonth() + 1),
align: "center",
key: "iQuantity00",
className: "demo-table-info-old",
},
{
title:
new Date(new Date().setMonth(new Date().getMonth() - 1))
.getFullYear()
.toString() +
(new Date(
new Date().setMonth(new Date().getMonth() - 1)
).getMonth() +
1 <
10
? "0" +
(
new Date(
new Date().setMonth(new Date().getMonth() - 1)
).getMonth() + 1
).toString()
: (
new Date(
new Date().setMonth(new Date().getMonth() - 1)
).getMonth() + 1
).toString()),
align: "center",
key: "iQuantity01",
className: "demo-table-info-old",
},
{
title:
new Date(new Date().setMonth(new Date().getMonth() - 2))
.getFullYear()
.toString() +
(new Date(
new Date().setMonth(new Date().getMonth() - 2)
).getMonth() +
1 <
10
? "0" +
(
new Date(
new Date().setMonth(new Date().getMonth() - 2)
).getMonth() + 1
).toString()
: (
new Date(
new Date().setMonth(new Date().getMonth() - 2)
).getMonth() + 1
).toString()),
align: "center",
key: "iQuantity02",
className: "demo-table-info-old",
},
{
title:
new Date(new Date().setMonth(new Date().getMonth() - 3))
.getFullYear()
.toString() +
(new Date(
new Date().setMonth(new Date().getMonth() - 3)
).getMonth() +
1 <
10
? "0" +
(
new Date(
new Date().setMonth(new Date().getMonth() - 3)
).getMonth() + 1
).toString()
: (
new Date(
new Date().setMonth(new Date().getMonth() - 3)
).getMonth() + 1
).toString()),
align: "center",
key: "iQuantity03",
className: "demo-table-info-old",
},
{
title:
new Date(new Date().setMonth(new Date().getMonth() - 4))
.getFullYear()
.toString() +
(new Date(
new Date().setMonth(new Date().getMonth() - 4)
).getMonth() +
1 <
10
? "0" +
(
new Date(
new Date().setMonth(new Date().getMonth() - 4)
).getMonth() + 1
).toString()
: (
new Date(
new Date().setMonth(new Date().getMonth() - 4)
).getMonth() + 1
).toString()),
align: "center",
key: "iQuantity04",
className: "demo-table-info-old",
},
{
title:
new Date(new Date().setMonth(new Date().getMonth() - 5))
.getFullYear()
.toString() +
(new Date(
new Date().setMonth(new Date().getMonth() - 5)
).getMonth() +
1 <
10
? "0" +
(
new Date(
new Date().setMonth(new Date().getMonth() - 5)
).getMonth() + 1
).toString()
: (
new Date(
new Date().setMonth(new Date().getMonth() - 5)
).getMonth() + 1
).toString()),
align: "center",
key: "iQuantity04",
className: "demo-table-info-old",
},
],
};
},
computed: {
total() {
return this.datas.length
return this.datas.length;
},
pagedData() {
return pageingData(this.datas, this.pageSize, this.pageNo)
}
return pageingData(this.datas, this.pageSize, this.pageNo);
},
},
mounted() {
this.loadData()
this.loadData();
},
methods: {
handelExport() {
export_col_to_excel(this.columns, this.datas)
export_col_to_excel(this.columns, this.datas);
},
handleClick() {
this.loadData()
this.loadData();
},
async loadData() {
try {
let _filert = {
inv_codes: this.filter.inv_codes !== '' ? this.filter.inv_codes.split(/[,\s\n]/) : null,
inv_codes:
this.filter.inv_codes !== ""
? this.filter.inv_codes.split(/[,\s\n,]/)
: null,
inv_std: this.filter.inv_std,
so_code: this.filter.so_code
}
let resp = await getInventorymonth(_filert)
this.pageNo = 1
this.datas = resp.data.data
so_code: this.filter.so_code,
};
let resp = await getInventorymonth(_filert);
this.pageNo = 1;
this.datas = sortByKey(resp.data.data, "cInvCode");
} catch (error) {}
},
handlePagechange(page) {
this.pageNo = page
this.pageNo = page;
},
handlePageSize(pageSize) {
this.pageSize = pageSize
}
}
}
this.pageSize = pageSize;
},
},
};
</script>
<style>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style >
h3 {
margin: 40px 0 0;
}
ul {
list-style-type: none;
padding: 0;
}
li {
display: inline-block;
margin: 0 10px;
}
a {
color: #42b983;
}
.ivu-table .demo-table-info-row td {
background-color: #2db7f5;
color: #fff;
}
.ivu-table .demo-table-error-row td {
background-color: #ff6600;
color: #fff;
}
.ivu-table td.demo-table-info-old {
color: #2db7f5;
}
.ivu-table td.demo-table-info-new {
color: #ff6600;
}
.ivu-table td.demo-table-info-ex {
color: #187;
font-weight: 600;
}
body {
padding: 10px 1;
}
</style>

View File

@@ -12,17 +12,32 @@
<Input v-model="filter.inv_std" />
</Col>
<Col span="4">
<label>规格</label>
<label>销售订单表</label>
<Input v-model="filter.so_code" />
</Col>
<Col span="4">
<Button @click="handleClick">查询</Button>
<Button @click="handelExport">导出</Button>
<Button
size="large"
type="primary"
icon="ios-search"
@click="handleClick"
>查询</Button
>
<Button size="large" type="success" @click="handelExport"
>导出</Button
>
</Col>
</Row>
</div>
<Table style="margin-top: 20px" size="small" border :columns="columns" :data="pagedData"> </Table>
<Table
style="margin-top: 20px"
size="small"
border
:columns="columns"
:data="pagedData"
>
</Table>
<Page
style="margin-top: 20px"
@@ -41,139 +56,199 @@
</template>
<script>
import { getInventorysocode } from '@/api/pmc'
import { pageingData, export_col_to_excel } from '@/libs/tools'
import { getInventorysocode } from "@/api/pmc";
import {
pageingData,
export_col_to_excel,
dateFormatFull,
dateFormat,
sortByKey,
} from "@/libs/tools";
export default {
data() {
return {
PageSizeOpts: [10, 15, 20, 30],
pageNo: 1,
strfilter: '',
strfilter: "",
multiple: false,
pageSize: 15,
datas: [],
filter: {
inv_codes: '',
inv_std: '',
so_code: ''
inv_codes: "",
inv_std: "",
so_code: "",
},
columns: [
{
title: '编号',
align: 'center',
key: 'invcode1',
width: '100'
title: "销售类型",
align: "center",
key: "cSTName",
width: "120",
},
{
title: '名称',
align: 'center',
key: 'cinvname1',
width: '120'
title: "销售编号",
align: "center",
key: "cSOCode",
width: "150",
},
{
title: '规格',
align: 'center',
key: 'cinvstd1',
width: '250'
title: "订单日期",
align: "center",
key: "dDate",
render: (h, params) => {
return <div> {dateFormat(params.row.dDate)} </div>;
},
},
{
title: 'cqty',
align: 'center',
key: 'cqty'
title: "行号",
align: "center",
key: "iRowNo",
width: "80",
},
{
title: 'dqty',
align: 'center',
key: 'dqty'
title: "客户名称",
align: "center",
key: "cCusAbbName",
},
{
title: 'issqty',
align: 'center',
key: 'issqty'
title: "产品编码",
align: "center",
key: "cInvCode",
className: "demo-table-info-new",
},
{
title: 'momqty',
align: 'center',
key: 'momqty'
title: "产品名称",
align: "center",
key: "cInvName",
},
{
title: 'mqty',
align: 'center',
key: 'mqty'
title: "规格型号",
align: "center",
key: "cInvStd",
width: "220",
},
{
title: 'q',
align: 'center',
key: 'q'
title: "订单数",
align: "center",
key: "iQuantity",
},
{
title: 'rqty',
align: 'center',
key: 'rqty'
title: "发货时间",
align: "center",
key: "fhdDate",
render: (h, params) => {
return <div> {dateFormat(params.row.fhdDate)} </div>;
},
},
{
title: 'rqty1',
align: 'center',
key: 'rqty1'
title: "发货数量",
align: "center",
key: "fqty",
},
{
title: 'rqty3',
align: 'center',
key: 'rqty3'
title: "出库数量",
align: "center",
key: "cqty",
},
{
title: 'std',
align: 'center',
key: 'std'
title: "现存量",
align: "center",
key: "qty",
},
{
title: 'wqty',
align: 'center',
key: 'wqty'
}
]
}
title: "在制量",
align: "center",
key: "momqty",
},
],
};
},
computed: {
total() {
return this.datas.length
return this.datas.length;
},
pagedData() {
return pageingData(this.datas, this.pageSize, this.pageNo)
}
return pageingData(this.datas, this.pageSize, this.pageNo);
},
},
mounted() {
this.loadData()
this.loadData();
},
methods: {
handelExport() {
export_col_to_excel(this.columns, this.datas)
export_col_to_excel(this.columns, this.datas);
},
handleClick() {
this.loadData()
console.log(2)
this.loadData();
console.log(2);
},
async loadData() {
let _filert = {
inv_codes: this.filter.inv_codes !== '' ? this.filter.inv_codes.split(/[,\s\n]/) : null,
inv_codes:
this.filter.inv_codes !== ""
? this.filter.inv_codes.split(/[,\s\n,]/)
: null,
inv_std: this.filter.inv_std,
so_code: this.filter.so_code
}
let resp = await getInventorysocode(_filert)
this.pageNo = 1
this.datas = resp.data.data
so_code: this.filter.so_code,
};
let resp = await getInventorysocode(_filert);
this.pageNo = 1;
this.datas =resp.data.data;
this.datas = sortByKey(resp.data.data, "cSOCode");
},
handlePagechange(page) {
this.pageNo = page
this.pageNo = page;
},
handlePageSize(pageSize) {
this.pageSize = pageSize
}
}
}
this.pageSize = pageSize;
},
},
};
</script>
<style>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style >
h3 {
margin: 40px 0 0;
}
ul {
list-style-type: none;
padding: 0;
}
li {
display: inline-block;
margin: 0 10px;
}
a {
color: #42b983;
}
.ivu-table .demo-table-info-row td {
background-color: #2db7f5;
color: #fff;
}
.ivu-table .demo-table-error-row td {
background-color: #ff6600;
color: #fff;
}
.ivu-table td.demo-table-info-old {
color: #2db7f5;
}
.ivu-table td.demo-table-info-new {
color: #ff6600;
}
.ivu-table td.demo-table-info-ex {
color: #187;
font-weight: 600;
}
body {
padding: 10px 1;
}
</style>

View File

@@ -11,18 +11,30 @@
<label>规格</label>
<Input v-model="filter.inv_std" />
</Col>
<Col span="4">
<label>规格</label>
<Input v-model="filter.so_code" />
</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>
<Table style="margin-top: 20px" size="small" border :columns="columns" :data="pagedData"> </Table>
<Table
style="margin-top: 20px"
size="small"
border
:columns="columns"
:data="pagedData"
>
</Table>
<Page
style="margin-top: 20px"
@@ -41,139 +53,187 @@
</template>
<script>
import { getInventoryall } from '@/api/pmc'
import { pageingData, export_col_to_excel } from '@/libs/tools'
import { getInventoryall } from "@/api/pmc";
import { pageingData, export_col_to_excel, sortByKey } from "@/libs/tools";
export default {
data() {
return {
PageSizeOpts: [10, 15, 20, 30],
pageNo: 1,
strfilter: '',
strfilter: "",
multiple: false,
pageSize: 15,
datas: [],
filter: {
inv_codes: '',
inv_std: '',
so_code: ''
inv_codes: "",
inv_std: "",
so_code: "",
},
columns: [
{
title: '编号',
align: 'center',
key: 'invcode1',
width: '100'
},
{
title: '名称',
align: 'center',
key: 'cinvname1',
width: '120'
type: "index",
title: "序号",
width: 60,
align: "center",
},
{
title: '规格',
align: 'center',
key: 'cinvstd1',
width: '250'
title: "存货编码",
align: "center",
key: "invcode1",
className: "demo-table-info-new",
},
{
title: 'cqty',
align: 'center',
key: 'cqty'
title: "存货名称",
align: "center",
key: "cinvname1",
className: "demo-table-info-old",
},
{
title: 'dqty',
align: 'center',
key: 'dqty'
title: "规格型号",
width: 200,
align: "center",
key: "cinvstd1",
className: "demo-table-info-old",
},
{
title: 'issqty',
align: 'center',
key: 'issqty'
title: "单位",
width: 80,
align: "center",
key: "c_com_unit_name",
className: "demo-table-info-old",
},
{
title: 'momqty',
align: 'center',
key: 'momqty'
title: "属性",
align: "center",
key: "std",
className: "demo-table-info-old",
},
{
title: 'mqty',
align: 'center',
key: 'mqty'
title: "总需求(未领量)",
align: "center",
key: "wqty",
},
{
title: 'q',
align: 'center',
key: 'q'
title: "现存量",
align: "center",
key: "cqty",
},
{
title: 'rqty',
align: 'center',
key: 'rqty'
title: "已领(现场)",
align: "center",
key: "issqty",
},
{
title: 'rqty1',
align: 'center',
key: 'rqty1'
title: "现存无废品",
align: "center",
key: "dqty",
},
{
title: 'rqty3',
align: 'center',
key: 'rqty3'
title: "采购在途",
align: "center",
key: "rqty",
},
{
title: 'std',
align: 'center',
key: 'std'
title: "委外在途",
align: "center",
key: "rqty1",
},
{
title: 'wqty',
align: 'center',
key: 'wqty'
}
]
}
title: "请购",
align: "center",
key: "rqty3",
},
{
title: "在制",
align: "center",
key: "momqty",
},
],
};
},
computed: {
total() {
return this.datas.length
return this.datas.length;
},
pagedData() {
return pageingData(this.datas, this.pageSize, this.pageNo)
}
return pageingData(this.datas, this.pageSize, this.pageNo);
},
},
mounted() {
this.loadData()
this.loadData();
},
methods: {
handelExport() {
export_col_to_excel(this.columns, this.datas)
export_col_to_excel(this.columns, this.datas);
},
handleClick() {
this.loadData()
console.log(2)
this.loadData();
console.log(2);
},
async loadData() {
let _filert = {
inv_codes: this.filter.inv_codes !== '' ? this.filter.inv_codes.split(/[,\s\n]/) : null,
inv_codes:
this.filter.inv_codes !== ""
? this.filter.inv_codes.split(/[,\s\n,]/)
: null,
inv_std: this.filter.inv_std,
so_code: this.filter.so_code
}
let resp = await getInventoryall(_filert)
this.pageNo = 1
this.datas = resp.data.data
so_code: this.filter.so_code,
};
let resp = await getInventoryall(_filert);
this.pageNo = 1;
this.datas = sortByKey(resp.data.data, "invcode1");
},
handlePagechange(page) {
this.pageNo = page
this.pageNo = page;
},
handlePageSize(pageSize) {
this.pageSize = pageSize
}
}
}
this.pageSize = pageSize;
},
},
};
</script>
<style>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style >
h3 {
margin: 40px 0 0;
}
ul {
list-style-type: none;
padding: 0;
}
li {
display: inline-block;
margin: 0 10px;
}
a {
color: #42b983;
}
.ivu-table .demo-table-info-row td {
background-color: #2db7f5;
color: #fff;
}
.ivu-table .demo-table-error-row td {
background-color: #ff6600;
color: #fff;
}
.ivu-table td.demo-table-info-old {
color: #2db7f5;
}
.ivu-table td.demo-table-info-new {
color: #ff6600;
}
.ivu-table td.demo-table-info-ex {
color: #187;
font-weight: 600;
}
body {
padding: 10px 1;
}
</style>