1
yusijie
2025-09-13 8c839f638e97f2e8487c64bfe92cc31e0a8979cb
WebTM/views/³µ¼ä¹ÜÀí/µ¥Æ·¹ýÕ¾/Cj_ProcessItemStationPlatform.html
@@ -482,9 +482,9 @@
        // ç”Ÿæˆå•据号
        function createBillNo() {
            var sql = "select * from Sc_StationOutBillMain  where HProcExchBillNo='" + $("#HProcExchBillNo").val() + "' and HProcID=" + $("#HProcID").val() +" order by HDate desc"
            var sql = "select * from Sc_StationOutBillMain with(nolock)  where HProcExchBillNo='" + $("#HProcExchBillNo").val() + "' and HProcID=" + $("#HProcID").val() +" order by HDate desc"
            $.ajax({
                url: GetWEBURL() + "/Gy_SOPBillList/WindowPrintList",
                url: GetWEBURL() + "/Cj_SingleStation/SingleItemTransit_CZD",
                async: false,
                type: "GET",
                data: { "sWhere": sql },
@@ -592,7 +592,11 @@
                    , { field: '日期', title: '日期' }
                    , { field: 'HName', title: '产品名称' }
                    , { field: 'HNumber', title: '产品代码' }
                    , { field: 'HBarCode', title: 'SN码', width: 300 }
                    , {
                        field: 'HBarCode', title: 'SN码', width: 300, templet: function (d) {
                            return '<span style="white-space: pre; font-family: monospace;">' + d.HBarCode + '</span>';
                        }
                    }
                    , { field: '不良原因', title: '不良原因' }
                    , { field: 'HBatchNo', title: '不良类型' }
                    , { field: 'HInterID', title: 'HInterID', hide: true }
@@ -616,7 +620,11 @@
                    , { field: 'hsubid', title: 'hsubid', hide: true }
                    , { field: '日期', title: '日期' }
                    , { field: '产品名称', title: '产品名称' }
                    , { field: '产品条码', title: 'SN码', width: 300}
                    , {
                        field: '产品条码', title: 'SN码', width: 300, templet: function (d) {
                            return '<span style="white-space: pre; font-family: monospace;">' + d.产品条码 + '</span>';
                        }
                    }
                    //, { field: '配件条码', title: '配件SN码' }
                    //, { field: '任务单号', title: '订单号' }
                    , { field: 'HICMOInterID', title: 'HICMOInterID', hide: true }
@@ -1259,7 +1267,7 @@
    
        //保存产线组装主子表 å·¥åºå‡ºç«™å•主子表
        function set_AddAssemblyBill() {
        function set_AddAssemblyBill() {
            var data = { "field": { "HInterID": $("#HInterID").val(), "HBillNo": $("#HBillNo").val(), "HProcID": $("#HProcID").val(), "HMaterID": $("#HMaterID").val(), "HGroupID": $("#HGroupID").val(), "HSourceID": $("#HSourceID").val(), "HICMOInterID": $("#HICMOInterID").val(), "HICMOEntryID": $("#HICMOEntryID").val(), "HICMOBillNo": $("#HICMOBillNo").val(), "HBarCode_P": $("#HBarCode_P").val(), "HProdOrgID": sessionStorage["OrganizationID"], "HEmpID2": $("#HEmpID2").val(), "HEmpID": $("#HEmpID").val(), "HProcExchBillNo": $("#HProcExchBillNo").val(), "HProcExchInterID": $("#HProcExchInterID").val(), "HProcExchEntryID": $("#HProcExchEntryID").val(), "HPieceQty": $("#HPieceQty").val(), "HICMOQty": $("#HICMOQty").val(), "HDeptID": $("#HDeptID").val(), "HProcNo": $("#HProcNo").val()} };
            if ($("#HSourceID").val() == "0") {