yusijie
2023-12-01 56b15c48939c9be8ed4fb1315d0cdbde963d3ea6
WebTM/views/ÁìÁÏ·¢»õ/ÏúÊÛ³ö¿â/Kf_SellOutBillList.html
@@ -321,6 +321,7 @@
                option = {
                    elem: '#mainTable'
                    , toolbar: '#toolbarDemo'
                    , totalRow: true
                    , height: 'full-50'
                    , page: true
                    , cellMinWidth: 90
@@ -357,9 +358,9 @@
                        , { field: 'hunitid', title: 'hunitid', width: 200, hide: true, sort: true }
                        , { field: '计量单位代码', title: '计量单位代码', width: 200, sort: true }
                        , { field: '计量单位', title: '计量单位', width: 115, sort: true }
                        , { field: '数量', title: '数量', width: 200, sort: true }
                        , { field: '数量', title: '数量', totalRow: true, width: 200, sort: true }
                        , { field: '单价', title: '单价', width: 200, sort: true }
                        , { field: '金额', title: '金额', width: 200, sort: true }
                        , { field: '金额', title: '金额', totalRow: true, width: 200, sort: true }
                        , { field: '制单人', title: '制单人', width: 125, sort: true }
                        , { field: '制单日期', title: '制单日期', width: 200, templet: "<div>{{d.制单日期 ==null ?'':layui.util.toDateString(d.制单日期, 'yyyy-MM-dd HH:mm:ss')}}</div>", sort: true }
                        , { field: '审核人', title: '审核人', width: 125, sort: true }
@@ -806,6 +807,11 @@
                var checkStatus = table.checkStatus('mainTable')
                    , data = checkStatus.data;
                if (checkStatus.data.length === 1) {
                    if (data[0].状态 != "已审核") {
                        layer.alert("打印失败!原因:单据状态不为'已审核'状态!!", { icon: 5 });
                        return;
                    }
                    layer.open({
                        type: 2
                        , area: ['50%', '50%']