From 105d569ba4590654675a25a9d05df035650672de Mon Sep 17 00:00:00 2001
From: anyv <anyu@bronet.cn>
Date: Mon, 24 Jun 2019 14:05:16 +0800
Subject: [PATCH] 4

---
 public/themes/simpleboot3/portal/salesmangoods/salesman_goods_add.html | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/public/themes/simpleboot3/portal/salesmangoods/salesman_goods_add.html b/public/themes/simpleboot3/portal/salesmangoods/salesman_goods_add.html
index ffe63c6..24accf2 100755
--- a/public/themes/simpleboot3/portal/salesmangoods/salesman_goods_add.html
+++ b/public/themes/simpleboot3/portal/salesmangoods/salesman_goods_add.html
@@ -469,10 +469,11 @@
      */
     function Sure_add(){
         show_img = $('#show_img')[0].src;
-        console.log(show_img);
-   /*     if(show_img == "http://www.xkeasy.com/themes/simpleboot3/public/assets/images/jiahao.png"){
+
+     if(show_img == "http://www.xkeasy.com/themes/simpleboot3/public/assets/images/jiahao.png"){
             show_img = '';
         }
+        console.log(show_img);
         thumbnail = $('#thumbnail')[0].src;
         if(thumbnail == "http://www.xkeasy.com/themes/simpleboot3/public/assets/images/jiahao.png"){
             thumbnail = '';
@@ -505,7 +506,7 @@
             img2 = '';
         }
 
-        $.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},function(data){
+       /* $.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},function(data){
             if(data == 3){
                 alert('添加失败,业务员书籍不能超过8本');
             }else if(data == 2){
--
libgit2 0.24.0