Employee_Edit.aspx 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702
  1. <%@ Page Title="员工信息" Language="C#" MasterPageFile="~/MasterPage/Page.master" AutoEventWireup="true" CodeFile="Employee_Edit.aspx.cs" Inherits="Ehr_Employee_Edit" %>
  2. <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
  3. <style>
  4. .win_tb .td1 {
  5. width: 100px;
  6. text-align: right;
  7. }
  8. .win_tb .td2 {
  9. padding-left: 5px;
  10. }
  11. </style>
  12. <style type="text/css">
  13. body {
  14. background-color: #F1F1F1;
  15. }
  16. .p_tb .td1 {
  17. width: 100px;
  18. text-align: right;
  19. background-color: #f1f1f1
  20. }
  21. .p_tb .td2 {
  22. width: auto;
  23. }
  24. .div_pic {
  25. position: absolute;
  26. left: 400px;
  27. top: 25px;
  28. width: 150px;
  29. }
  30. .div_pic .pic {
  31. border: solid 1px #CCCCCC;
  32. padding: 1px;
  33. width: 140px;
  34. height: 140px;
  35. margin-bottom: 5px;
  36. }
  37. .div_pic .pic_tip {
  38. margin-bottom: 5px;
  39. color: #ff0000;
  40. }
  41. </style>
  42. <script src="js/employee_edit.js?v=<%=SiteVer %>"></script>
  43. <script>
  44. var designList = [];
  45. var shopList = [];
  46. var productList = [];
  47. var shop_list = [];
  48. $(document).ready(function () {
  49. let id = $("#hId").val();
  50. let selPemShop = mini.get("designPemShop");
  51. selPemShop.on("valuechanged", changeShop);
  52. selPemShop.setUrl("../Handler/sync.ashx?t=get_sel_user_shop&userId=" + id)
  53. let txtShopDesign = mini.get("txtShopDesign");
  54. txtShopDesign.on("valuechanged", changeValue);
  55. $(".new_shop").hide();
  56. if (id) {
  57. $(".new_shop").show();
  58. }
  59. postAjax("get_shop_list", "", function (data) {
  60. shopList = data;
  61. getDesignInfo();
  62. })
  63. postAjax("get_product_list", "", function (data) {
  64. productList = data;
  65. getDesignInfo();
  66. })
  67. const list = document.getElementById('u-shopDesign');
  68. const showDesign = document.getElementById('ctl00_content_showDesign');
  69. list.addEventListener('dragstart', function (e) {
  70. e.target.style.opacity = '0.4';
  71. e.dataTransfer.setData('text/plain', e.target.getAttribute('data-index'));
  72. });
  73. showDesign.addEventListener('dragstart', function (e) {
  74. e.target.style.opacity = '0.4';
  75. e.dataTransfer.setData('text/plain', e.target.getAttribute('data-index'));
  76. });
  77. list.addEventListener('dragover', function (e) {
  78. e.preventDefault(); // 允许放置
  79. e.dataTransfer.dropEffect = 'move'; // 设置可移动的视觉效果
  80. });
  81. showDesign.addEventListener('dragover', function (e) {
  82. e.preventDefault(); // 允许放置
  83. e.dataTransfer.dropEffect = 'move'; // 设置可移动的视觉效果
  84. });
  85. list.addEventListener('dragenter', function (e) {
  86. e.target.style.border = '1px dashed #ccc';
  87. });
  88. showDesign.addEventListener('dragenter', function (e) {
  89. let elem = e.target;
  90. if (elem.localName == 'td') {
  91. elem = elem.parentNode;
  92. }
  93. elem.style.border = '1px dashed #ccc';
  94. });
  95. list.addEventListener('dragleave', function (e) {
  96. e.target.style.border = '';
  97. });
  98. showDesign.addEventListener('dragleave', function (e) {
  99. let elem = e.target;
  100. if (elem.localName == 'td') {
  101. elem = elem.parentNode;
  102. }
  103. elem.style.border = '';
  104. });
  105. list.addEventListener('drop', function (e) {
  106. e.preventDefault();
  107. e.target.style.border = '';
  108. const draggedItemIndex = parseInt(e.dataTransfer.getData('text/plain'), 10);
  109. const dropTarget = e.target;
  110. const dragOverEvent = e;
  111. // 移动元素
  112. moveElement(draggedItemIndex, dropTarget, dragOverEvent);
  113. });
  114. showDesign.addEventListener('drop', function (e) {
  115. e.preventDefault();
  116. e.target.style.border = '';
  117. let elem = e.target;
  118. if (elem.localName == 'td') {
  119. elem = elem.parentNode;
  120. }
  121. elem.style.border = '';
  122. const draggedItemIndex = parseInt(e.dataTransfer.getData('text/plain'), 10);
  123. const dropTarget = elem;
  124. const dragOverEvent = e;
  125. // 移动元素
  126. moveElementShop(draggedItemIndex, dropTarget, dragOverEvent);
  127. });
  128. list.addEventListener('dragend', function (e) {
  129. e.target.style.opacity = '1';
  130. });
  131. showDesign.addEventListener('dragend', function (e) {
  132. let elem = e.target;
  133. if (elem.localName == 'td') {
  134. elem = elem.parentNode;
  135. }
  136. elem.style.opacity = '1';
  137. });
  138. function moveElement(draggedIndex, dropTarget, dragOverEvent) {
  139. const draggedElement = list.children[draggedIndex];
  140. const dropTargetIndex = Array.from(list.children).indexOf(dropTarget);
  141. // 如果移动到自己位置或目标位置大于自身索引,则向下移动
  142. const insertBefore = draggedIndex > dropTargetIndex || draggedElement === dropTarget;
  143. list.insertBefore(draggedElement, insertBefore ? dropTarget : dropTarget.nextElementSibling);
  144. designList = []
  145. // 更新data-index
  146. const siblings = Array.from(list.children);
  147. siblings.forEach((child, index) => {
  148. child.setAttribute('data-index', index)
  149. let designId = child.getAttribute("data-designId");
  150. let id = child.getAttribute("data-id");
  151. designList.push({ designId, id: id || "", orders: index })
  152. });
  153. // 更新拖动指示
  154. dragOverEvent.dataTransfer.dropEffect = 'move';
  155. }
  156. function moveElementShop(draggedIndex, dropTarget, dragOverEvent) {
  157. const draggedElement = showDesign.querySelectorAll('tr')[draggedIndex];
  158. const dropTargetIndex = Array.from(showDesign.querySelectorAll('tr')).indexOf(dropTarget);
  159. // 如果移动到自己位置或目标位置大于自身索引,则向下移动
  160. const insertBefore = draggedIndex > dropTargetIndex || draggedElement === dropTarget;
  161. showDesign.children[0].insertBefore(draggedElement, insertBefore ? dropTarget : dropTarget.nextElementSibling);
  162. // 更新data-index
  163. let vList = [];
  164. const siblings = Array.from(showDesign.querySelectorAll('tr'));
  165. siblings.forEach((child, index) => {
  166. child.setAttribute('data-index', index)
  167. let shopId = child.getAttribute("data-shopId");
  168. let i = shop_list.findIndex(e => e.shopId == shopId);
  169. if (i > -1) {
  170. vList.push(shop_list[i]);
  171. }
  172. });
  173. shop_list = vList;
  174. // 更新拖动指示
  175. dragOverEvent.dataTransfer.dropEffect = 'move';
  176. }
  177. });
  178. function addShopDesign(shopId) {
  179. let win = mini.get("shop_design");
  180. let id = $("#hId").val();
  181. $("#shopId").val(shopId);
  182. mini.get("txtShopDesign").setUrl("../Handler/sync.ashx?t=get_sel_user_design&userId=" + id + "&shopId=" + shopId);
  183. let index = shop_list.findIndex(item => item.shopId == shopId);
  184. let val = shop_list[index];
  185. mini.get("txtShopDesign").setValue(val.designIds);
  186. let ids = []
  187. val.list?.map(item => {
  188. for (let j = 0; j < productList.length; j++) {
  189. if (item.designId == productList[j].id) {
  190. ids.push({ id: productList[j].id, name: productList[j].name });
  191. break;
  192. }
  193. }
  194. })
  195. setValuHtml(ids);
  196. win.show();
  197. }
  198. function saveShopDesign() {
  199. let win = mini.get("shop_design");
  200. let shopId = $("#shopId").val();
  201. let tarId = $("#hId").val();
  202. if (!tarId) {
  203. return;
  204. }
  205. let index = shop_list.findIndex(e => e.shopId == shopId);
  206. let ids = [];
  207. let names = [];
  208. let list = [];
  209. designList.forEach((k, v) => {
  210. ids.push(k.designId);
  211. list.push({ id: "", designId: k.designId, orders: v, shopId })
  212. for (let j = 0; j < productList.length; j++) {
  213. if (k.designId == productList[j].id) {
  214. names.push(productList[j].name);
  215. break;
  216. }
  217. }
  218. })
  219. let data = []
  220. shop_list?.map(item => {
  221. if (item.shopId == shopId) {
  222. data.push({ designIds: ids.join(","), shopId: shopId, orders: item.orders })
  223. }
  224. })
  225. let params = {
  226. tarId,
  227. type: 1, shopId,
  228. data: JSON.stringify(data)
  229. };
  230. postAjax("save_dic_info", params, function (data) {
  231. shop_list[index].designIds = ids.join(",")
  232. shop_list[index].designName = names.join(",")
  233. shop_list[index].list = list
  234. setShopHtml();
  235. win.hide();
  236. })
  237. }
  238. //技能修改排序
  239. function changeValue(e) {
  240. let value = e.selecteds;
  241. setValuHtml(value);
  242. }
  243. function setValuHtml(value) {
  244. let shopDesign = $("#u-shopDesign")
  245. let list = [];
  246. let html = ``;
  247. if (designList.length > 0) {
  248. for (let i = 0; i < designList.length; i++) {
  249. let del_index = 0;
  250. let del = false;
  251. for (let j = 0; j < value.length; j++) {
  252. let item = value[j];
  253. if (designList[i].designId == item.id) {
  254. list.push({ designId: item.id, name: item.name, id: designList[i].id || "" })
  255. del = true;
  256. del_index = j;
  257. break;
  258. }
  259. }
  260. if (del) {
  261. delete value[del_index];
  262. }
  263. value = Object.values(value)
  264. }
  265. }
  266. if (value.length > 0) {
  267. for (let i = 0; i < value.length; i++) {
  268. list.push({ designId: value[i].id, name: value[i].name, id: "" })
  269. }
  270. }
  271. list.forEach((k, v) => {
  272. html += `<div draggable="true" data-index="${v}" data-designId="${k.designId}" data-id="${k.id}" style="padding:5px">${k.name}</div>`;
  273. k.orders = v;
  274. });
  275. designList = list;
  276. shopDesign.empty().append(html);
  277. }
  278. //店铺修改排序
  279. function changeShop(e) {
  280. let list = []
  281. let selecteds = e.selecteds;
  282. shop_list.forEach(item => {
  283. let index = selecteds.findIndex(e => item.shopId === e.id);
  284. if (index !== -1) {
  285. list.push({ id: item.id || "", shopId: item.shopId, designIds: item.designIds || "", shopName: item.shopName, designName: item.designName, orders: item.orders || "0" })
  286. selecteds?.splice(index, 1);
  287. }
  288. });
  289. selecteds?.forEach(item => {
  290. list.push({ id: "", shopId: item.id, designIds: item.ids || "", shopName: item.name, designName: "", orders: item.orders || "0" })
  291. })
  292. shop_list = list;
  293. setShopHtml();
  294. }
  295. function setShopHtml() {
  296. let shopDesign = $("#ctl00_content_showDesign")
  297. let html = ``;
  298. let orders_list = [{ name: 1 }, { name: 2 }, { name: 3 }, { name: 4 }, { name: 5 }, { name: 6 }];
  299. shop_list.forEach((item, v) => {
  300. html += `<tr draggable="true" data-index="${v}" data-shopId="${item.shopId}" style="padding:5px">`;
  301. html += `<td class="td1">店铺:</td><td class="td2">${item.shopName}</td>
  302. <td class="td1" onclick="addShopDesign('${item.shopId}')" style="cursor: pointer;">添加修改技能:</td><td class="td2">
  303. ${item.designName}
  304. </td>
  305. <td class="td1">优先级:</td>
  306. <td class="td2"><input shownullitem="true" id="orders_${item.shopId}" allowinput="true" class="mini-combobox inp_middle" data='${JSON.stringify(orders_list)}' value="${item.orders}" textfield="name" valuefield="name" onvaluechanged="ordersChange('${item.shopId}')"/></td>`
  307. html += '</tr>';
  308. })
  309. shopDesign.empty().append(html);
  310. mini.parse(html)
  311. }
  312. function ordersChange(shopId) {
  313. let orders = mini.get("orders_" + shopId).getValue();
  314. let index = shop_list.findIndex(item => item.shopId == shopId);
  315. shop_list[index].orders = orders;
  316. }
  317. function getDesignInfo() {
  318. if (shopList.length == 0 || productList.length == 0) {
  319. return;
  320. }
  321. let id = $("#hId").val();
  322. if (!id) {
  323. return;
  324. }
  325. let params = {
  326. type: 1,
  327. tarId: id
  328. }
  329. postAjax("get_design_info", params, function (data) {
  330. resultShow(data);
  331. $("#ctl00_content_showDesign").empty()
  332. if (data.length > 0) {
  333. let info = {};
  334. let shopIds = [];
  335. data.map(item => {
  336. if (!info[item.shopId]) {
  337. info[item.shopId] = { id: "", list: [], orders: 0, shopId: item.shopId };
  338. }
  339. if (item.designId == 0) {
  340. info[item.shopId].id = item.ID;
  341. info[item.shopId].orders = item.orders;
  342. shopIds.push(item.shopId);
  343. } else {
  344. info[item.shopId].list.push({
  345. id: item.ID, designId: item.designId, orders: item.orders, shopId: item.shopId
  346. })
  347. }
  348. });
  349. let index = 0;
  350. for (let key in info) {
  351. if (info.hasOwnProperty(key)) {
  352. let v = info[key];
  353. for (let i = 0; i < shopList.length; i++) {
  354. if (key == shopList[i].id) {
  355. v.shopName = shopList[i].name;
  356. break;
  357. }
  358. }
  359. let product = [];
  360. let productIds = [];
  361. for (let i = 0; i < v.list.length; i++) {
  362. for (let j = 0; j < productList.length; j++) {
  363. if (v.list[i].designId == productList[j].id) {
  364. product.push(productList[j].name);
  365. productIds.push(productList[j].id)
  366. break;
  367. }
  368. }
  369. }
  370. v.designName = product.join(",");
  371. v.designIds = productIds.join(",");
  372. }
  373. index++;
  374. }
  375. shop_list = Object.values(info);
  376. mini.get("designPemShop").setValue(shopIds.join(","));
  377. setShopHtml();
  378. }
  379. })
  380. }
  381. function saveShop() {
  382. let tarId = $("#hId").val();
  383. if (!tarId) {
  384. saveFn(true)
  385. return;
  386. }
  387. let data = []
  388. let shopIds = [];
  389. shop_list?.map(item => {
  390. shopIds.push(item.shopId)
  391. })
  392. let params = {
  393. tarId,
  394. type: 1,
  395. shopIds: shopIds.join(",")
  396. }
  397. postAjax("save_shop_info", params, function (data) {
  398. saveFn(true)
  399. })
  400. }
  401. </script>
  402. </asp:Content>
  403. <asp:Content ID="Content2" ContentPlaceHolderID="content" runat="Server">
  404. <div style="display: none">
  405. <web:HiddenField ID="hId" runat="server" />
  406. <web:HiddenField ID="hOrg" runat="server" />
  407. <web:HiddenField ID="hPP" runat="server" />
  408. <web:HiddenField ID="hSite" runat="server" />
  409. <web:HiddenField ID="hDep" runat="server" />
  410. <web:HiddenField ID="hPost" runat="server" />
  411. <web:HiddenField ID="hSave" runat="server" />
  412. <web:HiddenField ID="hPemShop" runat="server" />
  413. <web:HiddenField ID="hPemDesign" runat="server" />
  414. <web:HiddenField ID="hPemVend" runat="server" />
  415. <web:HiddenField ID="hPemLogistics" runat="server" />
  416. <web:HiddenField ID="hPemExpress" runat="server" />
  417. <web:HiddenField ID="hOrgIds" runat="server" />
  418. <web:Button ID="btnSave" runat="server" OnClick="btnSave_Click" Style="display: none" />
  419. </div>
  420. <div class="mini-toolbar" style="border-top: 0; border-left: 0; border-right: 0;">
  421. <a id="btnSaveExecute" runat="server" class="mini-button" iconcls="icon-save" plain="true" onclick="saveShop()">保存</a>
  422. <a id="btnBack" class="mini-button" iconcls="icon-close" plain="true" onclick="closeFn()">关闭</a>
  423. </div>
  424. <asp:Panel ID="promptPanel" Visible="false" runat="server" class="prompt">
  425. &nbsp;&nbsp;&nbsp;&nbsp;<b>[默认密码]</b>为6个0。
  426. </asp:Panel>
  427. <div style="width: 98%; margin-left: auto; margin-right: auto; position: relative; margin-top: 10px;">
  428. <table class="p_tb" border="0" cellspacing="0" cellpading="1">
  429. <tbody>
  430. <tr>
  431. <td class="td1">姓名:<span class="nes">*</span></td>
  432. <td class="td2">
  433. <web:TextBox ID="txtName" runat="server"></web:TextBox>
  434. </td>
  435. <td class="td1">性别:</td>
  436. <td class="td2">
  437. <web:RadioButtonList ID="selSex" RepeatDirection="Horizontal" runat="server">
  438. <asp:ListItem Text="女" Value="女" Selected="True"></asp:ListItem>
  439. <asp:ListItem Text="男" Value="男"></asp:ListItem>
  440. </web:RadioButtonList>
  441. </td>
  442. </tr>
  443. <tr>
  444. <td class="td1">账号:<span class="nes">*</span></td>
  445. <td class="td2">
  446. <web:TextBox ID="txtAcc" runat="server"></web:TextBox>
  447. </td>
  448. <td class="td1">编号:<span class="unnes">*</span></td>
  449. <td class="td2">
  450. <web:TextBox ID="txtCode" runat="server"></web:TextBox>
  451. </td>
  452. </tr>
  453. <tr>
  454. <td class="td1">手机号码:<span class="nes">*</span></td>
  455. <td class="td2">
  456. <web:NumberTextBox ID="txtMobile" runat="server"></web:NumberTextBox>
  457. </td>
  458. <td class="td1">钉钉号:</td>
  459. <td class="td2">
  460. <web:TextBox ID="txtDing" runat="server"></web:TextBox>
  461. </td>
  462. </tr>
  463. <tr>
  464. <td class="td1">淘宝号:</td>
  465. <td class="td2">
  466. <web:TextBox ID="txtTb" runat="server"></web:TextBox>
  467. </td>
  468. <td class="td1">拼多多:</td>
  469. <td class="td2">
  470. <web:TextBox ID="txtPdd" runat="server"></web:TextBox>
  471. </td>
  472. </tr>
  473. <tr>
  474. <td class="td1">京东:</td>
  475. <td class="td2">
  476. <web:TextBox ID="txtJd" runat="server"></web:TextBox>
  477. </td>
  478. <td class="td1">阿里巴巴:</td>
  479. <td class="td2">
  480. <web:TextBox ID="txtAli" runat="server"></web:TextBox>
  481. </td>
  482. </tr>
  483. <tr>
  484. <td class="td1">抢单未定稿数量:</td>
  485. <td class="td2">
  486. <web:TextBox ID="TextFinish" runat="server" Text="0"></web:TextBox>
  487. </td>
  488. <td class="td1">一次性抢单数量:</td>
  489. <td class="td2">
  490. <web:TextBox ID="TextTotal" runat="server" Text="0"></web:TextBox>
  491. </td>
  492. </tr>
  493. <tr>
  494. <td class="td1">抢单定稿率:</td>
  495. <td class="td2">
  496. <web:TextBox ID="TextFinalization" runat="server" Text="0"></web:TextBox>
  497. </td>
  498. <td class="td1"></td>
  499. <td class="td2"></td>
  500. </tr>
  501. <tr style="display: none">
  502. <td class="td1">证件号:</td>
  503. <td class="td2">
  504. <web:TextBox ID="txtIdentityCard" runat="server"></web:TextBox>
  505. </td>
  506. <td class="td1">入职时间:</td>
  507. <td class="td2">
  508. <web:DateTextBox ID="txtEnterTime" runat="server"></web:DateTextBox>
  509. </td>
  510. </tr>
  511. <tr style="display: none">
  512. <td class="td1">生日:</td>
  513. <td class="td2">
  514. <web:DateTextBox ID="txtBirthDay" runat="server"></web:DateTextBox>
  515. </td>
  516. <td class="td1">政治面貌:</td>
  517. <td class="td2">
  518. <web:DropDownList ID="selParty" runat="server">
  519. <asp:ListItem Text="普通公民" Value="普通公民"></asp:ListItem>
  520. <asp:ListItem Text="共青团员" Value="共青团员"></asp:ListItem>
  521. <asp:ListItem Text="中共党员" Value="中共党员"></asp:ListItem>
  522. </web:DropDownList>
  523. </td>
  524. </tr>
  525. <tr>
  526. <td class="td1">联系地址:</td>
  527. <td class="td2" colspan="3">
  528. <web:TextBox ID="txtAddress" Width="400" runat="server"></web:TextBox>
  529. </td>
  530. </tr>
  531. <tr>
  532. <td class="td1">职位角色:<span class="nes">*</span></td>
  533. <td class="td2" colspan="3">
  534. <div id="div_dep"></div>
  535. </td>
  536. </tr>
  537. <tr class="new_shop">
  538. <td class="td1">关联店铺:</td>
  539. <td class="td2" colspan="3">
  540. <div id="selPemShop" class="mini-combobox" style="width: 400px;" popupwidth="300" popupminheight="450" popupmaxheight="450" textfield="name" valuefield="id"
  541. url="../Handler/sync.ashx?t=get_org_pen_shop" value="id" multiselect="true" showclose="true" oncloseclick="onCloseClick">
  542. <div property="columns">
  543. <div header="店铺" field="name"></div>
  544. </div>
  545. </div>
  546. </td>
  547. </tr>
  548. <tr>
  549. <td class="td1">自动派单技能:</td>
  550. <td class="td2" colspan="3">
  551. <div id="selPemDesign" class="mini-combobox" style="width: 400px;" popupwidth="300" popupminheight="450" popupmaxheight="450" textfield="name" valuefield="id"
  552. url="../Handler/sync.ashx?t=get_sel_product" value="id" multiselect="true" showclose="true" oncloseclick="onCloseClick">
  553. <div property="columns">
  554. <div header="设计技能" field="name"></div>
  555. </div>
  556. </div>
  557. </td>
  558. </tr>
  559. <tr>
  560. <td class="td1">供应商:</td>
  561. <td class="td2" colspan="3">
  562. <div id="selPemVend" class="mini-combobox" style="width: 400px;" popupwidth="300" popupminheight="450" popupmaxheight="450" textfield="name" valuefield="id"
  563. url="../Handler/sync.ashx?t=get_sel_supplier" value="id" multiselect="true" showclose="true" oncloseclick="onCloseClick">
  564. <div property="columns">
  565. <div header="供应商" field="name"></div>
  566. </div>
  567. </div>
  568. </td>
  569. </tr>
  570. <tr>
  571. <td class="td1">物流:</td>
  572. <td class="td2" colspan="3">
  573. <div id="selPemLogistics" class="mini-combobox" style="width: 400px;" popupwidth="300" popupminheight="450" popupmaxheight="450" textfield="name" valuefield="id"
  574. url="../data/companies.txt" value="id" multiselect="true" showclose="true" oncloseclick="onCloseClick">
  575. <div property="columns">
  576. <div header="快递名称" field="name"></div>
  577. </div>
  578. </div>
  579. </td>
  580. </tr>
  581. <tr>
  582. <td class="td1">快递面单:</td>
  583. <td class="td2" colspan="3">
  584. <div id="selPemExpress" class="mini-combobox" style="width: 400px;" popupwidth="300" popupminheight="450" popupmaxheight="450" textfield="name" valuefield="id"
  585. url="../Handler/sync.ashx?t=get_all_mail" value="id" multiselect="true" allowinput="true" showclose="true" oncloseclick="onCloseClick">
  586. <div property="columns">
  587. <div header="快递" field="name"></div>
  588. </div>
  589. </div>
  590. </td>
  591. </tr>
  592. <tr>
  593. <td class="td1">管理组织:</td>
  594. <td class="td2" colspan="3">
  595. <div id="selOrgIds" class="mini-combobox" style="width: 400px;" popupwidth="300" popupminheight="400" popupmaxheight="400" textfield="name" valuefield="id"
  596. url="../Handler/sync.ashx?t=get_all_orgIds" value="id" multiselect="true" allowinput="true" showclose="true" oncloseclick="onCloseClick">
  597. <div property="columns">
  598. <div header="组织" field="name"></div>
  599. </div>
  600. </div>
  601. </td>
  602. </tr>
  603. <tr class="new_shop">
  604. <td class="td1">抢单权限:</td>
  605. <td class="td2" colspan="3">
  606. <div id="designPemShop" class="mini-combobox" style="width: 400px;" popupwidth="300" popupminheight="450" popupmaxheight="450" textfield="name" valuefield="id"
  607. url="../Handler/sync.ashx?t=get_sel_user_shop" value="id" multiselect="true" showclose="true" oncloseclick="onCloseClick">
  608. <div property="columns">
  609. <div header="店铺" field="name"></div>
  610. </div>
  611. </div>
  612. </td>
  613. </tr>
  614. </tbody>
  615. </table>
  616. <table id="showDesign" class="p_tb" border="0" cellspading="0" cellspacing="12" runat="server">
  617. </table>
  618. <div class="div_pic" style="display: none">
  619. <div class="pic">
  620. <img id="userPic" src="../images/no_photo.png" runat="server" style="width: 135px; height: 135px;" />
  621. </div>
  622. <div class="pic_tip">
  623. *图片大小不允许超过5MB.
  624. </div>
  625. <asp:FileUpload ID="txtFile" runat="server" />
  626. </div>
  627. <div id="shop_design" class="mini-window" title="店铺技能" style="width: 500px; height: 500px;">
  628. <div class="mini-toolbar" style="border-top: 0; border-left: 0; border-right: 0;">
  629. <a class="mini-button" iconcls="icon-save" plain="true" onclick="saveShopDesign()">保存</a>
  630. </div>
  631. <input id="shopId" type="hidden" />
  632. <table class="win_tb" border="0" cellpadding="0" cellspacing="0">
  633. <tr>
  634. <td class="td1">技能:</td>
  635. <td class="td2">
  636. <div id="txtShopDesign" class="mini-combobox" style="width: 300px;" popupwidth="300" textfield="name" valuefield="id"
  637. url="../handler/sync.ashx?t=get_sel_product" value="id" multiselect="true" showclose="true">
  638. <div property="columns">
  639. <div header="全部" field="name"></div>
  640. </div>
  641. </div>
  642. </td>
  643. </tr>
  644. <tr>
  645. <td class="td1"></td>
  646. <td class="td2">
  647. <div id="u-shopDesign"></div>
  648. </td>
  649. </tr>
  650. </table>
  651. </div>
  652. </div>
  653. </asp:Content>