You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
654 lines
28 KiB
654 lines
28 KiB
<!DOCTYPE html>
|
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
|
|
<head>
|
|
<th:block th:include="include :: header('委外报价列表')"/>
|
|
</head>
|
|
<body class="gray-bg">
|
|
<div class="container-div">
|
|
<div class="row">
|
|
<div class="col-sm-12 search-collapse">
|
|
<form id="formId">
|
|
<div class="select-list">
|
|
<ul>
|
|
<li>
|
|
<label>报价编码:</label>
|
|
<input type="text" name="quotationCode"/>
|
|
</li>
|
|
<li>
|
|
<label>物料代码:</label>
|
|
|
|
<!-- <select name="materialCode">-->
|
|
<!-- <option value="">所有</option>-->
|
|
<!-- </select>-->
|
|
<input type="text" name="materialCode"/>
|
|
|
|
</li>
|
|
<li>
|
|
<label>物料名称:</label>
|
|
<input type="text" name="materialName"/>
|
|
</li>
|
|
<li>
|
|
<label>加工商名称:</label>
|
|
<!-- <select name="converterName">-->
|
|
<!-- <option value="">所有</option>-->
|
|
|
|
<!-- </select>-->
|
|
<input type="text" name="converterName"/>
|
|
|
|
</li>
|
|
<li>
|
|
<label>确认否:</label>
|
|
<select name="confirmNo" th:with="type=${@dict.getType('sys_whether')}">
|
|
<option value="">所有</option>
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}"
|
|
th:value="${dict.dictValue}"></option>
|
|
</select>
|
|
</li>
|
|
<li>
|
|
<label>审核否:</label>
|
|
<select name="auditNo" th:with="type=${@dict.getType('sys_whether')}">
|
|
<option value="">所有</option>
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}"
|
|
th:value="${dict.dictValue}"></option>
|
|
</select>
|
|
</li>
|
|
<li>
|
|
<label>核准否:</label>
|
|
<select name="approveNo" th:with="type=${@dict.getType('sys_whether')}">
|
|
<option value="">所有</option>
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}"
|
|
th:value="${dict.dictValue}"></option>
|
|
</select>
|
|
</li>
|
|
<li>
|
|
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i
|
|
class="fa fa-search"></i> 搜索</a>
|
|
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i
|
|
class="fa fa-refresh"></i> 重置</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
<div class="btn-group-sm" id="toolbar" role="group">
|
|
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:qutsourcingquotation:add">
|
|
<i class="fa fa-plus"></i> 添加
|
|
</a>
|
|
<a class="btn btn-primary single disabled" onclick="$.operate.edit()"
|
|
shiro:hasPermission="system:qutsourcingquotation:edit">
|
|
<i class="fa fa-edit"></i> 修改
|
|
</a>
|
|
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()"
|
|
shiro:hasPermission="system:qutsourcingquotation:remove">
|
|
<i class="fa fa-remove"></i> 删除
|
|
</a>
|
|
<a class="btn btn-warning" onclick="$.table.exportExcel()"
|
|
shiro:hasPermission="system:qutsourcingquotation:export">
|
|
<i class="fa fa-download"></i> 导出
|
|
</a>
|
|
<a class="btn btn-info" onclick="quotationAudit()" shiro:hasPermission="system:qutsourcingquotation:audit">
|
|
|
|
<i class="fa fa-file-text"></i> 审核
|
|
</a>
|
|
<a class="btn btn-success" onclick="quotationConfirm()" shiro:hasPermission="system:qutsourcingquotation:confirm">
|
|
|
|
<i class="fa fa-hand-grab-o"></i> 确认
|
|
</a>
|
|
<a class="btn btn-primary" onclick="quotationApprove()" shiro:hasPermission="system:qutsourcingquotation:approve">
|
|
|
|
<i class="fa fa-hand-grab-o"></i> 核准
|
|
</a>
|
|
</div>
|
|
<div class="col-sm-12 select-table table-striped">
|
|
<table id="bootstrap-table" style="white-space:nowrap"></table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!--审核确认-->
|
|
<div class="modal fade" id="AuditModel">
|
|
<div class="modal-dialog">
|
|
<div class="modal-content message_align">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
|
|
aria-hidden="true">×</span></button>
|
|
<h4 class="modal-title">审核信息</h4>
|
|
</div>
|
|
<div class="modal-body" style="height: 180px">
|
|
<form id="form-audit-edit">
|
|
<div class="form-group" style="display: none">
|
|
<label class="col-sm-3 control-label is-required">委外报价id:</label>
|
|
<div class="col-sm-8">
|
|
<input id="qutsourcingQuotationId" name="qutsourcingQuotationId" class="form-control" type="text"
|
|
required
|
|
readonly>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">审核否:</label>
|
|
<div class="col-sm-8">
|
|
<select id="auditNo" name="auditNo" class="form-control"
|
|
th:with="type=${@dict.getType('sys_whether')}">
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}"
|
|
th:value="${dict.dictValue}"></option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">审核时间:</label>
|
|
<div class="col-sm-8">
|
|
<div class="input-group date">
|
|
<input id="auditTime" name="auditTime" class="form-control "
|
|
placeholder="yyyy-MM-dd HH:mm:ss" type="text">
|
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">审核人:</label>
|
|
<div class="col-sm-8">
|
|
<input id="auditName" name="auditName" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
|
|
<button type="button" onclick="AuditConfirmSubmit()" class="btn btn-success" data-dismiss="modal">确定
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="alert alert-success hide">审核成功</div>
|
|
|
|
<!--核准-->
|
|
|
|
<div class="modal fade" id="approveModel">
|
|
<div class="modal-dialog">
|
|
<div class="modal-content message_align">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
|
|
aria-hidden="true">×</span></button>
|
|
<h4 class="modal-title">核准信息</h4>
|
|
</div>
|
|
<div class="modal-body" style="height: 180px">
|
|
<form id="form-approve-edit">
|
|
<div class="form-group" style="display: none">
|
|
<label class="col-sm-3 control-label is-required">委外报价id:</label>
|
|
<div class="col-sm-8">
|
|
<input id="qutsourcingQuotationId3" name="qutsourcingQuotationId" class="form-control" type="text"
|
|
required
|
|
readonly>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">核准否:</label>
|
|
<div class="col-sm-8">
|
|
<select id="approveNo" name="approveNo" class="form-control"
|
|
th:with="type=${@dict.getType('sys_whether')}">
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}"
|
|
th:value="${dict.dictValue}"></option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">核准时间:</label>
|
|
<div class="col-sm-8">
|
|
<div class="input-group date">
|
|
<input id="approveTime" name="approveTime" class="form-control"
|
|
placeholder="yyyy-mm-dd hh:ii:ss" type="text">
|
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">核准人:</label>
|
|
<div class="col-sm-8">
|
|
<input id="approveName" name="approveName" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
|
|
<button type="button" onclick="ApproveConfirmSubmit()" class="btn btn-success" data-dismiss="modal">确定
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="alert alert-warning hide">委外报价已核准</div>
|
|
|
|
<!--确认-->
|
|
|
|
|
|
<div class="modal fade" id="confirmModel">
|
|
<div class="modal-dialog">
|
|
<div class="modal-content message_align">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
|
|
aria-hidden="true">×</span></button>
|
|
<h4 class="modal-title">确认信息</h4>
|
|
</div>
|
|
<div class="modal-body" style="height: 180px">
|
|
<form id="form-confirm-edit">
|
|
<div class="form-group" style="display: none">
|
|
<label class="col-sm-3 control-label is-required">委外报价id:</label>
|
|
<div class="col-sm-8">
|
|
<input id="qutsourcingQuotationId2" name="qutsourcingQuotationId" class="form-control" type="text"
|
|
required
|
|
readonly>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">确认否:</label>
|
|
<div class="col-sm-8">
|
|
<select id="confirmNo" name="confirmNo" class="form-control"
|
|
th:with="type=${@dict.getType('sys_whether')}">
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}"
|
|
th:value="${dict.dictValue}"></option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">确认日期:</label>
|
|
<div class="col-sm-8">
|
|
<div class="input-group date">
|
|
<input id="confirmTime" name="confirmTime" class="form-control"
|
|
placeholder="yyyy-mm-dd hh:ii:ss" type="text">
|
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">确认人:</label>
|
|
<div class="col-sm-8">
|
|
<input id="confirmName" name="confirmName" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
|
|
<button type="button" onclick="ConfirmSubmit()" class="btn btn-success" data-dismiss="modal">确定</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="alert alert-info hide">委外报价已确认</div>
|
|
|
|
<th:block th:include="include :: footer"/>
|
|
<th:block th:include="include :: datetimepicker-js"/>
|
|
|
|
<script th:inline="javascript">
|
|
var editFlag = [[${@permission.hasPermi('system:qutsourcingquotation:edit')}]];
|
|
var removeFlag = [[${@permission.hasPermi('system:qutsourcingquotation:remove')}]];
|
|
var measurementUnitDatas = [[${@dict.getType('sys_unit_class')}]];
|
|
var commonCurrencyDatas = [[${@dict.getType('sys_common_currency')}]];
|
|
var inventoryUnitDatas = [[${@dict.getType('sys_unit_class')}]];
|
|
var currentQuoteDatas = [[${@dict.getType('sys_whether')}]];
|
|
var confirmNoDatas = [[${@dict.getType('sys_whether')}]];
|
|
var auditNoDatas = [[${@dict.getType('sys_whether')}]];
|
|
var approveNoDatas = [[${@dict.getType('sys_whether')}]];
|
|
var prefix = ctx + "system/qutsourcingquotation";
|
|
|
|
$(function () {
|
|
var options = {
|
|
url: prefix + "/list",
|
|
createUrl: prefix + "/add",
|
|
updateUrl: prefix + "/edit/{id}",
|
|
removeUrl: prefix + "/remove",
|
|
exportUrl: prefix + "/export",
|
|
clickToSelect: true,
|
|
modalName: "委外报价",
|
|
columns: [{
|
|
checkbox: true
|
|
},
|
|
{
|
|
field: 'qutsourcingQuotationId',
|
|
title: '委外报价id',
|
|
visible: false
|
|
},
|
|
{
|
|
field: 'auditNo',
|
|
title: '审核否',
|
|
formatter: function (value, row, index) {
|
|
// return $.table.selectDictLabel(auditNoDatas, value);
|
|
var actions = [];
|
|
if ($.table.selectDictLabel(auditNoDatas, value) == "<span class=''>是</span>") {
|
|
actions.push('<a class="btn btn-primary btn-xs disabled">已审核</a> ');
|
|
} else {
|
|
actions.push('<a class="btn btn-danger btn-xs disabled">未审核</a> ');
|
|
}
|
|
return actions.join('');
|
|
}
|
|
},
|
|
{
|
|
field: 'confirmNo',
|
|
title: '确认否',
|
|
formatter: function (value, row, index) {
|
|
// return $.table.selectDictLabel(confirmNoDatas, value);
|
|
|
|
var actions = [];
|
|
if ($.table.selectDictLabel(confirmNoDatas, value) == "<span class=''>是</span>") {
|
|
actions.push('<a class="btn btn-primary btn-xs disabled">已确认</a> ');
|
|
} else {
|
|
actions.push('<a class="btn btn-danger btn-xs disabled">未确认</a> ');
|
|
}
|
|
return actions.join('');
|
|
}
|
|
},
|
|
{
|
|
field: 'approveNo',
|
|
title: '核准否',
|
|
formatter: function (value, row, index) {
|
|
// return $.table.selectDictLabel(confirmNoDatas, value);
|
|
|
|
var actions = [];
|
|
if ($.table.selectDictLabel(approveNoDatas, value) == "<span class=''>是</span>") {
|
|
actions.push('<a class="btn btn-primary btn-xs disabled">已核准</a> ');
|
|
} else {
|
|
actions.push('<a class="btn btn-danger btn-xs disabled">未核准</a> ');
|
|
}
|
|
return actions.join('');
|
|
}
|
|
},
|
|
{
|
|
field: 'quotationCode',
|
|
title: '报价编码'
|
|
},
|
|
{
|
|
field: 'materialCode',
|
|
title: '物料代码'
|
|
},
|
|
{
|
|
field: 'materialName',
|
|
title: '物料名称'
|
|
},
|
|
{
|
|
field: 'specificationModel',
|
|
title: '规格型号'
|
|
},
|
|
{
|
|
field: 'typeMachine',
|
|
title: '成品机种'
|
|
},
|
|
{
|
|
field: 'measurementUnit',
|
|
title: '计量单位',
|
|
formatter: function (value, row, index) {
|
|
return $.table.selectDictLabel(measurementUnitDatas, value);
|
|
}
|
|
},
|
|
{
|
|
field: 'commonCurrency',
|
|
title: '报价币别',
|
|
formatter: function (value, row, index) {
|
|
return $.table.selectDictLabel(commonCurrencyDatas, value);
|
|
}
|
|
},
|
|
{
|
|
field: 'processPrice',
|
|
title: '加工单价'
|
|
},
|
|
{
|
|
field: 'processingProcedureName',
|
|
title: '加工工序名称'
|
|
},
|
|
{
|
|
field: 'processingProcedureCode',
|
|
title: '加工工序编号'
|
|
},
|
|
{
|
|
field: 'converterCode',
|
|
title: '加工商编号'
|
|
},
|
|
{
|
|
field: 'converterName',
|
|
title: '加工商名称'
|
|
},
|
|
{
|
|
field: 'pricingDate',
|
|
title: '报价日期'
|
|
},
|
|
{
|
|
field: 'inventoryUnit',
|
|
title: '库存单位',
|
|
formatter: function (value, row, index) {
|
|
return $.table.selectDictLabel(inventoryUnitDatas, value);
|
|
}
|
|
},
|
|
{
|
|
field: 'taxRate',
|
|
title: '交税税率'
|
|
},
|
|
{
|
|
field: 'relationalFormula',
|
|
title: '每采购单位对应多少库存单位'
|
|
},
|
|
{
|
|
field: 'quotationExplain',
|
|
title: '备注'
|
|
},
|
|
{
|
|
field: 'currentQuote',
|
|
title: '是否为当前报价',
|
|
formatter: function (value, row, index) {
|
|
return $.table.selectDictLabel(currentQuoteDatas, value);
|
|
}
|
|
},
|
|
{
|
|
field: 'registrant',
|
|
title: '登记人'
|
|
},
|
|
|
|
{
|
|
field: 'confirmName',
|
|
title: '确认人'
|
|
},
|
|
{
|
|
field: 'confirmTime',
|
|
title: '确认时间'
|
|
},
|
|
|
|
{
|
|
field: 'auditName',
|
|
title: '审核人'
|
|
},
|
|
{
|
|
field: 'auditTime',
|
|
title: '审核时间'
|
|
},
|
|
{
|
|
field: 'approveName',
|
|
title: '核准人'
|
|
},
|
|
{
|
|
field: 'approveTime',
|
|
title: '核准时间'
|
|
},
|
|
{
|
|
field: 'standbyOne',
|
|
title: '备用一',
|
|
visible: false
|
|
|
|
},
|
|
{
|
|
field: 'standbyTwo',
|
|
title: '备用二',
|
|
visible: false
|
|
|
|
},
|
|
{
|
|
field: 'firstAddTime',
|
|
title: '录入时间',
|
|
formatter: function (value, row, index) {
|
|
if (value == null) {
|
|
return " ";
|
|
} else {
|
|
return value;
|
|
}
|
|
}
|
|
},
|
|
{
|
|
field: 'updateInfoTime',
|
|
title: '上次修改时间',
|
|
formatter: function (value, row, index) {
|
|
if (value == null) {
|
|
return " ";
|
|
} else {
|
|
var vArr = value.split(',')
|
|
return vArr[0];
|
|
}
|
|
}
|
|
}
|
|
|
|
// {
|
|
// title: '操作',
|
|
// align: 'center',
|
|
// formatter: function (value, row, index) {
|
|
// var actions = [];
|
|
// actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.qutsourcingQuotationId + '\')"><i class="fa fa-edit"></i>编辑</a> ');
|
|
// actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.qutsourcingQuotationId + '\')"><i class="fa fa-remove"></i>删除</a>');
|
|
// return actions.join('');
|
|
// }
|
|
// }
|
|
]
|
|
};
|
|
$.table.init(options);
|
|
});
|
|
|
|
// 审核确认
|
|
function quotationAudit() {
|
|
let data = $("#bootstrap-table").bootstrapTable("getSelections");
|
|
let userName = [[${@permission.getPrincipalProperty('userName')}]];
|
|
if (data.length === 1) {
|
|
$("#qutsourcingQuotationId").val(data[0].qutsourcingQuotationId)
|
|
$("#auditNo").val(1).trigger("change")
|
|
$("#auditName").val(userName)
|
|
$("#auditTime").datetimepicker("setDate", new Date());
|
|
$("#AuditModel").modal("show");
|
|
} else {
|
|
$.modal.alert("请选择一条数据");
|
|
}
|
|
|
|
}
|
|
|
|
// 审核确认
|
|
function AuditConfirmSubmit() {
|
|
var auditNo = $("#auditNo").val()
|
|
$.ajax({
|
|
url: prefix + "/edit",
|
|
type: "post",
|
|
resultType: "json",
|
|
data: $('#form-audit-edit').serialize(),
|
|
success: function (resp) {
|
|
console.log(resp)
|
|
$("#bootstrap-table").bootstrapTable('refresh');
|
|
// $(".alert-success").addClass("show");
|
|
// window.setTimeout(function () {
|
|
// $(".alert-success").removeClass("show");
|
|
// }, 1000);//显示的时间
|
|
if (auditNo == 1) {
|
|
$.modal.msgSuccess("审核成功!")
|
|
} else if (auditNo == 0) {
|
|
$.modal.msgSuccess("取消审核成功!")
|
|
}
|
|
},
|
|
error: function () {
|
|
$.modal.msgError("出错了!");
|
|
}
|
|
});
|
|
}
|
|
|
|
// 确认
|
|
function quotationConfirm() {
|
|
let data = $("#bootstrap-table").bootstrapTable("getSelections");
|
|
let userName = [[${@permission.getPrincipalProperty('userName')}]];
|
|
if (data.length === 1) {
|
|
$("#qutsourcingQuotationId2").val(data[0].qutsourcingQuotationId)
|
|
$("#confirmNo").val(1).trigger("change")
|
|
$("#confirmName").val(userName)
|
|
$("#confirmTime").datetimepicker("setDate", new Date());
|
|
$("#confirmModel").modal("show");
|
|
} else {
|
|
$.modal.alert("请选择一条数据");
|
|
}
|
|
|
|
}
|
|
|
|
// 确认
|
|
function ConfirmSubmit() {
|
|
// console.log($('#form-confirm-edit').serialize())
|
|
var confirmNo = $("#confirmNo").val()
|
|
$.ajax({
|
|
url: prefix + "/edit",
|
|
type: "post",
|
|
resultType: "json",
|
|
data: $('#form-confirm-edit').serialize(),
|
|
success: function (resp) {
|
|
console.log(resp)
|
|
$("#bootstrap-table").bootstrapTable('refresh');
|
|
// $(".alert-info").addClass("show");
|
|
// window.setTimeout(function () {
|
|
// $(".alert-info").removeClass("show");
|
|
// }, 1000);//显示的时间
|
|
if (confirmNo == 1) {
|
|
$.modal.msgSuccess("确认成功!")
|
|
} else if (confirmNo == 0) {
|
|
$.modal.msgSuccess("取消确认成功!")
|
|
}
|
|
},
|
|
error: function () {
|
|
$.modal.msgError("出错了!");
|
|
}
|
|
});
|
|
}
|
|
// 核准
|
|
function quotationApprove() {
|
|
let data = $("#bootstrap-table").bootstrapTable("getSelections");
|
|
let userName = [[${@permission.getPrincipalProperty('userName')}]];
|
|
if (data.length === 1) {
|
|
$("#qutsourcingQuotationId3").val(data[0].qutsourcingQuotationId)
|
|
$("#approveNo").val(1).trigger("change")
|
|
$("#approveName").val(userName)
|
|
$("#approveTime").datetimepicker("setDate", new Date());
|
|
$("#approveModel").modal("show");
|
|
} else {
|
|
$.modal.alert("请选择一条数据");
|
|
}
|
|
|
|
}
|
|
|
|
// 核准
|
|
function ApproveConfirmSubmit() {
|
|
|
|
var approveNo = $("#approveNo").val()
|
|
$.ajax({
|
|
url: prefix + "/edit",
|
|
type: "post",
|
|
resultType: "json",
|
|
data: $('#form-approve-edit').serialize(),
|
|
success: function (resp) {
|
|
$("#bootstrap-table").bootstrapTable('refresh');
|
|
// $(".alert-warning").addClass("show");
|
|
// window.setTimeout(function () {
|
|
// $(".alert-warning").removeClass("show");
|
|
// }, 1000);//显示的时间
|
|
if (approveNo == 1) {
|
|
$.modal.msgSuccess("核准成功!")
|
|
} else if (approveNo == 0) {
|
|
$.modal.msgSuccess("取消核准成功!")
|
|
}
|
|
},
|
|
error: function () {
|
|
$.modal.msgError("出错了!");
|
|
}
|
|
});
|
|
}
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|