主单派单位置迁移
This commit is contained in:
parent
facc4199f6
commit
1264052f30
|
|
@ -313,10 +313,12 @@
|
|||
shiro:hasPermission="order:order:export">
|
||||
<i class="fa fa-download"></i> 导出
|
||||
</a>
|
||||
|
||||
<a class="btn btn-default" onclick="mergePay()">
|
||||
<i class="fa fa-money"></i> 付款
|
||||
</a>
|
||||
<a class="btn btn-default" onclick="showPcOrderWorker()">
|
||||
<i class="fa fa-money"></i> 指派
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -827,6 +829,28 @@
|
|||
});
|
||||
}
|
||||
|
||||
function showPcOrderWorker() {
|
||||
table.set();
|
||||
var rows = $.common.isEmpty(table.options.uniqueId) ? $.table.selectFirstColumns() : $.table.selectColumns(table.options.uniqueId);
|
||||
if (rows.length === 0) {
|
||||
$.modal.alertWarning("请至少选择一条记录");
|
||||
return;
|
||||
}
|
||||
var url = "pcOrderWorker/" + rows.join(",");
|
||||
layer.open({
|
||||
type: 2,
|
||||
area: ['800px', '450px'],
|
||||
fix: false,
|
||||
//不固定
|
||||
maxmin: true,
|
||||
shade: 0.3,
|
||||
title: '指派师傅',
|
||||
content: url,
|
||||
// 弹层外区域关闭
|
||||
shadeClose: true
|
||||
});
|
||||
}
|
||||
|
||||
function mergePay() {
|
||||
table.set();
|
||||
var rows = $.common.isEmpty(table.options.uniqueId) ? $.table.selectFirstColumns() : $.table.selectColumns(table.options.uniqueId);
|
||||
|
|
|
|||
|
|
@ -170,9 +170,9 @@
|
|||
<a class="btn btn-default" onclick="mergePay()">
|
||||
<i class="fa fa-money"></i> 付款
|
||||
</a>
|
||||
<a class="btn btn-default" onclick="showOrderWorker()">
|
||||
<i class="fa fa-money"></i> 指派
|
||||
</a>
|
||||
<!-- <a class="btn btn-default" onclick="showOrderWorker()">-->
|
||||
<!-- <i class="fa fa-money"></i> 指派-->
|
||||
<!-- </a>-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue