From 5f4384bdab4697cc0a678fb17e55603a91a4750b Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 12 四月 2024 08:44:54 +0800
Subject: [PATCH] Merge branch 'master' of http://47.108.235.38:8080/r/baifenbaishop
---
CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/offlinedistributor/index.html | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 56 insertions(+), 1 deletions(-)
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/offlinedistributor/index.html b/CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/offlinedistributor/index.html
index 98d8d61..b7c748b 100644
--- a/CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/offlinedistributor/index.html
+++ b/CoreCms.Net.Web.Admin/wwwroot/views/baifenbingfa/offlinedistributor/index.html
@@ -251,14 +251,35 @@
sort: false,
width: 105,
},
+
{ field: "school", title: "瀛︽牎鍚嶇О", sort: false, width: 105 },
{ field: "dealerName", title: "缁忛攢鍟嗗悕绉�", sort: false ,width: 105},
+ {
+ field: 'storeLogoUrl', title: '搴楁嫑', width: 120, sort: false,
+ templet: function (d) {
+ if (d.storeLogoUrl) {
+
+ var listimg= d.storeLogoUrl.split(",")
+ var str="";
+ listimg.forEach((value,index)=>
+ {
+ str+= '<a href="javascript:void(0);" onclick=layui.coreHelper.viewImage("' + value + '")><image style="max-width:30px;max-height:30px; margin-left: 5px;" src="' + value + '" /></a>'
+
+ })
+
+ return str;
+ } else {
+ return '<a href="javascript:void(0);" onclick=layui.coreHelper.viewImage("' + setter.noImagePicUrl + '")><image style="max-width:30px;max-height:30px; margin-left: 5px;" src="' + setter.noImagePicUrl + '" /></a>';
+ }
+ }
+ },
{
field: "contactPerson",
title: "鑱旂郴浜哄鍚�",
sort: false,
width: 105,
},
+
{
field: "phoneNumber",
title: "鑱旂郴鐢佃瘽",
@@ -279,6 +300,7 @@
width: 105,
templet: "#OffdismeetingCountTmp",
},
+
{
field: "money",
title: "璁㈣揣璁板綍",
@@ -414,8 +436,23 @@
"submit(LAY-app-OfflineDistributor-createForm-submit)",
function (data) {
var field = data.field; //鑾峰彇鎻愪氦鐨勫瓧娈�
-
+ field.storeLogoUrl="";
field.isdelete = field.isdelete == "on";
+ if((!!field.storeLogoUrl1)&&(!!field.storeLogoUrl2))
+ {
+ field.storeLogoUrl=field.storeLogoUrl1+","+field.storeLogoUrl2;
+ }
+ else
+ if(!!field.storeLogoUrl1)
+ {
+ field.storeLogoUrl=field.storeLogoUrl1;
+ }
+ else if(!!field.storeLogoUrl2)
+ {
+ field.storeLogoUrl=field.storeLogoUrl2;
+ };
+
+
field.region = GetAreaCodeFormFileid(
field,
"CreatofflinedisRegion"
@@ -487,7 +524,25 @@
"submit(LAY-app-OfflineDistributor-editForm-submit)",
function (data) {
var field = data.field; //鑾峰彇鎻愪氦鐨勫瓧娈�
+ debugger
+ field.storeLogoUrl="";
+ if((!!field.storeLogoUrl1)&&(!!field.storeLogoUrl2))
+ {
+ field.storeLogoUrl=field.storeLogoUrl1+","+field.storeLogoUrl2;
+ }
+ else
+ if(!!field.storeLogoUrl1)
+ {
+ field.storeLogoUrl=field.storeLogoUrl1;
+ }
+ else if(!!field.storeLogoUrl2)
+ {
+ field.storeLogoUrl=field.storeLogoUrl2;
+ };
+
+
+
field.isdelete = field.isdelete == "on";
field.region = GetAreaCodeFormFileid(
field,
--
Gitblit v1.9.1