Demo
2024-02-01 a2a5dea97236c3c3a362bd551d6b1281e6204929
HTML/views/ASNSetting/LabelBox.html
@@ -238,26 +238,22 @@
         table.on('toolbar(Box-list)', function (obj) {
            switch (obj.event) {
               case 'add':   // 添加箱支关系
                  // 代码区域
                  var param = getBoxInforVlues();
                  if (param != "") {
                     console.log(param);
                     sendData(IP + "/BllAsn/AddBllBoxInfo", param, 'post', function (res) {
                        if (res.code == 0) { //成功
                           layer.msg(res.msg, {
                              icon: 1,
                              time: 2000 //2秒关闭(如果不配置,默认是3秒)
                           }, function () {
                              bindTable();
                           });
                        } else { //不成功
                           layer.msg(res.msg, {
                              icon: 2,
                              time: 2000 //2秒关闭(如果不配置,默认是3秒)
                           }, function () { doing = true });
                        }
                     });
                  }
                        // layer.open({
                        //     type: 2,
                        //     title: '自定义列',
                        //     content: '../SystemSettings/HeaderSetting.html',
                        //     maxmin: false,
                        //     resize: false,
                        //     area: ['970px', '650px']
                        // });
                        layer.open({
                            type: 2,
                            title: '打印',
                            content: 'LabelPrint.html?',
                            maxmin: true,
                            area: ['600px', '670px'],
                            btn: ['取消']
                        });
                  break;
               
               default: break;