| | |
| | | subArr.push($(this).find("input[name*='id']").val()); |
| | | }); |
| | | var str = ''; |
| | | this.siteIds = []; |
| | | for(var i in arr){ |
| | | var b = true; |
| | | for(var j in subArr){ |
| | |
| | | } |
| | | } |
| | | if(b){ |
| | | console.log("push前") |
| | | console.log(this.siteIds) |
| | | |
| | | this.siteIds.push(arr[i].id); |
| | | console.log("场地push") |
| | | console.log(arr[i].id) |
| | |
| | | sites = this.siteIds.join(','); |
| | | console.log('sites--===--',sites) |
| | | } |
| | | if ($("#userType").val() == 3){ |
| | | |
| | | sites = this.siteIds.join(','); |
| | | } |
| | | let text = TGoodsInfoDlg.editor.getContent(); |
| | | console.log(text) |
| | | if(text==""){ |
| | |
| | | } |
| | | console.log("结果图片") |
| | | console.log(imgOne) |
| | | let name = $("#name").val(); |
| | | let quantityIssued = $("#quantityIssued").val(); |
| | | let pickUpQuantity = $("#pickUpQuantity").val(); |
| | | let editor = jQuery.trim(TGoodsInfoDlg.editor.getContent()); |
| | |
| | | },function(data){ |
| | | Feng.error("修改失败!" + data.responseJSON.message + "!"); |
| | | }); |
| | | ajax.set("name",name); |
| | | ajax.set("pointMerchandiseId",goodsId); |
| | | ajax.set("quantityIssued",quantityIssued); |
| | | ajax.set("pickUpQuantity",pickUpQuantity); |