Commit 3cb57ada authored by 季圣华's avatar 季圣华
Browse files

优化报表的列的位置

parent c51aa7c7
...@@ -117,14 +117,14 @@ ...@@ -117,14 +117,14 @@
return (t !== '合计') ? (parseInt(index) + 1) : t return (t !== '合计') ? (parseInt(index) + 1) : t
} }
}, },
{ title: '账户流水', dataIndex: 'action', align:"center", width: 120,
scopedSlots: { customRender: 'action' }
},
{ title: '名称', dataIndex: 'name', width: 150}, { title: '名称', dataIndex: 'name', width: 150},
{ title: '编号', dataIndex: 'serialNo', width: 150}, { title: '编号', dataIndex: 'serialNo', width: 150},
{ title: '期初金额', dataIndex: 'initialAmount', sorter: (a, b) => a.initialAmount - b.initialAmount, width: 100}, { title: '期初金额', dataIndex: 'initialAmount', sorter: (a, b) => a.initialAmount - b.initialAmount, width: 100},
{ title: '本月发生额', dataIndex: 'thisMonthAmount', sorter: (a, b) => a.thisMonthAmount - b.thisMonthAmount, width: 100}, { title: '本月发生额', dataIndex: 'thisMonthAmount', sorter: (a, b) => a.thisMonthAmount - b.thisMonthAmount, width: 100},
{ title: '当前余额', dataIndex: 'currentAmount', sorter: (a, b) => a.currentAmount - b.currentAmount, width: 100}, { title: '当前余额', dataIndex: 'currentAmount', sorter: (a, b) => a.currentAmount - b.currentAmount, width: 100}
{ title: '账户流水', dataIndex: 'action', align:"center", width: 120,
scopedSlots: { customRender: 'action' }
}
], ],
url: { url: {
list: "/account/list", list: "/account/list",
......
...@@ -136,6 +136,9 @@ ...@@ -136,6 +136,9 @@
return (t !== '合计') ? (parseInt(index) + 1) : t return (t !== '合计') ? (parseInt(index) + 1) : t
} }
}, },
{title: '欠款详情', dataIndex: 'action', align:"center", width: 80,
scopedSlots: { customRender: 'action' }
},
{title: '客户', dataIndex: 'supplier', width: 150, ellipsis:true}, {title: '客户', dataIndex: 'supplier', width: 150, ellipsis:true},
{title: '联系人', dataIndex: 'contacts', width: 100, ellipsis:true}, {title: '联系人', dataIndex: 'contacts', width: 100, ellipsis:true},
{title: '手机号码', dataIndex: 'telephone', width: 100}, {title: '手机号码', dataIndex: 'telephone', width: 100},
...@@ -144,10 +147,7 @@ ...@@ -144,10 +147,7 @@
{title: '期初应收', dataIndex: 'preNeed', width: 80}, {title: '期初应收', dataIndex: 'preNeed', width: 80},
{title: '本期欠款', dataIndex: 'debtMoney', width: 80}, {title: '本期欠款', dataIndex: 'debtMoney', width: 80},
{title: '本期收款', dataIndex: 'backMoney', width: 80}, {title: '本期收款', dataIndex: 'backMoney', width: 80},
{title: '期末应收', dataIndex: 'allNeed', width: 80}, {title: '期末应收', dataIndex: 'allNeed', width: 80}
{title: '欠款详情', dataIndex: 'action', align:"center", width: 80,
scopedSlots: { customRender: 'action' }
}
], ],
url: { url: {
list: "/depotHead/getStatementAccount", list: "/depotHead/getStatementAccount",
......
...@@ -146,6 +146,9 @@ ...@@ -146,6 +146,9 @@
return (t !== '合计') ? (parseInt(index) + 1) : t return (t !== '合计') ? (parseInt(index) + 1) : t
} }
}, },
{title: '库存流水', dataIndex: 'action', align:"center", width: 100,
scopedSlots: { customRender: 'action' }
},
{title: '条码', dataIndex: 'mBarCode', width: 80}, {title: '条码', dataIndex: 'mBarCode', width: 80},
{title: '名称', dataIndex: 'name', width: 140, ellipsis:true}, {title: '名称', dataIndex: 'name', width: 140, ellipsis:true},
{title: '规格', dataIndex: 'standard', width: 80, ellipsis:true}, {title: '规格', dataIndex: 'standard', width: 80, ellipsis:true},
...@@ -156,10 +159,7 @@ ...@@ -156,10 +159,7 @@
{title: '单价', dataIndex: 'purchaseDecimal', sorter: (a, b) => a.purchaseDecimal - b.purchaseDecimal, width: 60}, {title: '单价', dataIndex: 'purchaseDecimal', sorter: (a, b) => a.purchaseDecimal - b.purchaseDecimal, width: 60},
{title: '初始库存', dataIndex: 'initialStock', sorter: (a, b) => a.initialStock - b.initialStock, width: 60}, {title: '初始库存', dataIndex: 'initialStock', sorter: (a, b) => a.initialStock - b.initialStock, width: 60},
{title: '库存', dataIndex: 'currentStock', sorter: (a, b) => a.currentStock - b.currentStock, width: 60}, {title: '库存', dataIndex: 'currentStock', sorter: (a, b) => a.currentStock - b.currentStock, width: 60},
{title: '库存金额', dataIndex: 'currentStockPrice', sorter: (a, b) => a.currentStockPrice - b.currentStockPrice, width: 80}, {title: '库存金额', dataIndex: 'currentStockPrice', sorter: (a, b) => a.currentStockPrice - b.currentStockPrice, width: 80}
{title: '库存流水', dataIndex: 'action', align:"center", width: 100,
scopedSlots: { customRender: 'action' }
}
], ],
url: { url: {
list: "/material/getListWithStock" list: "/material/getListWithStock"
......
...@@ -136,6 +136,9 @@ ...@@ -136,6 +136,9 @@
return (t !== '合计') ? (parseInt(index) + 1) : t return (t !== '合计') ? (parseInt(index) + 1) : t
} }
}, },
{title: '欠款详情', dataIndex: 'action', align:"center", width: 80,
scopedSlots: { customRender: 'action' }
},
{title: '供应商', dataIndex: 'supplier', width: 150, ellipsis:true}, {title: '供应商', dataIndex: 'supplier', width: 150, ellipsis:true},
{title: '联系人', dataIndex: 'contacts', width: 100, ellipsis:true}, {title: '联系人', dataIndex: 'contacts', width: 100, ellipsis:true},
{title: '手机号码', dataIndex: 'telephone', width: 100}, {title: '手机号码', dataIndex: 'telephone', width: 100},
...@@ -144,10 +147,7 @@ ...@@ -144,10 +147,7 @@
{title: '期初应付', dataIndex: 'preNeed', width: 80}, {title: '期初应付', dataIndex: 'preNeed', width: 80},
{title: '本期欠款', dataIndex: 'debtMoney', width: 80}, {title: '本期欠款', dataIndex: 'debtMoney', width: 80},
{title: '本期付款', dataIndex: 'backMoney', width: 80}, {title: '本期付款', dataIndex: 'backMoney', width: 80},
{title: '期末应付', dataIndex: 'allNeed', width: 80}, {title: '期末应付', dataIndex: 'allNeed', width: 80}
{title: '欠款详情', dataIndex: 'action', align:"center", width: 80,
scopedSlots: { customRender: 'action' }
}
], ],
url: { url: {
list: "/depotHead/getStatementAccount", list: "/depotHead/getStatementAccount",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment