|
|
@ -264,6 +264,24 @@ |
|
|
|
<table id="oper-table"></table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="container"> |
|
|
|
<label class=" control-label">其他联系人</label> |
|
|
|
<div class="col-sm-12 select-table table-striped"> |
|
|
|
<table id="contacts-table"></table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="container"> |
|
|
|
<label class=" control-label">其他送货地址</label> |
|
|
|
<div class="col-sm-12 select-table table-striped"> |
|
|
|
<table id="shippingaddress-table"></table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="container"> |
|
|
|
<label class=" control-label">其他开票信息</label> |
|
|
|
<div class="col-sm-12 select-table table-striped"> |
|
|
|
<table id="invoice-table"></table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</form> |
|
|
|
</div> |
|
|
|
<th:block th:include="include :: footer" /> |
|
|
@ -447,6 +465,181 @@ |
|
|
|
} |
|
|
|
] |
|
|
|
}); |
|
|
|
|
|
|
|
// 其他联系人信息 |
|
|
|
$('#contacts-table').bootstrapTable({ |
|
|
|
data: [[${contactsList}]], |
|
|
|
// pagination: true, |
|
|
|
// pageNumber: 1, |
|
|
|
// pageSize: 10, |
|
|
|
// pageList: [10, 25, 50, 100], |
|
|
|
maxHeight: 50, |
|
|
|
modalName: "联系人明细", |
|
|
|
columns: [ |
|
|
|
{ |
|
|
|
field: 'contactid', |
|
|
|
title: '联系人id', |
|
|
|
visible: false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: 'enterpriseCode', |
|
|
|
title: '客户/企业代码', |
|
|
|
visible: false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: 'enterpriseName', |
|
|
|
title: '客户/企业名称', |
|
|
|
visible: false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: 'customerName', |
|
|
|
title: '姓名' |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: 'customerPosition', |
|
|
|
title: '职务' |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: 'customerBirthday', |
|
|
|
title: '生日' |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: 'officeTelephone', |
|
|
|
title: '办公电话' |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: 'homePhone', |
|
|
|
title: '家中电话' |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: 'cellPhone', |
|
|
|
title: '手机号' |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: 'customerFax', |
|
|
|
title: '传真' |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: 'standbyTelephoneOne', |
|
|
|
title: '备用电话1' |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: 'standbyTelephoneTwo', |
|
|
|
title: '备用电话2' |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: 'commonEmail', |
|
|
|
title: '常用Email' |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: 'alternateEmail', |
|
|
|
title: '备用Email' |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: 'customerRemarks', |
|
|
|
title: '备注' |
|
|
|
}, |
|
|
|
{ |
|
|
|
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]; |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
] |
|
|
|
}); |
|
|
|
|
|
|
|
// 其他收货地址 |
|
|
|
$('#shippingaddress-table').bootstrapTable({ |
|
|
|
data: [[${shippingAddressList}]], |
|
|
|
// pagination: true, |
|
|
|
// pageNumber: 1, |
|
|
|
// pageSize: 10, |
|
|
|
// pageList: [10, 25, 50, 100], |
|
|
|
maxHeight: 50, |
|
|
|
modalName: "收货地址明细", |
|
|
|
columns: [ |
|
|
|
{title: '送货id',field: 'deliveryId',visible:false}, |
|
|
|
{title: '客户/企业代码',field: 'enterpriseCode',visible:false}, |
|
|
|
{title: '客户/企业名称',field: 'enterpriseName',visible:false}, |
|
|
|
{title: '联系人电话',field: 'customerPhone'}, |
|
|
|
{title: '联系人',field: 'customerName'}, |
|
|
|
{title: '送货地址',field: 'deliveryAddress'}, |
|
|
|
{title: '联系人2',field: 'customerNameTwo'}, |
|
|
|
{title: '详细描述',field: 'detailedDescription'}, |
|
|
|
{title: '厂区',field: 'plantArea'}, |
|
|
|
{title: '邮编',field: 'postalCode'}, |
|
|
|
{title: '传真',field: 'customerFax'}, |
|
|
|
{title: '录入时间',field: 'firstAddTime', |
|
|
|
formatter: function (value, row, index) {if (value == null) {return " ";}else {return value;}} |
|
|
|
}, |
|
|
|
{title: '上次修改时间',field: 'updateInfoTime', |
|
|
|
formatter: function (value, row, index) {if (value == null) {return " ";} else {var vArr = value.split(','); return vArr[0];}} |
|
|
|
}, |
|
|
|
] |
|
|
|
}); |
|
|
|
|
|
|
|
// 其他开票信息 |
|
|
|
$('#invoice-table').bootstrapTable({ |
|
|
|
data: [[${invoicesList}]], |
|
|
|
// pagination: true, |
|
|
|
// pageNumber: 1, |
|
|
|
// pageSize: 10, |
|
|
|
// pageList: [10, 25, 50, 100], |
|
|
|
maxHeight: 50, |
|
|
|
modalName: "开票信息", |
|
|
|
columns: [ |
|
|
|
{ |
|
|
|
title: '开票索引编号', |
|
|
|
field: 'id', |
|
|
|
visible: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '开票ID', |
|
|
|
field: 'invoiceId', |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '企业代码', |
|
|
|
field: 'enterpriseCode', |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '企业名称', |
|
|
|
field: 'enterpriseName', |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '开票公司名称', |
|
|
|
field: 'invoiceCompanyName', |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '开票公司税号', |
|
|
|
field: 'invoiceCompanyCode', |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '公司开户行', |
|
|
|
field: 'depositBank', |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '公司开户账号', |
|
|
|
field: 'bankAccount', |
|
|
|
}, |
|
|
|
] |
|
|
|
}); |
|
|
|
</script> |
|
|
|
</body> |
|
|
|
</html> |