Demo
2024-03-07 e7864a4dcecba72ccbb06dfb6a3d4a77c65f2a3c
HTML/views/ASNSetting/ArrivalNoticeDetail.html
@@ -439,6 +439,7 @@
            active = {
               add: function () {
                  var typeValue = $("#Type").val();
                  console.log(typeValue)
                  layer.open({
                     type: 2,
                     title: '添加明细',
@@ -566,6 +567,19 @@
               });
               return;
            }
            var type= $("#Type").val();
            if(type=='6'){
               var customerName=$("#CustomerName").val();
               if(customerName==''){
                  layer.msg("代储单据请选择货主!", {
                     icon: 2,
                     time: 2000 //2秒关闭(如果不配置,默认是3秒)
                  }, function () {
                  });
                  return;
               }
            }
            SetArrivalNotice();
         });