123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231 |
- {Template header}
- <body>
- <div class="warp">
- <div class="title winnone">店铺管理 - 修改</div>
- <ul class="setting">
- <li>
- <em>店铺类型:</em>
- <select name="type" class="select class isshopid">
- {loop typeclass(32) as $val}
- <option value="{$val['id']}" {if $shop['type'] == $val['id']}selected="selected"{/if}>{$val['title']}</option>
- {/loop}
- </select>
- </li>
- <li class="shopprogram none">
- <em>平台类型:</em>
- <select name="program" class="select class">
- <option value="" {if $shop['program'] == ''}selected="selected"{/if}>无</option>
- <option value="Magento" {if $shop['program'] == 'Magento'}selected="selected"{/if}>Magento</option>
- <option value="Shopify" {if $shop['program'] == 'Shopify'}selected="selected"{/if}>Shopify</option>
- <option value="Other" {if $shop['program'] == 'Other'}selected="selected"{/if}>Other</option>
- </select>
- </li>
- <li>
- <em>同步订单:</em>
- <select name="tb" class="select class isshopid">
- <option value="0" {if $shop['tb'] == '0'}selected="selected"{/if}>不同步</option>
- <option value="1" {if $shop['tb'] == '1'}selected="selected"{/if}>同步</option>
- </select>
- </li>
- <li>
- <em>消息方式:</em>
- <select name="notice" class="select class">
- {if $shop['type'] == 269 || $shop['type'] == 2297}
- <option value="1">发送邮件</option>
- {else}
- <option value="2">订单留言</option>
- {/if}
- </select>
- </li>
- <li>
- <em>对接名称:</em>
- <input class="must" value="{$shop['brandname']}" name="brandname" type="text" >
- </li>
- <li>
- <em>邮箱/ShopID:</em>
- <input class="must" value="{$shop['shopid']}" name="shopid" type="text" >
- </li>
- <li>
- <em>邮箱API ID:</em>
- <input value="{$shop['emailid']}" name="emailid" type="text" >
- </li>
- <li>
- <em>邮箱API Secret</em>
- <input value="{$shop['emailsecret']}" name="emailsecret" type="text" >
- </li>
- <li>
- <em>店铺名称:</em>
- <input class="must" value="{$shop['shopname']}" name="shopname" type="text" >
- </li>
- <li>
- <em>编号前缀:</em>
- <input class="must" value="{$shop['shortname']}" name="shortname" type="text" >
- </li>
- <li>
- <em>店铺负责人:</em>
- <input class="must" value="{$shop['shopuser']}" name="shopuser" type="text" >
- </li>
- <li>
- <em>负责人电话:</em>
- <input class="must" value="{$shop['shopphone']}" name="shopphone" type="text" >
- </li>
- <!--
- <li>
- <em>公司名称:</em>
- <input class="must" value="{$shop['companyname']}" name="companyname" type="text" >
- </li>
- <li>
- <em>国家编码:</em>
- <input class="must" value="{$shop['country']}" name="country" type="text" >
- </li>
- <li>
- <em>省 份:</em>
- <input class="must" value="{$shop['province']}" name="province" type="text" >
- </li>
- <li>
- <em>城 市:</em>
- <input class="must" value="{$shop['city']}" name="city" type="text" >
- </li>
- <li>
- <em>邮 编:</em>
- <input class="must" value="{$shop['zip']}" name="zip" type="text" >
- </li>
- <li class="length">
- <em>地 址:</em>
- <input class="must" value="{$shop['adress']}" name="adress" type="text" style="width:77%;" >
- </li>
- <li>
- <em>同步周期:</em>
- <input class="must" value="{$shop['updcycle']}" name="updcycle" type="text" >
- </li>
- <li>
- <em>税 率:</em>
- <input class="must" value="{$shop['taxrate']}" name="taxrate" type="text" >
- </li>
- <li>
- <em>客户电话重复:</em>
- <select name="uphone" class="select class">
- <option {if $shop['uphone'] == 1}selected="selected"{/if} value="1">可重复</option>
- <option {if $shop['uphone'] == 2}selected="selected"{/if} value="2">不可重复</option>
- </select>
- </li>
- -->
- <li>
- <em>到帐金额比:</em>
- <input class="must" value="{$shop['estimaterate']}" name="estimaterate" type="text" > 0.01~1.00
- </li>
- <li>
- <em>时间设置:</em>
- <select name="userexp" class="select class">
- <option {if $shop['userexp'] == 1}selected="selected"{/if} value="1">正常</option>
- <option {if $shop['userexp'] == 2}selected="selected"{/if} value="2">减8小时</option>
- </select>
- </li>
- <li>
- <em>订单是否审核:</em>
- <select name="mustba" class="select class">
- <option {if $shop['mustba'] == 1}selected="selected"{/if} value="1">需要审核</option>
- <option {if $shop['mustba'] == 2}selected="selected"{/if} value="2">不审核</option>
- </select>
- </li>
- <li>
- <em>用友ID:</em>
- <input value="{$shop['yyid']}" name="yyid" type="text" >
- </li>
- <li>
- <em>M2用户名:</em>
- <input value="{$shop['username']}" name="username" type="text" >
- </li>
- <li>
- <em>M2密码:</em>
- <input value="{$shop['password']}" name="password" type="text" >
- </li>
- <li class="length">
- <em>M2地址:</em>
- <input value="{$shop['m2url']}" name="m2url" type="text" >
- </li>
- <li class="length">
- <em>关联成本价:</em>
- <input value="{$shop['shopcosttext']}" name="shopcosttext" type="text" disabled="true" class="shopcosttext">
- <input value="{$shop['shopcost']}" name="shopcost" type="hidden" class="shopcost"><span class="set usertj" data-url="/shop/rows" data-class="shopcost" data-rows="null">设置</span>
- </li>
- <li class="length">
- <em>关联仓库:</em>
- <input value="{$shop['shopwhtext']}" name="shopwhtext" type="text" disabled="true" class="shopwhtext">
- <input value="{$shop['shopwh']}" name="shopwh" type="hidden" class="shopwh"><span class="set usertj" data-url="/shop/rows" data-class="shopwh" data-rows="null">设置</span>
- </li>
- <li class="length">
- <em>9610链接:</em>
- <input value="{$shop['link']}" name="link" type="text">
- </li>
- <li class="length">
- <em>9610SKU:</em>
- <input value="{$shop['sku']}" name="sku" type="text">
- </li>
- <div style="clear:both;"></div>
- </ul>
- <input type="hidden" name="id" value="{$shop['id']}" />
- <div class="button"><font class="datasave">提 交</font> <font class="fh">关 闭</font></div>
- </div>
- <script>var addedit="/shop/edit/";var rowsurl="/shop/rows/";
- $(document).ready(function() {
- var va = $(".isshopid").find("option:selected").val();
- if(va == 269 || va == 2297)
- {
- $(".shoppass").show();$(".shopurl").show();$(".shopadmin").show();
- $(".shopprogram").show();
- }
- else
- {
- $(".shoppass").hide();$(".shopurl").hide();$(".shopadmin").hide();
- $(".shopprogram").hide();
- }
- });
- $("select[name='type']").change(function(){
- var val = $(this).find("option:selected").val();
- if(val == 269 || val == 2297)
- {
- $(".shopprogram").show();
- }
- else
- {
- $(".shopprogram").hide();
- }
- });
- </script>
- {Template footer}
|