移动系统liao
2024-04-18 c0fd34dd01b5a00015d2e6ce31dbdf9f6a9e79b5
CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/offlinedistributor/edit.html
@@ -43,7 +43,7 @@
        </div>
      </div>
      <div class="layui-inline">
        <label for="pUserID" class="layui-form-label ">推荐人</label>
        <label for="pUserID" class="layui-form-label ">地推人</label>
        <div class="layui-input-inline">
          <div class="layui-input-inline">
            <select lay-search="" name="pUserID" id="EditOfflinedisSelUserID">
@@ -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);
           }