王佳豪
2021-06-19 e44bb1a95ca5e383dff5f3daa8812b49096e079b
销售订单列优化
2个文件已修改
32 ■■■■ 已修改文件
src/main/webapp/static/js/salesOrder/salsesOrder.js 29 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/salesOrder/salesOrder.html 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/salesOrder/salsesOrder.js
@@ -4,18 +4,20 @@
function getCol() {
    var cols = [];
    cols.push(
        {field: 'orderCode', align: 'center', title: '订单编号', width: 120}
        , {field: 'orderDate', align: 'center', title: '订单日期', width: 140}
        , {field: 'invCode', align: 'center', title: '物料编码', width: 140}
        {field: 'orderCode', align: 'center', title: '订单编号', width: 110}
        , {field: 'orderDate', align: 'center', title: '订单日期', width: 120}
        , {field: 'invCode', align: 'center', title: '物料编码', width: 130}
        , {field: 'invName', align: 'center', title: '物料名称', width: 350}
        , {field: 'invStd', align: 'center', title: '规格型号', width: 180}
        , {field: 'invUnit', align: 'center', title: '单位', width: 80}
        , {field: 'invStd', align: 'center', title: '规格型号', width: 160}
        , {field: 'invUnit', align: 'center', title: '单位', width: 80, hide: true}
        , {field: 'orderQty', align: 'center', title: '订单数量', width: 120}
        , {field: 'outQty', align: 'center', title: '发货数量', width: 120}
        , {field: 'izMrp', align: 'center', title: '是否mrp计算', hide: true}
        , {field: 'inQty', align: 'center', title: '产成品入库数量', width: 140}
        , {field: 'productQty', align: 'center', title: '生产任务单数量', width: 140}
        , {field: 'izReceive', align: 'center', title: '是否收料', hide: true}
        , {field: 'izMrp', align: 'center', title: '大订单(mrp)',width: 115}
        , {field: 'productQty', align: 'center', title: '任务单', width: 110}
        , {field: 'izReceive', align: 'center', title: '小订单', width: 80}
        , {field: 'inQty', align: 'center', title: '入库数量', width: 110}
        , {field: 'disQty', align: 'center', title: '通知单', width: 110}
        , {field: 'outQty', align: 'center', title: '出库数量', width: 110}
    );
    return cols;
}
@@ -33,11 +35,8 @@
        elem: '#salesOrder',
        headers: {token: localStorage.getItem('token')},
        url: 'http://192.168.0.253:8073/api/report/getorderreport',
        // where: {
        //     orderCode: 'NX5288',
        //     startTime: '2021-01-01',
        //     endTime: '2021-01-01',
        // },
        height: 650,
        width: '100%',
        page: true,
        limit: limit,
        limits: [16, 50, 100, 200, 500],
src/main/webapp/views/salesOrder/salesOrder.html
@@ -36,6 +36,9 @@
    #layui-laydate1 {
        width: 300px;
    }
    .layui-table-body.layui-table-main{
        overflow: auto;
    }
</style>
<body>