| | |
| | | } |
| | | else { |
| | | if (DeliveryOrderId == null || DeliveryOrderId == "" || DeliveryOrderId == "00000000-0000-0000-0000-000000000000") { |
| | | var r = confirm("是否安排送货?"); |
| | | if (r == true) { |
| | | OpenWindowByUrl('/Pages/business/PrintAwbOrder.aspx?ids=' + ids + '&buyerid=' + tobjs[0]['buyerId'] + '&orderId=' + orderId + '&shifouDelivery=1' ); |
| | | } |
| | | else { |
| | | OpenWindowByUrl('/Pages/business/PrintAwbOrder.aspx?ids=' + ids + '&buyerid=' + tobjs[0]['buyerId'] + '&orderId=' + orderId + '&shifouDelivery=2' ); |
| | | } |
| | | var url = "/Pages/business/DeliverPlanShifou.aspx?ids=" + ids + '&buyerid=' + tobjs[0]['buyerId'] + '&orderId=' + orderId; |
| | | top.Dialog.open({ URL: url, Title: "送货日期", Height: 300, Width: 680 }); |
| | | |
| | | //var r = confirm("是否安排送货?"); |
| | | //if (r == true) { |
| | | // OpenWindowByUrl('/Pages/business/PrintAwbOrder.aspx?ids=' + ids + '&buyerid=' + tobjs[0]['buyerId'] + '&orderId=' + orderId + '&shifouDelivery=1' ); |
| | | //} |
| | | //else { |
| | | // OpenWindowByUrl('/Pages/business/PrintAwbOrder.aspx?ids=' + ids + '&buyerid=' + tobjs[0]['buyerId'] + '&orderId=' + orderId + '&shifouDelivery=2' ); |
| | | //} |
| | | } else { |
| | | OpenWindowByUrl('/Pages/business/PrintAwbOrder.aspx?ids=' + ids + '&buyerid=' + tobjs[0]['buyerId'] + '&orderId=' + orderId + '&shifouDelivery=2' ); |
| | | } |
| | |
| | | document.getElementById('txtDocumentName').value = document.getElementById('txtDocumentNameHide').value; |
| | | } |
| | | |
| | | |
| | | } |
| | | else { |
| | | document.getElementById('tbFacing').style.display = ''; |
| | |
| | | document.getElementById('selVerifyWay321').style.display = ''; |
| | | document.getElementById('selVerifyWay1234').style.display = ''; |
| | | document.getElementById('selVerifyWay4321').style.display = ''; |
| | | |
| | | } |
| | | |
| | | if (sel.value == 37 || sel.value == 38) { |
| | | $("#Duiyinghetongbianhao").hide(); |
| | | } else { |
| | | $("#Duiyinghetongbianhao").show(); |
| | | } |
| | | } |
| | | |
| | |
| | | document.getElementById('selBusinessManagers').value = jobj.BusinessManagerId; |
| | | document.getElementById('txtContact').value = jobj.BusinessManagers; |
| | | document.getElementById('txtPhone').value = jobj.CompanyPhone; |
| | | document.getElementById('txtPrintPackDeliveryRequir').value = jobj.Note; |
| | | var aaaaaaaaaselPrintTypes = document.getElementById('selPrintTypes').value; |
| | | if (aaaaaaaaaselPrintTypes == "37") { |
| | | document.getElementById('txtDocumentName').value = jobj.CompanyName + "作业本"; |
| | |
| | | return verfy_form(document.forms[0]); |
| | | } |
| | | } |
| | | function Save() { return ValidateForm(); } |
| | | function Save() { |
| | | if (document.getElementById('txtSumPrice').value == "" || parseFloat(document.getElementById('txtSumPrice').value) <= 0) { |
| | | if (!confirm("订单总价为0,是否继续保存?")) |
| | | return false; |
| | | } |
| | | return ValidateForm(); |
| | | } |