wxw
1 天以前 f3a9a3ad429d86028c884e3476dc0badcd8da966
HTML/views/ASNSetting/PalletBind.html
@@ -331,24 +331,7 @@
               {{ GetBtn11(d) }}
            </script>
            <script type="text/html" id="RoadwayButton">
               {{#
                  switch (d.RoadwayNo) {
                     case "R01": return '01巷道';
                     case "R02": return '02巷道';
                     case "R03": return '03巷道';
                     case "R04": return '04巷道';
                     case "R05": return '05巷道';
                     case "R06": return '06巷道';
                     case "R07": return '07巷道';
                     case "R08": return '08巷道';
                     case "R09": return '09巷道';
                     case "R10": return '10巷道';
                     default: return "";
                  }
               }}
            </script>
            <!-- #endregion -->
         </div>
@@ -417,9 +400,12 @@
         // 查询事件
         form.on('select(getWareHouseNo)', function (data) {
            if ($("#WareHouseNo").val() == "W01") {
            $("#RoadwayNo").html('');
            $("#RoadwayNo").append('<option value=""></option>');
            form.render('select');
            if ($("#WareHouseNo").val() != "") {
               //获取巷道下拉框信息
               synData(IP + "/Sys/GetRoadwayList", {}, 'get', function (res) {
               synData(IP + "/Sys/GetStorageRoadwayByHouseNo", {wareHouseNo:$("#WareHouseNo").val()}, 'get', function (res) {
                  if (res.code == 0) { //成功
                     for (var i = 0; i < res.data.length; i++) {
@@ -436,12 +422,7 @@
                  }
               });
            }
            else {
               $("#RoadwayNo").html('');
               $("#RoadwayNo").append('<option value=""></option>');
               form.render('select');
            }
         });
         // 渲染总表
@@ -454,7 +435,7 @@
            { field: 'PalletNo2', title: '托盘号LV2', align: 'center' },
            { field: 'PalletNo3', title: '托盘号LV3', align: 'center' },
            { field: 'LocatNo', title: '储位地址', align: 'center', width: 90 },
            { field: 'RoadwayNo', title: '所属巷道', align: 'center', width: 90, templet: '#RoadwayButton' },
            { field: 'RoadwayName', title: '所属巷道', align: 'center', width: 90 },
            { field: 'WareHouseName', title: '所属仓库', align: 'center', width: 90 },
            { field: 'SkuNo', title: '物料编码', align: 'center', width: 110 },
            { field: 'SkuName', title: '物料名称', align: 'center' },