禁用吊车需求

This commit is contained in:
jiang 2025-07-18 15:28:49 +08:00
parent f414abd690
commit 539b002f8e
6 changed files with 26 additions and 65 deletions

View File

@ -144,57 +144,6 @@
"target": "_self"
}
]
},{
"title": "车辆需求计划管理",
"href": "",
"icon": "fa fa-cog",
"target": "_self",
"child": [
{
"title": "用车计划申请",
"href": "page/car_demand_plan/apply_plan_list.html",
"icon": "fa fa-asterisk",
"target": "_self"
},
{
"title": "用车计划审核",
"href": "page/car_demand_plan/apply_plan_audit_list.html",
"icon": "fa fa-asterisk",
"target": "_self"
},
{
"title": "紧急及内部用车",
"href": "page/car_demand_plan/emerg_internal_car_list.html",
"icon": "fa fa-asterisk",
"target": "_self"
}
]
},
{
"title": "工器具需求计划",
"href": "",
"icon": "fa fa-home",
"target": "_self",
"child": [
{
"title": "工器具计划申请",
"href": "page/demandPlan/apply_plan_list.html",
"icon": "fa fa-tachometer",
"target": "_self"
},
{
"title": "工器具计划审核",
"href": "page/demandPlan/plan_check_list.html",
"icon": "fa fa-tachometer",
"target": "_self"
},
{
"title": "工器具发货统计",
"href": "page/demandPlan/delivery_list.html",
"icon": "fa fa-tachometer",
"target": "_self"
}
]
}
]
}

View File

@ -5,7 +5,7 @@ let pageNum = 1;
function setParams(params) {
objParam = JSON.parse(params);
console.error(objParam);
$('#code').html(objParam.planCode);
$('#titleName').html(objParam.proName);
layui.use(["form", "table", 'upload', 'layer'], function () {
@ -218,8 +218,17 @@ function exportExcel() {
exportExcelUtil(url, '采购发货明细', JSON.stringify(params));
}
/*
// 打印
function print() {
// 打印前追加新的内容到 #table-box 内
const newElement = document.createElement('div');
newElement.innerHTML = '<p>新增内容:这是打印前加上的内容!</p>';
// 将新的内容插入到 #table-box 内部
document.querySelector('#table-box').appendChild(newElement);
Print('#table-box', {
onStart: function () {
console.log('onStart', new Date())
@ -229,6 +238,7 @@ function print() {
}
})
}
*/
// 预览文件
function viewFile(obj) {
@ -265,12 +275,12 @@ function print() {
$("#main-box").print({
globalStyles: true,
mediaPrint: false,
stylesheet: '../../../css/aq_demand_plan/apply_plan_detail.css',
stylesheet: '../../../../css/aq_demand_plan/send_out_detail.css',
noPrintSelector: ".no-print",
iframe: true,
append: null,
prepend: null,
prepend: null, // 添加到打印内容的开头
manuallyCopyFormValues: true,
deferred: $.Deferred()
});
}
}

View File

@ -139,9 +139,9 @@ function saveData2() {
// 提交前确认
function beforeSubmitApply() {
// 校验发货附件是否上传
if (fileList.length === 0) {
/* if (fileList.length === 0) {
return layer.msg('请上传发货附件', { icon: 7 });
}
}*/
let dataList = getBaseTableData();
// 校验 发货明细数据
for (let i = 0; i < dataList.length; i++) {
@ -350,4 +350,4 @@ function closePage(data) {
frameId.contentWindow.sendOutSuccess(JSON.stringify(obj));
}
parent.layer.close(index); // 再执行关闭
}
}

View File

@ -144,9 +144,9 @@ function saveData2() {
// 提交前确认
function beforeSubmitApply() {
// 校验发货附件是否上传
if (fileList.length === 0) {
/* if (fileList.length === 0) {
return layer.msg('请上传发货附件', { icon: 7 });
}
}*/
let dataList = getBaseTableData();
// 校验 发货明细数据
for (let i = 0; i < dataList.length; i++) {

View File

@ -72,7 +72,7 @@
</form>
<div class="layui-upload" style="padding: 0 39px;">
<blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;width: auto;border: none;">
<p>发货附件<span class="required">*</span></p>
<p>发货附件</p>
<div class="layui-upload-list uploader-list" style="overflow: auto;" id="uploader-list"></div>
<div id="test2" style="margin-left: 10px;">
<img src="../../../images/add.png">
@ -172,4 +172,4 @@
<script src="../../../js/aq_demand_plan/child/send_out_form_table.js" charset="utf-8"></script>
<script src="../../../js/aq_demand_plan/child/send_out_form.js" charset="utf-8"></script>
</html>
</html>

View File

@ -54,10 +54,12 @@
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label" style="width: 100px !important;">备注</label>
<label class="layui-form-label" style="width: 100px !important;">备注<span
class="required">*</span></label>
<div class="layui-input-inline" style="width: 764px;">
<textarea placeholder="请输入备注" id="remark" name="remark"
class="layui-textarea" maxLength="255" lay-affix="clear"></textarea>
class="layui-textarea" lay-verify="required" maxLength="255"
lay-affix="clear"></textarea>
</div>
</div>
<button type="submit" id="formSubmit" class="layui-btn" lay-submit="" lay-filter="formData"
@ -65,7 +67,7 @@
</form>
<div class="layui-upload" style="padding: 0 39px;">
<blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;width: auto;border: none;">
<p>发货附件<span class="required">*</span></p>
<p>发货附件</p>
<div class="layui-upload-list uploader-list" style="overflow: auto;" id="uploader-list"></div>
<div id="test2" style="margin-left: 10px;">
<img src="../../../images/add.png">