| | |
| | | type: 1, |
| | | title: false, |
| | | area: '2100px', |
| | | offset: [top2 + 'px', (left - 1730 + $a.outerWidth()) + 'px'], |
| | | offset: [top2 + 'px', (left - 1430 + $a.outerWidth()) + 'px'], |
| | | shade: .01, |
| | | shadeClose: true, |
| | | fixed: false, |
| | |
| | | cellMinWidth: 100, |
| | | cols: [[ |
| | | // {type: 'numbers'}, |
| | | {field: 'occupation', title: '事由', width: 100}, |
| | | {field: 'occupation', title: '事由', width: 200}, |
| | | // {field: 'expenseType', title: '费用类型', width: 100}, |
| | | {field: 'expenseType$', title: '费用类型', width: 100}, |
| | | {field: 'taxRate', title: '税率', width: 60}, |
| | | {field: 'taxRate$', title: '税率', width: 60}, |
| | | {field: 'untaxedAmountInLocalCurrency', title: '未税本币金额', style: 'color: blue;font-weight: bold', edit: true, minWidth: 110, width: 110}, |
| | | {field: 'untaxedAmount', title: '未税金额', width: 100}, |
| | | {field: 'taxAmount', title: '税额', width: 60}, |
| | | {field: 'invoiceValue', title: '发票金额', style: 'color: blue;font-weight: bold', edit: true, minWidth: 110, width: 110}, |
| | | {field: 'invoiceAmountInLocalCurrency', title: '发票本币金额', style: 'color: blue;font-weight: bold', edit: true, minWidth: 110, width: 110}, |
| | | {field: 'reimbursementRatio', title: '报销比例', width: 100}, |
| | | {field: 'reimbursementRatio$', title: '报销比例', width: 100}, |
| | | {field: 'reimbursementAmount', title: '报销金额', width: 100}, |
| | | {field: 'reimbursementAmountInLocalCurrency', title: '报销本币金额', width: 120}, |
| | | {field: 'cashierConfirmationAmount', title: '出纳确认金额', width: 120}, |
| | | {field: 'cashierCurrency', title: '出纳币种', width: 100}, |
| | | {field: 'departureTime', title: '出发日期', width: 100}, |
| | | // {field: 'cashierCurrency', title: '出纳币种', width: 100}, |
| | | // {field: 'departureTime', title: '出发日期', width: 100}, |
| | | {field: 'cashierConfirmationAmount', title: '出纳确认金额', width: 120}, |
| | | {field: 'userId', title: '列支人员', width: 120}, |
| | | {field: 'deptId', title: '列支部门', width: 120}, |
| | | {field: 'updateTime', title: '更新日期', width: 100}, |
| | | // {field: 'updateUserId', title: '更新人员ID', width: 160}, |
| | | {field: 'updateUserName', title: '更新人员名字'}, |
| | | {field: 'updateUserName', title: '更新人员名字', width: 80}, |
| | | // {field: 'creationTime', title: '创建日期', width: 160} |
| | | ]], |
| | | request: { |
| | |
| | | success: function (layero, dIndex) { |
| | | $(layero).children('.layui-layer-content').css('overflow', 'visible'); |
| | | var isExpAdd = !expTpe; |
| | | if (expTpe){ |
| | | document.getElementById('orderDisplay').style.display = 'none'; |
| | | } |
| | | // 回显数据 |
| | | form.val('editForm', expTpe); |
| | | console.log(expTpe) |
| | |
| | | {field: 'reimbursementAmount', title: '报销金额', width: 100, edit: true}, |
| | | {field: 'reimbursementAmountInLocalCurrency', title: '报销本币金额', width: 120, edit: true}, |
| | | {field: 'cashierConfirmationAmount', title: '出纳确认金额', width: 120, edit: true}, |
| | | {field: 'cashierCurrency', title: '出纳币种', width: 100, edit: true}, |
| | | {field: 'departureTime', title: '出发日期', width: 100}, |
| | | // {field: 'cashierCurrency', title: '出纳币种', width: 100, edit: true}, |
| | | // {field: 'departureTime', title: '出发日期', width: 100}, |
| | | {field: 'cashierConfirmationAmount', title: '出纳确认金额', width: 120, edit: true}, |
| | | {field: 'userId', title: '列支人员', width: 120}, |
| | | {field: 'deptId', title: '列支部门', width: 120}, |