作者 Cool
1 个管道 的构建 通过 耗费 1 秒

提示优化

@@ -608,7 +608,7 @@ @@ -608,7 +608,7 @@
608 if(book_name!=""&&money!=""&&price!=""&&book_size!=""&&suit!=""&&grade!=""&&(img0!=""||img1!=""||img2!="")&&zixun_phone!=""){ 608 if(book_name!=""&&money!=""&&price!=""&&book_size!=""&&suit!=""&&grade!=""&&(img0!=""||img1!=""||img2!="")&&zixun_phone!=""){
609 $.post("{:url('Salesmangoods/Salesman_goods_add')}",{show_img:show_img,thumbnail:thumbnail,book_name:book_name,money:money,price:price,pricing:pricing,instr:instr,book_number:book_number,paper:paper,book_size:book_size,binding:binding,author:author,press:press,press_time:press_time,suit:suit,grade:grade,img0:img0,img1:img1,img2:img2,printing:printing,zixun_phone:zixun_phone},function(data){ 609 $.post("{:url('Salesmangoods/Salesman_goods_add')}",{show_img:show_img,thumbnail:thumbnail,book_name:book_name,money:money,price:price,pricing:pricing,instr:instr,book_number:book_number,paper:paper,book_size:book_size,binding:binding,author:author,press:press,press_time:press_time,suit:suit,grade:grade,img0:img0,img1:img1,img2:img2,printing:printing,zixun_phone:zixun_phone},function(data){
610 if(data == 3){ 610 if(data == 3){
611 - alert('添加失败,业务员书籍不能超过8本'); 611 + alert('添加失败,业务员书籍不能超过16本');
612 }else if(data == 2){ 612 }else if(data == 2){
613 alert('佣金不能大于售价'); 613 alert('佣金不能大于售价');
614 }else{ 614 }else{