禁用吊车需求
This commit is contained in:
parent
f414abd690
commit
539b002f8e
|
|
@ -144,57 +144,6 @@
|
||||||
"target": "_self"
|
"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"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -218,8 +218,17 @@ function exportExcel() {
|
||||||
exportExcelUtil(url, '采购发货明细', JSON.stringify(params));
|
exportExcelUtil(url, '采购发货明细', JSON.stringify(params));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
// 打印
|
// 打印
|
||||||
function print() {
|
function print() {
|
||||||
|
|
||||||
|
// 打印前追加新的内容到 #table-box 内
|
||||||
|
const newElement = document.createElement('div');
|
||||||
|
newElement.innerHTML = '<p>新增内容:这是打印前加上的内容!</p>';
|
||||||
|
|
||||||
|
// 将新的内容插入到 #table-box 内部
|
||||||
|
document.querySelector('#table-box').appendChild(newElement);
|
||||||
|
|
||||||
Print('#table-box', {
|
Print('#table-box', {
|
||||||
onStart: function () {
|
onStart: function () {
|
||||||
console.log('onStart', new Date())
|
console.log('onStart', new Date())
|
||||||
|
|
@ -229,6 +238,7 @@ function print() {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// 预览文件
|
// 预览文件
|
||||||
function viewFile(obj) {
|
function viewFile(obj) {
|
||||||
|
|
@ -265,11 +275,11 @@ function print() {
|
||||||
$("#main-box").print({
|
$("#main-box").print({
|
||||||
globalStyles: true,
|
globalStyles: true,
|
||||||
mediaPrint: false,
|
mediaPrint: false,
|
||||||
stylesheet: '../../../css/aq_demand_plan/apply_plan_detail.css',
|
stylesheet: '../../../../css/aq_demand_plan/send_out_detail.css',
|
||||||
noPrintSelector: ".no-print",
|
noPrintSelector: ".no-print",
|
||||||
iframe: true,
|
iframe: true,
|
||||||
append: null,
|
append: null,
|
||||||
prepend: null,
|
prepend: null, // 添加到打印内容的开头
|
||||||
manuallyCopyFormValues: true,
|
manuallyCopyFormValues: true,
|
||||||
deferred: $.Deferred()
|
deferred: $.Deferred()
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -139,9 +139,9 @@ function saveData2() {
|
||||||
// 提交前确认
|
// 提交前确认
|
||||||
function beforeSubmitApply() {
|
function beforeSubmitApply() {
|
||||||
// 校验发货附件是否上传
|
// 校验发货附件是否上传
|
||||||
if (fileList.length === 0) {
|
/* if (fileList.length === 0) {
|
||||||
return layer.msg('请上传发货附件', { icon: 7 });
|
return layer.msg('请上传发货附件', { icon: 7 });
|
||||||
}
|
}*/
|
||||||
let dataList = getBaseTableData();
|
let dataList = getBaseTableData();
|
||||||
// 校验 发货明细数据
|
// 校验 发货明细数据
|
||||||
for (let i = 0; i < dataList.length; i++) {
|
for (let i = 0; i < dataList.length; i++) {
|
||||||
|
|
|
||||||
|
|
@ -144,9 +144,9 @@ function saveData2() {
|
||||||
// 提交前确认
|
// 提交前确认
|
||||||
function beforeSubmitApply() {
|
function beforeSubmitApply() {
|
||||||
// 校验发货附件是否上传
|
// 校验发货附件是否上传
|
||||||
if (fileList.length === 0) {
|
/* if (fileList.length === 0) {
|
||||||
return layer.msg('请上传发货附件', { icon: 7 });
|
return layer.msg('请上传发货附件', { icon: 7 });
|
||||||
}
|
}*/
|
||||||
let dataList = getBaseTableData();
|
let dataList = getBaseTableData();
|
||||||
// 校验 发货明细数据
|
// 校验 发货明细数据
|
||||||
for (let i = 0; i < dataList.length; i++) {
|
for (let i = 0; i < dataList.length; i++) {
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,7 @@
|
||||||
</form>
|
</form>
|
||||||
<div class="layui-upload" style="padding: 0 39px;">
|
<div class="layui-upload" style="padding: 0 39px;">
|
||||||
<blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;width: auto;border: none;">
|
<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 class="layui-upload-list uploader-list" style="overflow: auto;" id="uploader-list"></div>
|
||||||
<div id="test2" style="margin-left: 10px;">
|
<div id="test2" style="margin-left: 10px;">
|
||||||
<img src="../../../images/add.png">
|
<img src="../../../images/add.png">
|
||||||
|
|
|
||||||
|
|
@ -54,10 +54,12 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="layui-form-item">
|
<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;">
|
<div class="layui-input-inline" style="width: 764px;">
|
||||||
<textarea placeholder="请输入备注" id="remark" name="remark"
|
<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>
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" id="formSubmit" class="layui-btn" lay-submit="" lay-filter="formData"
|
<button type="submit" id="formSubmit" class="layui-btn" lay-submit="" lay-filter="formData"
|
||||||
|
|
@ -65,7 +67,7 @@
|
||||||
</form>
|
</form>
|
||||||
<div class="layui-upload" style="padding: 0 39px;">
|
<div class="layui-upload" style="padding: 0 39px;">
|
||||||
<blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;width: auto;border: none;">
|
<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 class="layui-upload-list uploader-list" style="overflow: auto;" id="uploader-list"></div>
|
||||||
<div id="test2" style="margin-left: 10px;">
|
<div id="test2" style="margin-left: 10px;">
|
||||||
<img src="../../../images/add.png">
|
<img src="../../../images/add.png">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue