| | |
| | | area: ['1000px', '90%'], |
| | | id: 'LAY-popup-CoreCmsOrder-distribution', |
| | | success: function (layero, index) { |
| | | |
| | | if(e.data.order.delivery?.length>0) |
| | | { |
| | | e.data.order.delivery.forEach(element => { |
| | | if( element.logiCode=="Distributor") |
| | | { |
| | | e.data.order.logisticsName+=`[${element.logiName} == ${element.sendDistributionAccept}] ` |
| | | } |
| | | }); |
| | | } |
| | | |
| | | view(this.id).render('order/orders/distribution', { data: e.data }).done(function () { |
| | | form.on('submit(LAY-app-order-distributionPrint-submit)', function (data) { |
| | | LODOP = getLodop(); |
| | |
| | | id: 'LAY-popup-CoreCmsOrder-union', |
| | | success: function (layero, index) { |
| | | view(this.id).render('order/orders/union', { data: e.data }).done(function () { |
| | | |
| | | if(e.data.order.delivery?.length>0) |
| | | { |
| | | e.data.order.delivery.forEach(element => { |
| | | if( element.logiCode=="Distributor") |
| | | { |
| | | e.data.order.logisticsName+=`[${element.logiName} == ${element.sendDistributionAccept}]` |
| | | } |
| | | }); |
| | | } |
| | | |
| | | form.on('submit(LAY-app-order-unionPrint-submit)', function (data) { |
| | | LODOP = getLodop(); |
| | | LODOP.ADD_PRINT_HTM(20, "5%", "90%", "100%", document.getElementById("printDiv").innerHTML); |
| | |
| | | //监听提交 |
| | | form.on('submit(LAY-app-CoreCmsOrder-shipForm-submit)', |
| | | function (data) { |
| | | |
| | | var field = data.field; //获取提交的字段 |
| | | |
| | | var keys = Object.keys(field); |