| | |
| | | , {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; |
| | | } |
| | |
| | | |
| | | // 时间选择器 |
| | | 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 |
| | | // }); |
| | | }); |
| | | |
| | | /* 表格数据重载 */ |
| | |
| | | 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, |
| | |
| | | <link rel="stylesheet" href="../../static/css/cool.css" media="all"> |
| | | <link rel="stylesheet" href="../../static/css/common.css" media="all"> |
| | | <link rel="stylesheet" href="../../static/css/print.css" media="all"> |
| | | <!-- <style>--> |
| | | <!-- .layui-table-body.layui-table-main {--> |
| | | <!-- overflow: scroll;--> |
| | | <!-- }--> |
| | | <!-- </style>--> |
| | | </head> |
| | | <style> |
| | | #search-box { |
| | |
| | | width: 300px; |
| | | } |
| | | .layui-table-body.layui-table-main{ |
| | | overflow: auto; |
| | | overflow: scroll; |
| | | } |
| | | </style> |
| | | <body> |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="condition" placeholder="请输入" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="custName" placeholder="客户" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <!-- <div class="layui-inline">--> |
| | | <!-- <div class="layui-input-inline">--> |
| | | <!-- <input class="layui-input" type="text" name="condition" placeholder="请输入" autocomplete="off">--> |
| | | <!-- </div>--> |
| | | <!-- </div>--> |
| | | |
| | | <!-- 日期范围 --> |
| | | <div class="layui-inline" style="width: 300px"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input layui-laydate-range" name="orderTime" type="text" placeholder="起始时间 - 终止时间" autocomplete="off" style="width: 300px"> |
| | | <input class="layui-input layui-laydate-range" id="orderTimeRange" name="orderTime" type="text" placeholder="订单日期" autocomplete="off" style="width: 300px"> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="layui-inline" style="width: 300px"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input layui-laydate-range" id="orderTimeDeliveryRange" name="orderTimeDelivery" type="text" placeholder="交货日期" autocomplete="off" style="width: 300px"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline" style="width: 300px"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input layui-laydate-range" id="orderTimeOutRange" name="orderTimeOut" type="text" placeholder="出库日期" autocomplete="off" style="width: 300px"> |
| | | </div> |
| | | </div> |
| | | <!--<div class="layui-inline" style="width: 150px">--> |
| | | <!--<select id="orderState" name="orderState">--> |
| | | <!--<option value="">订单状态</option>--> |
| | |
| | | </div> |
| | | |
| | | <!-- 表格 --> |
| | | <div class="layui-form"> |
| | | <div class="layui-form" style="width: 100%"> |
| | | <table class="layui-hide" id="salesOrder" lay-filter="salesOrder"></table> |
| | | </div> |
| | | |