|
@@ -630,7 +630,7 @@
|
|
<label class="layui-form-label">经办人部门:</label>
|
|
<label class="layui-form-label">经办人部门:</label>
|
|
<div class="layui-input-block with-icon">
|
|
<div class="layui-input-block with-icon">
|
|
<sys:treeselect id="officeId" name="officeId" value="${workInvoice.officeId}" labelName="officeName" labelValue="${workInvoice.officeName}" cssStyle="background-color: #fff"
|
|
<sys:treeselect id="officeId" name="officeId" value="${workInvoice.officeId}" labelName="officeName" labelValue="${workInvoice.officeName}" cssStyle="background-color: #fff"
|
|
- title="部门" url="/sys/office/treeDataAll?type=2" cssClass="form-control layui-input" allowClear="true" notAllowSelectParent="true"/>
|
|
|
|
|
|
+ title="部门" url="/sys/office/treeDataAll?type=6" cssClass="form-control layui-input" allowClear="true" notAllowSelectParent="true"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="layui-item query athird">
|
|
<div class="layui-item query athird">
|
|
@@ -812,7 +812,7 @@
|
|
var xml = "<span style=\"cursor:default;\" class=\"status-label status-label-" + d.receiptMoney + "\" >" + d.receiptMoney + "</span>";
|
|
var xml = "<span style=\"cursor:default;\" class=\"status-label status-label-" + d.receiptMoney + "\" >" + d.receiptMoney + "</span>";
|
|
return xml;
|
|
return xml;
|
|
}}
|
|
}}
|
|
- ,{field:'cancellation',align:'center', title: '是否作废', width:80}
|
|
|
|
|
|
+ /*,{field:'cancellation',align:'center', title: '是否作废', width:80}*/
|
|
,{field:'electronicInvoiceFlag',align:'center',fixed: 'right', title: '电子发票状态', width:90,templet:function(d){
|
|
,{field:'electronicInvoiceFlag',align:'center',fixed: 'right', title: '电子发票状态', width:90,templet:function(d){
|
|
if("1" === d.electronicInvoiceFlag)
|
|
if("1" === d.electronicInvoiceFlag)
|
|
var xml = "<a class=\"status-label status-label-signed\" title=\"已上传\"href=\"javascript:void(0);\" onclick=\"openDialogListView('查看发票信息', '${ctx}/workinvoiceAll/workInvoiceAll/form?id=" + d.id + "&tabId=1','"+ d.id +"','95%', '95%')\">已上传</a>";
|
|
var xml = "<a class=\"status-label status-label-signed\" title=\"已上传\"href=\"javascript:void(0);\" onclick=\"openDialogListView('查看发票信息', '${ctx}/workinvoiceAll/workInvoiceAll/form?id=" + d.id + "&tabId=1','"+ d.id +"','95%', '95%')\">已上传</a>";
|
|
@@ -833,7 +833,7 @@
|
|
var xml = "<span style=\"cursor:default;\" class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
var xml = "<span style=\"cursor:default;\" class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
return xml;
|
|
return xml;
|
|
}}
|
|
}}
|
|
- ,{align:'center', title: '作废状态', fixed: 'right', width:70,templet:function(d){
|
|
|
|
|
|
+ /*,{align:'center', title: '作废状态', fixed: 'right', width:70,templet:function(d){
|
|
<%--var st = getAuditState(d.status);--%>
|
|
<%--var st = getAuditState(d.status);--%>
|
|
|
|
|
|
<%--var xml = "<span onclick=\"openDialogView('流程追踪', '${ctx}/workinvoice/workInvoice/getProcessOne?id=" + d.id + "','95%','95%')\" class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";--%>
|
|
<%--var xml = "<span onclick=\"openDialogView('流程追踪', '${ctx}/workinvoice/workInvoice/getProcessOne?id=" + d.id + "','95%','95%')\" class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";--%>
|
|
@@ -844,7 +844,7 @@
|
|
else
|
|
else
|
|
var xml = "<span style=\"cursor:default;\" class=\"status-label status-label-" + st.label + "\" >"+ st.status + "</span>";
|
|
var xml = "<span style=\"cursor:default;\" class=\"status-label status-label-" + st.label + "\" >"+ st.status + "</span>";
|
|
return xml;
|
|
return xml;
|
|
- }}
|
|
|
|
|
|
+ }}*/
|
|
,{field:'op',align:'center',title:"操作",fixed: 'right',width:140,templet:function(d){
|
|
,{field:'op',align:'center',title:"操作",fixed: 'right',width:140,templet:function(d){
|
|
////对操作进行初始化
|
|
////对操作进行初始化
|
|
var xml="<div class=\"layui-btn-group\">";
|
|
var xml="<div class=\"layui-btn-group\">";
|
|
@@ -885,7 +885,7 @@
|
|
if(d.cancellationFlag != undefined && d.cancellationFlag =="1")
|
|
if(d.cancellationFlag != undefined && d.cancellationFlag =="1")
|
|
{
|
|
{
|
|
xml +="<a href=\"javascript:void(0)\" onclick=\"openElectronicInvoiceDialogreplay('上传电子发票', '${ctx}/workinvoiceTwo/workinvoiceTwo/electronicInvoiceForm?id=" + d.id + "','95%','95%')\" class=\"layui-btn layui-btn-xs layui-bg-blue\" > 上传电子发票</a>";
|
|
xml +="<a href=\"javascript:void(0)\" onclick=\"openElectronicInvoiceDialogreplay('上传电子发票', '${ctx}/workinvoiceTwo/workinvoiceTwo/electronicInvoiceForm?id=" + d.id + "','95%','95%')\" class=\"layui-btn layui-btn-xs layui-bg-blue\" > 上传电子发票</a>";
|
|
- xml +="<a href=\"javascript:void(0)\" onclick=\"openDialogreplay('作废发票', '${ctx}/workinvoiceTwo/workinvoiceTwo/cancellationForm?id=" + d.id + "&tabId=3','95%','95%')\" class=\"layui-btn layui-btn-xs layui-bg-red\" > 作废</a>";
|
|
|
|
|
|
+ /*xml +="<a href=\"javascript:void(0)\" onclick=\"openDialogreplay('作废发票', '${ctx}/workinvoiceTwo/workinvoiceTwo/cancellationForm?id=" + d.id + "&tabId=3','95%','95%')\" class=\"layui-btn layui-btn-xs layui-bg-red\" > 作废</a>";*/
|
|
}
|
|
}
|
|
if(d.conditionCanedit != undefined && d.conditionCanedit =="1")
|
|
if(d.conditionCanedit != undefined && d.conditionCanedit =="1")
|
|
{
|
|
{
|