#
18516761980
2022-07-26 2ef92e67e6d0ea80cf893b8d4938f27549192513
src/main/webapp/static/js/salesOrder/salsesOrder.js
@@ -17,10 +17,16 @@
        , {field: 'inQty', align: 'center', title: '入库数量', width: 110}
        , {field: 'disQty', align: 'center', title: '通知单', width: 110}
        , {field: 'outQty', align: 'center', title: '出库数量', width: 110}
        , {field: 'invoiceQty', align: 'center', title: '开票数量'}
        , {field: 'unInvoiceQty', align: 'center', title: '未开票数量'}
        , {field: 'deliveryDate', align: 'center', title: '交货日期'}
        , {field: 'personName', align: 'center', title: '业务员'}
        , {field: 'invoiceQty', align: 'center', title: '开票数量', width: 110}
        , {field: 'unInvoiceQty', align: 'center', title: '未开票数量', width: 110}
        , {field: 'deliveryDate', align: 'center', title: '交货日期', width: 110}
        , {field: 'personName', align: 'center', title: '业务员', width: 110}
        , {field: 'outDate', align: 'center', title: '出库日期', width: 110}
        , {field: 'outPrice', align: 'center', title: '出库单价', width: 110}
        , {field: 'outAmount', align: 'center', title: '出库金额', width: 110}
        , {field: 'invoiceDate', align: 'center', title: '开票日期', width: 110}
        , {field: 'invoiceAmount', align: 'center', title: '开票金额', width: 110}
        , {field: 'custName', align: 'center', title: '客户名称', width: 110}
    );
    return cols;
}
@@ -88,10 +94,26 @@
    // 时间选择器
    layDate.render({
        elem: '.layui-laydate-range'
        elem: '#orderTimeRange'
        ,style: 'width: 150px'
        , range: true
    });
    layDate.render({
        elem: '#orderTimeDeliveryRange'
        ,style: 'width: 150px'
        , range: true
    });
    layDate.render({
        elem: '#orderTimeOutRange'
        ,style: 'width: 150px'
        , range: true
    });
    // layDate.render({
    //     elem: '.layui-laydate-range'
    //     ,style: 'width: 150px'
    //     , range: true
    // });
});
/* 表格数据重载 */
@@ -103,6 +125,14 @@
            searchData.startTime = this.value.substring(0, 10);
            searchData.endTime = this.value.substring(13, this.value.length);
        }
        if (this.name == 'orderTimeDelivery') {
            searchData.startTimeDelivery = this.value.substring(0, 10);
            searchData.endTimeDelivery = this.value.substring(13, this.value.length);
        }
        if (this.name == 'orderTimeOut') {
            searchData.startTimeOut = this.value.substring(0, 10);
            searchData.endTimeOut = this.value.substring(13, this.value.length);
        }
    });
    (child ? parent.tableIns : tableIns).reload({
        where: searchData,