username@email.com
2025-08-22 32ad806c4d6bc5aa7aac1948e6c686696a4bbeb0
CY_ECommercePlatform/CY.WebForm/js/business/Order.js
@@ -335,11 +335,16 @@
    //正数正则表达式
    var reg1 = /^\d+(?=\.{0,1}\d+$|$)/;
    if (sparam.dtypeId == 4 && sparam.orderState != '1' && sparam.orderState != '2') {
        alertMsg('已经安排生产的订单不能撤销!'); txtTargetValue.focus(); return;
    }
    //未受理
    if (sparam.orderState == '1') {
        sparam.dtypeId = 4;
        sparam.title = "撤单管理";
    }
    parent.parent.parent.parent.parent.parent['ToSubmit'] =
    function (domobj) {
@@ -599,6 +604,318 @@
    } else {
        $("#Duiyinghetongbianhao").show();
    }
    if (sel.value == 29) {
        $("#BlackAndWhite29").show();
        $("#Book6").hide();
        $("#PictureAlbumNew15").hide();
        $("#DMInquiry14").hide();
        $("#ReceiptDocument27").hide();
        $("#Envelop21").hide();
        $("#NewsPaper7").hide();
        $("#Shijuan38").hide();
        $("#Adhesive20").hide();
        $("#Reticule16").hide();
        $("#Note22").hide();
        $("#GongWenZhi39").hide();
        $("#Calendary23").hide();
        $("#DeskCalendar25").hide();
        $("#Packet26").hide();
        $("#Qita1111").hide();
    }
    if (sel.value == 29) {
        $("#BlackAndWhite29").show();
        $("#Book6").hide();
        $("#PictureAlbumNew15").hide();
        $("#DMInquiry14").hide();
        $("#ReceiptDocument27").hide();
        $("#Envelop21").hide();
        $("#NewsPaper7").hide();
        $("#Shijuan38").hide();
        $("#Adhesive20").hide();
        $("#Reticule16").hide();
        $("#Note22").hide();
        $("#GongWenZhi39").hide();
        $("#Calendary23").hide();
        $("#DeskCalendar25").hide();
        $("#Packet26").hide();
        $("#Qita1111").hide();
    }
    else if (sel.value == 6) {
        $("#BlackAndWhite29").hide();
        $("#Book6").show();
        $("#PictureAlbumNew15").hide();
        $("#DMInquiry14").hide();
        $("#ReceiptDocument27").hide();
        $("#Envelop21").hide();
        $("#NewsPaper7").hide();
        $("#Shijuan38").hide();
        $("#Adhesive20").hide();
        $("#Reticule16").hide();
        $("#Note22").hide();
        $("#GongWenZhi39").hide();
        $("#Calendary23").hide();
        $("#DeskCalendar25").hide();
        $("#Packet26").hide();
        $("#Qita1111").hide();
    }
    else if (sel.value == 15) {
        $("#BlackAndWhite29").hide();
        $("#Book6").hide();
        $("#PictureAlbumNew15").show();
        $("#DMInquiry14").hide();
        $("#ReceiptDocument27").hide();
        $("#Envelop21").hide();
        $("#NewsPaper7").hide();
        $("#Shijuan38").hide();
        $("#Adhesive20").hide();
        $("#Reticule16").hide();
        $("#Note22").hide();
        $("#GongWenZhi39").hide();
        $("#Calendary23").hide();
        $("#DeskCalendar25").hide();
        $("#Packet26").hide();
        $("#Qita1111").hide();
    }
    else if (sel.value == 14) {
        $("#BlackAndWhite29").hide();
        $("#Book6").hide();
        $("#PictureAlbumNew15").hide();
        $("#DMInquiry14").show();
        $("#ReceiptDocument27").hide();
        $("#Envelop21").hide();
        $("#NewsPaper7").hide();
        $("#Shijuan38").hide();
        $("#Adhesive20").hide();
        $("#Reticule16").hide();
        $("#Note22").hide();
        $("#GongWenZhi39").hide();
        $("#Calendary23").hide();
        $("#DeskCalendar25").hide();
        $("#Packet26").hide();
        $("#Qita1111").hide();
    }
    else if (sel.value == 27) {
        $("#BlackAndWhite29").hide();
        $("#Book6").hide();
        $("#PictureAlbumNew15").hide();
        $("#DMInquiry14").hide();
        $("#ReceiptDocument27").show();
        $("#Envelop21").hide();
        $("#NewsPaper7").hide();
        $("#Shijuan38").hide();
        $("#Adhesive20").hide();
        $("#Reticule16").hide();
        $("#Note22").hide();
        $("#GongWenZhi39").hide();
        $("#Calendary23").hide();
        $("#DeskCalendar25").hide();
        $("#Packet26").hide();
        $("#Qita1111").hide();
    }
    else if (sel.value == 21) {
        $("#BlackAndWhite29").hide();
        $("#Book6").hide();
        $("#PictureAlbumNew15").hide();
        $("#DMInquiry14").hide();
        $("#ReceiptDocument27").hide();
        $("#Envelop21").show();
        $("#NewsPaper7").hide();
        $("#Shijuan38").hide();
        $("#Adhesive20").hide();
        $("#Reticule16").hide();
        $("#Note22").hide();
        $("#GongWenZhi39").hide();
        $("#Calendary23").hide();
        $("#DeskCalendar25").hide();
        $("#Packet26").hide();
        $("#Qita1111").hide();
    }
    else if (sel.value == 7) {
        $("#BlackAndWhite29").hide();
        $("#Book6").hide();
        $("#PictureAlbumNew15").hide();
        $("#DMInquiry14").hide();
        $("#ReceiptDocument27").hide();
        $("#Envelop21").hide();
        $("#NewsPaper7").show();
        $("#Shijuan38").hide();
        $("#Adhesive20").hide();
        $("#Reticule16").hide();
        $("#Note22").hide();
        $("#GongWenZhi39").hide();
        $("#Calendary23").hide();
        $("#DeskCalendar25").hide();
        $("#Packet26").hide();
        $("#Qita1111").hide();
    }
    else if (sel.value == 38) {
        $("#BlackAndWhite29").hide();
        $("#Book6").hide();
        $("#PictureAlbumNew15").hide();
        $("#DMInquiry14").hide();
        $("#ReceiptDocument27").hide();
        $("#Envelop21").hide();
        $("#NewsPaper7").hide();
        $("#Shijuan38").show();
        $("#Adhesive20").hide();
        $("#Reticule16").hide();
        $("#Note22").hide();
        $("#GongWenZhi39").hide();
        $("#Calendary23").hide();
        $("#DeskCalendar25").hide();
        $("#Packet26").hide();
        $("#Qita1111").hide();
    }
    else if (sel.value == 20) {
        $("#BlackAndWhite29").hide();
        $("#Book6").hide();
        $("#PictureAlbumNew15").hide();
        $("#DMInquiry14").hide();
        $("#ReceiptDocument27").hide();
        $("#Envelop21").hide();
        $("#NewsPaper7").hide();
        $("#Shijuan38").hide();
        $("#Adhesive20").show();
        $("#Reticule16").hide();
        $("#Note22").hide();
        $("#GongWenZhi39").hide();
        $("#Calendary23").hide();
        $("#DeskCalendar25").hide();
        $("#Packet26").hide();
        $("#Qita1111").hide();
    }
    else if (sel.value == 16) {
        $("#BlackAndWhite29").hide();
        $("#Book6").hide();
        $("#PictureAlbumNew15").hide();
        $("#DMInquiry14").hide();
        $("#ReceiptDocument27").hide();
        $("#Envelop21").hide();
        $("#NewsPaper7").hide();
        $("#Shijuan38").hide();
        $("#Adhesive20").hide();
        $("#Reticule16").show();
        $("#Note22").hide();
        $("#GongWenZhi39").hide();
        $("#Calendary23").hide();
        $("#DeskCalendar25").hide();
        $("#Packet26").hide();
        $("#Qita1111").hide();
    }
    else if (sel.value == 22) {
        $("#BlackAndWhite29").hide();
        $("#Book6").hide();
        $("#PictureAlbumNew15").hide();
        $("#DMInquiry14").hide();
        $("#ReceiptDocument27").hide();
        $("#Envelop21").hide();
        $("#NewsPaper7").hide();
        $("#Shijuan38").hide();
        $("#Adhesive20").hide();
        $("#Reticule16").hide();
        $("#Note22").show();
        $("#GongWenZhi39").hide();
        $("#Calendary23").hide();
        $("#DeskCalendar25").hide();
        $("#Packet26").hide();
        $("#Qita1111").hide();
    }
    else if (sel.value == 39) {
        $("#BlackAndWhite29").hide();
        $("#Book6").hide();
        $("#PictureAlbumNew15").hide();
        $("#DMInquiry14").hide();
        $("#ReceiptDocument27").hide();
        $("#Envelop21").hide();
        $("#NewsPaper7").hide();
        $("#Shijuan38").hide();
        $("#Adhesive20").hide();
        $("#Reticule16").hide();
        $("#Note22").hide();
        $("#GongWenZhi39").show();
        $("#Calendary23").hide();
        $("#DeskCalendar25").hide();
        $("#Packet26").hide();
        $("#Qita1111").hide();
    }
    else if (sel.value == 23) {
        $("#BlackAndWhite29").hide();
        $("#Book6").hide();
        $("#PictureAlbumNew15").hide();
        $("#DMInquiry14").hide();
        $("#ReceiptDocument27").hide();
        $("#Envelop21").hide();
        $("#NewsPaper7").hide();
        $("#Shijuan38").hide();
        $("#Adhesive20").hide();
        $("#Reticule16").hide();
        $("#Note22").hide();
        $("#GongWenZhi39").hide();
        $("#Calendary23").show();
        $("#DeskCalendar25").hide();
        $("#Packet26").hide();
        $("#Qita1111").hide();
    }
    else if (sel.value == 25) {
        $("#BlackAndWhite29").hide();
        $("#Book6").hide();
        $("#PictureAlbumNew15").hide();
        $("#DMInquiry14").hide();
        $("#ReceiptDocument27").hide();
        $("#Envelop21").hide();
        $("#NewsPaper7").hide();
        $("#Shijuan38").hide();
        $("#Adhesive20").hide();
        $("#Reticule16").hide();
        $("#Note22").hide();
        $("#GongWenZhi39").hide();
        $("#Calendary23").hide();
        $("#DeskCalendar25").show();
        $("#Packet26").hide();
        $("#Qita1111").hide();
    }
    else if (sel.value == 26) {
        $("#BlackAndWhite29").hide();
        $("#Book6").hide();
        $("#PictureAlbumNew15").hide();
        $("#DMInquiry14").hide();
        $("#ReceiptDocument27").hide();
        $("#Envelop21").hide();
        $("#NewsPaper7").hide();
        $("#Shijuan38").hide();
        $("#Adhesive20").hide();
        $("#Reticule16").hide();
        $("#Note22").hide();
        $("#GongWenZhi39").hide();
        $("#Calendary23").hide();
        $("#DeskCalendar25").hide();
        $("#Packet26").show();
        $("#Qita1111").hide();
    }
    else {
        $("#BlackAndWhite29").hide();
        $("#Book6").hide();
        $("#PictureAlbumNew15").hide();
        $("#DMInquiry14").hide();
        $("#ReceiptDocument27").hide();
        $("#Envelop21").hide();
        $("#NewsPaper7").hide();
        $("#Shijuan38").hide();
        $("#Adhesive20").hide();
        $("#Reticule16").hide();
        $("#Note22").hide();
        $("#GongWenZhi39").hide();
        $("#Calendary23").hide();
        $("#DeskCalendar25").hide();
        $("#Packet26").hide();
        $("#Qita1111").show();
    }
}
@@ -706,5 +1023,9 @@
        if (!confirm("订单总价为0,是否继续保存?"))
            return false;
    }
    if (document.getElementById('selPrintTypes').value == "37") {
        WorkBookCountNum();
    }
    return ValidateForm();
}