From f366fea2c6c83020c1e6423e2c66242678b8f877 Mon Sep 17 00:00:00 2001
From: 移动系统liao <liaoxujun@qq.com>
Date: 星期四, 11 四月 2024 14:26:41 +0800
Subject: [PATCH] 修改用户推广搜索
---
CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/offlinedistributor/edit.html | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/offlinedistributor/edit.html b/CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/offlinedistributor/edit.html
index b90ec0a..c815284 100644
--- a/CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/offlinedistributor/edit.html
+++ b/CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/offlinedistributor/edit.html
@@ -203,7 +203,7 @@
class="layui-input"
placeholder="璇疯緭鍏ュ簵鎷涘浘鐗囧湴鍧�"
lay-reqText="璇疯緭鍏ュ簵鎷涘浘鐗囧湴鍧�"
- value="{{d.params.data.storeLogoUrl || '' }}"
+ value="{{d.params.data.storeLogoUrl1 || '' }}"
id="viewTextBoxEdittext"
type="hidden"
/>
@@ -213,7 +213,7 @@
class="layui-input"
placeholder="璇疯緭鍏ュ簵鎷涘浘鐗囧湴鍧�"
lay-reqText="璇疯緭鍏ュ簵鎷涘浘鐗囧湴鍧�"
- value="{{d.params.data.storeLogoUrl || '' }}"
+ value="{{d.params.data.storeLogoUrl2 || '' }}"
id="viewTextBoxEdittext2"
type="hidden"
/>
@@ -226,7 +226,7 @@
<img
class="layui-upload-img"
id="viewImgBoxEdit"
- src="{{ d.params.data.storeLogoUrl1 || layui.setter.noImagePicUrl ||''}}"
+ src="{{ d.params.data.storeLogoUrl1|| ''}}"
/>
<div class="layui-input-inline">
<div id="viewTextBoxEdit"></div>
@@ -241,7 +241,7 @@
<img
class="layui-upload-img"
id="viewImgBoxEdit2"
- src="{{ d.params.data.storeLogoUrl2 || layui.setter.noImagePicUrl ||''}}"
+ src="{{ d.params.data.storeLogoUrl2 ||''}}"
/>
<div class="layui-input-inline">
<div id="viewTextBoxEdit2"></div>
@@ -368,15 +368,18 @@
// 鎷嗗垎storeLogoUrl
var storeLogoUrl=d.params.data.storeLogoUrl.split(",");
for (let index = 0; index < storeLogoUrl.length; index++) {
+
if(index>1)
break;
if(index==0)
{d.params.data.storeLogoUrl1 = storeLogoUrl[index];
$("#viewImgBoxEdit").attr("src", d.params.data.storeLogoUrl1);
+ $("#viewTextBoxEdittext").val(d.params.data.storeLogoUrl1);
}
else
{ d.params.data.storeLogoUrl2 = storeLogoUrl[index];
$("#viewImgBoxEdit2").attr("src", d.params.data.storeLogoUrl2);
+ $("#viewTextBoxEdittext2").val(d.params.data.storeLogoUrl2);
}
--
Gitblit v1.9.1