123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688 |
- {Template header}
- <body>
- <div class="warp">
- <div class="title winnone">备货 - 修改</div>
- <ul class="setting">
- {if $whlabel_bh['state'] == 0}
- {if $whlabel_bh['features'] != ''}
- <div class="cp">
- <div class="datalist">
- <li class="cike">
- <em>类 目:</em>
- <select name="category" class="select">
- {loop typeclass(16) as $val}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- <li class="Gift Accessories synthetic">
- <em>真人发类型:</em>
- <select name="hairtype" class="select">
- <option value="">未选择</option>
- {loop typeclass(22) as $val}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- <li class="Gift synthetichair">
- <em>等 级:</em>
- <select name="grade" class="select">
- {loop typeclass(13) as $val}
- {if $val['id'] == 80}
- <option value="{$val['id']}">{$val['title']}</option>
- {/if}
- {/loop}
- {loop typeclass(13) as $val}
- {if $val['id'] != 80}
- <option value="{$val['id']}">{$val['title']}</option>
- {/if}
- {/loop}
- </select>
- </li>
- <li class="Gift synthetic Accessories ycwigs Extension">
- <em>头发颜色:</em>
- <select name="color" class="select">
- {loop typeclassyc(8) as $val}
- {if $val['id'] == 57}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/if}
- {/loop}
- {loop typeclassyc(8) as $val} <!-- 这个是不显示部分颜色 -->
- {if $val['id'] != 57}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/if}
- {/loop}
- </select>
- </li>
- <li class="Gift synthetic Accessories ycwigs Extension">
- <em>曲 度:</em>
- <select name="lowe" class="select">
- {loop typeclassyc(15) as $val} <!-- 这个是不显示部分曲度 -->
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- </div>
- <div class="pttab">
- <select class="none select"><option></option></select>
- <li class="1 none cikeb">
- <em>类 型:</em>
- <select name="type" class="select">
- {loop typeclass(27) as $val}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- <li class="1 none">
- <em>头路设计:</em>
- <select name="headroad" class="select">
- {loop typeclass(12) as $val}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- <li class="1 none">
- <em>密 度:</em>
- <select name="density" class="select">
- {loop typeclass(10) as $val}
- {if $val['id']==72}
- <option value="{$val['id']}" {if $weight['density'] == $val['id']}selected="selected"{/if}>{$val['title']}</option>
- {/if}
- {/loop}
- {loop typeclass(10) as $val}
- {if $val['id']!=72}
- <option value="{$val['id']}" {if $weight['density'] == $val['id']}selected="selected"{/if}>{$val['title']}</option>
- {/if}
- {/loop}
- </select>
- </li>
- <li class="1 a1 none">
- <em>蕾丝尺寸:</em>
- <select name="lacesize" class="select">
- {loop typeclassyc(25) as $val} <!-- 这个是不显示部分尺寸 -->
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- <li class="a2 none">
- <em>蕾丝尺寸:</em>
- <select name="lacesize" class="select">
- {loop typeclassyc(26) as $val}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- <li class="a3 none">
- <em>蕾丝尺寸:</em>
- <select name="lacesize" class="select">
- <option value="191">13" x 4"</option>
- </select>
- </li>
- <li class="a4 none">
- <em>蕾丝尺寸:</em>
- <select name="lacesize" class="select">
- <option value="186">4" x 4"</option>
- </select>
- </li>
- <li class="1 none">
- <em>蕾丝颜色:</em>
- <select name="lacecolor" class="select">
- <option value="">未选择</option>
- {loop typeclassyc(9) as $val}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- <li class="1 none">
- <em>蕾丝类型:</em>
- <select name="lacetypes" class="select">
- <option value="">未选择</option>
- {loop typeclassyc(44) as $val}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- <!-- <li class="3 none">
- <em>重 量:</em>
- <select name="weight" class="select">
- {loop typeclass(7) as $val}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- -->
- <li class="4 none">
- <em>Gift类型:</em>
- <select name="gifttype" class="select">
- {loop typeclass(34) as $val}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- <li class="4 none">
- <em>Gift其它:</em>
- <select name="giftother" class="select">
- <option value="">未选择</option>
- {loop typeclass(49) as $val}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- <li class="2 none">
- <em>人发头套编号:</em>
- <select name="hairnumber" class="select">
- <option value="">未选择</option>
- {loop typeclass(43) as $val}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- <li class="3 none">
- <em>Extension类型:</em>
- <select name="extension" class="select">
- {loop typeclass(33) as $val}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- <li class="6 none">
- <em>化纤头套编号:</em>
- <select name="sywignumber" class="select">
- <option value="">未选择</option>
- {loop typeclass(40) as $val}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- <li class="5 none">
- <em>配件类型:</em>
- <select name="fittype" class="select">
- {loop typeclass(35) as $val}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- <li class="5 none">
- <em>配件其他:</em>
- <select name="acother" class="select">
- <option value="">未选择</option>
- {loop typeclass(45) as $val}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- <li class="7 none">
- <em>化纤发编号:</em>
- <select name="syhairnumber" class="select">
- <option value="">未选择</option>
- {loop typeclass(47) as $val}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- <li class="7 none">
- <em>化纤其它分类:</em>
- <select name="syother" class="select">
- {loop typeclass(46) as $val}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- <li class="2 3 5 6 7 none">
- <em>头发颜色:</em>
- <select name="color" class="select">
- {loop typeclassyc(8) as $val}
- {if $val['id'] == 57}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/if}
- {/loop}
- {loop typeclassyc(8) as $val} <!-- 这个是不显示部分颜色 -->
- {if $val['id'] != 57}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/if}
- {/loop}
- </select>
- </li>
- <li class="2 3 5 6 7 none">
- <em>曲 度:</em>
- <select name="lowe" class="select">
- {loop typeclassyc(15) as $val} <!-- 这个是不显示部分曲度 -->
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- <li class="2 none">
- <em>头套种类:</em>
- <select name="lacetype" class="select">
- {loop typeclassyc(18) as $val}
- {if $val['id']==146}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/if}
- {/loop}
- {loop typeclassyc(18) as $val}
- {if $val['id']!=146}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/if}
- {/loop}
- </select>
- </li>
- <li class="2 none">
- <em>发帽大小:</em>
- <select name="haircap" class="select">
- <option value="30">Medium - 中号</option>
- {loop typeclass(6) as $val}
- {if $val['id']!=30}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/if}
- {/loop}
- </select>
- </li>
- <li class="2 none">
- <em>密 度:</em>
- <select name="density" class="select">
- {loop typeclass(10) as $val}
- {if $val['id']==72}
- <option value="{$val['id']}">{$val['title']}</option>
- {/if}
- {/loop}
- {loop typeclass(10) as $val}
- {if $val['id']!=72}
- <option value="{$val['id']}">{$val['title']}</option>
- {/if}
- {/loop}
- </select>
- </li>
- <li class="2 none">
- <em>蕾丝颜色:</em>
- <select name="lacecolor" class="select">
- <option value="">未选择</option>
- {loop typeclassyc(9) as $val}
- {if $val['id'] != 335 && $val['id'] != 336}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/if}
- {/loop}
- </select>
- </li>
- <li class="2 none">
- <em>蕾丝类型:</em>
- <select name="lacetypes" class="select">
- <option value="">未选择</option>
- {loop typeclassyc(44) as $val}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- <li class="2 none">
- <em>头套其它:</em>
- <select name="wigother" class="select">
- <option value="">未选择</option>
- {loop typeclassyc(39) as $val}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- <li class="2 none">
- <em>头套其它2:</em>
- <select name="wigother2" class="select">
- <option value="">未选择</option>
- {loop typeclassyc(50) as $val}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- <li class="6 none">
- <em>头套类型:</em>
- <select name="synthetictype" class="select">
- <option value="">未选择</option>
- {loop typeclass(41) as $val}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- <li class="6 none">
- <em>化纤头套其它:</em>
- <select name="sywigother" class="select">
- <option value="">未选择</option>
- {loop typeclass(42) as $val}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- <li class="3 5 7 none">
- <em>单包片数:</em>
- <select name="items" class="select">
- <option value="">未选择</option>
- {loop typeclass(38) as $val}
- <option value="{$val['id']}">{$val['title']}</option>
- {/loop}
- </select>
- </li>
- <li class="7 none">
- <em>化纤发其它:</em>
- <select name="syhairther" class="select">
- <option value="">未选择</option>
- {loop typeclass(48) as $val}
- <option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
- {/loop}
- </select>
- </li>
- </div>
- <div class="datalist">
- <li>
- <em>长 度:</em>
- <select name="size" class="select">
- {loop typeclass(14) as $val}
- <option value="{$val['id']}">{$val['title']}</option>
- {/loop}
- </select>
- </li>
- </div>
- </div>
- {/if}
- <div class="datalist postgift">
- <li class="length">
- <em>标 题:</em>
- <input class="must" value="{$whlabel_bh['orderinfo']}" name="orderinfo" type="text">
- </li>
- <li>
- <em>类 型:</em>
- <select name="type" class="select">
- <option value="0" {if $whlabel_bh['type'] == '0'}selected="selected"{/if}>生产</option>
- <option value="1" {if $whlabel_bh['type'] == '1'}selected="selected"{/if}>外购</option>
- </select>
- </li>
- <li>
- <em>归 属:</em>
- <select name="kh" class="select">
- <option value="99001" {if $whlabel_bh['kh'] == '99001'}selected="selected"{/if}>成品仓</option>
- <option value="02031" {if $whlabel_bh['kh'] == '02031'}selected="selected"{/if}>美国仓</option>
- <option value="0103001" {if $whlabel_bh['kh'] == '0103001'}selected="selected"{/if}>AP</option>
- <option value="0103002" {if $whlabel_bh['kh'] == '0103002'}selected="selected"{/if}>WK</option>
- <option value="0103003" {if $whlabel_bh['kh'] == '0103003'}selected="selected"{/if}>QV</option>
- <option value="0103004" {if $whlabel_bh['kh'] == '0103004'}selected="selected"{/if}>AS</option>
- <option value="0103005" {if $whlabel_bh['kh'] == '0103005'}selected="selected"{/if}>H</option>
- <option value="0103006" {if $whlabel_bh['kh'] == '0103006'}selected="selected"{/if}>AP英</option>
- <option value="0103007" {if $whlabel_bh['kh'] == '0103007'}selected="selected"{/if}>YMS</option>
- <option value="0103008" {if $whlabel_bh['kh'] == '0103008'}selected="selected"{/if}>AP新</option>
- <option value="0103009" {if $whlabel_bh['kh'] == '0103009'}selected="selected"{/if}>WK新</option>
- <option value="0103010" {if $whlabel_bh['kh'] == '0103010'}selected="selected"{/if}>H新</option>
- <option value="0103011" {if $whlabel_bh['kh'] == '0103011'}selected="selected"{/if}>Bilisar</option>
- <option value="0103012" {if $whlabel_bh['kh'] == '0103012'}selected="selected"{/if}>Estilar</option>
- <option value="0103013" {if $whlabel_bh['kh'] == '0103013'}selected="selected"{/if}>QM</option>
- <option value="0103014" {if $whlabel_bh['kh'] == '0103014'}selected="selected"{/if}>Afola</option>
- <option value="0106002" {if $whlabel_bh['kh'] == '0106002'}selected="selected"{/if}>跨境多多-Finsa</option>
- <option value="0105001" {if $whlabel_bh['kh'] == '0105001'}selected="selected"{/if}>跨境多多-艾彩</option>
- <option value="0106001" {if $whlabel_bh['kh'] == '0106001'}selected="selected"{/if}>跨境多多-Estilar</option>
- <option value="0106003" {if $whlabel_bh['kh'] == '0106003'}selected="selected"{/if}>跨境多多-QM</option>
- </select>
- </li>
- <li>
- <em>供应商:</em>
- <select name="purchase" class="select class">
- <option value="">外购请选择</option>
- {loop $purchase as $val}
- <option value="{$val['yyid']}" {if $whlabel_bh['purchase'] == $val['yyid']}selected="selected"{/if}>{$val['title']}</option>
- {/loop}
- </select>
- </li>
- <li>
- <em>完成日期:</em>
- <input class="must" value="{$whlabel_bh['ztime'] > 0 ? date('Y-m-d',$whlabel_bh['ztime']).' 0:00':''}" name="ztime" type="text" onClick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})" id="timetk">
- </li>
- <li>
- <em>备货数量:</em>
- <input class="must" value="{$whlabel_bh['bhnum']}" name="bhnum" type="text">
- </li>
- <li>
- <em>生产/外购:</em>
- <input class="must" value="{$whlabel_bh['num']}" name="num" type="text">
- </li>
- <li>
- <em>库存数量:</em>
- <input class="must" value="{$whlabel_bh['kcnum']}" name="kcnum" type="text">
- </li>
- <li>
- <em>调拨数量:</em>
- <b>{$whlabel_bh['dbnum']}</b>
- </li>
- <li class="length">
- <em>备注:</em>
- <textarea name="shipremarks" style="height:160px">{$whlabel_bh['shipremarks']}</textarea>
- </li>
- </div>
- <input type="hidden" name="fpdata" value="{$whlabel_bh['fpdata']}" />
- {else}
- <div class="datalist postgift">
- <li class="length">
- <em>简码:</em>
- <b>{$whlabel_bh['jm']}</b>
- </li>
- <li class="length">
- <em>英文名称:</em>
- <b>{$whlabel_bh['title']}</b>
- </li>
- <li class="length">
- <em>中文名称:</em>
- <b>{$whlabel_bh['pm']}</b>
- </li>
- <li class="length">
- <em>标 题:</em>
- <b>{$whlabel_bh['orderinfo']}</b>
- </li>
- <li>
- <em>类 型:</em>
- <b>
- {if $whlabel_bh['type'] == '0'}
- 生产
- {else if $whlabel_bh['type'] == '1'}
- 外购
- {/if}
- </b>
- </li>
- <li>
- <em>归 属:</em>
- <!--
- <select name="kh" class="select">
- <option value="99001" {if $whlabel_bh['kh'] == '99001'}selected="selected"{/if}>成品仓</option>
- <option value="02031" {if $whlabel_bh['kh'] == '02031'}selected="selected"{/if}>美国仓</option>
- <option value="0103001" {if $whlabel_bh['kh'] == '0103001'}selected="selected"{/if}>AP</option>
- <option value="0103002" {if $whlabel_bh['kh'] == '0103002'}selected="selected"{/if}>WK</option>
- <option value="0103003" {if $whlabel_bh['kh'] == '0103003'}selected="selected"{/if}>QV</option>
- <option value="0103004" {if $whlabel_bh['kh'] == '0103004'}selected="selected"{/if}>AS</option>
- <option value="0103005" {if $whlabel_bh['kh'] == '0103005'}selected="selected"{/if}>H</option>
- <option value="0103006" {if $whlabel_bh['kh'] == '0103006'}selected="selected"{/if}>AP英</option>
- <option value="0103007" {if $whlabel_bh['kh'] == '0103007'}selected="selected"{/if}>YMS</option>
- <option value="0103008" {if $whlabel_bh['kh'] == '0103008'}selected="selected"{/if}>AP新</option>
- <option value="0103009" {if $whlabel_bh['kh'] == '0103009'}selected="selected"{/if}>WK新</option>
- <option value="0103010" {if $whlabel_bh['kh'] == '0103010'}selected="selected"{/if}>H新</option>
- <option value="0103011" {if $whlabel_bh['kh'] == '0103011'}selected="selected"{/if}>Bilisar</option>
- <option value="0103012" {if $whlabel_bh['kh'] == '0103012'}selected="selected"{/if}>Estilar</option>
- <option value="0103013" {if $whlabel_bh['kh'] == '0103013'}selected="selected"{/if}>QM</option>
- <option value="0103014" {if $whlabel_bh['kh'] == '0103014'}selected="selected"{/if}>Afola</option>
- <option value="0106002" {if $whlabel_bh['kh'] == '0106002'}selected="selected"{/if}>跨境多多-Finsa</option>
- <option value="0105001" {if $whlabel_bh['kh'] == '0105001'}selected="selected"{/if}>跨境多多-艾彩</option>
- <option value="0106001" {if $whlabel_bh['kh'] == '0106001'}selected="selected"{/if}>跨境多多-Estilar</option>
- <option value="0106003" {if $whlabel_bh['kh'] == '0106003'}selected="selected"{/if}>跨境多多-QM</option>
- </select>
- -->
- <b>
- {if $whlabel_bh['kh'] == '99001'}成品仓
- {else if $whlabel_bh['kh'] == '02031'}美国仓
- {else if $whlabel_bh['kh'] == '0103001'}AP
- {else if $whlabel_bh['kh'] == '0103002'}WK
- {else if $whlabel_bh['kh'] == '0103003'}QV
- {else if $whlabel_bh['kh'] == '0103004'}AS
- {else if $whlabel_bh['kh'] == '0103005'}H
- {else if $whlabel_bh['kh'] == '0103006'}AP英
- {else if $whlabel_bh['kh'] == '0103007'}YMS
- {else if $whlabel_bh['kh'] == '0103008'}AP新
- {else if $whlabel_bh['kh'] == '0103009'}WK新
- {else if $whlabel_bh['kh'] == '0103010'}H新
- {else if $whlabel_bh['kh'] == '0103011'}Bilisar
- {else if $whlabel_bh['kh'] == '0103012'}Estilar
- {else if $whlabel_bh['kh'] == '0103013'}QM
- {else if $whlabel_bh['kh'] == '0103014'}Afola
- {else if $whlabel_bh['kh'] == '0106002'}跨境多多-Finsa
- {else if $whlabel_bh['kh'] == '0105001'}跨境多多-艾彩
- {else if $whlabel_bh['kh'] == '0106001'}跨境多多-Estilar
- {else if $whlabel_bh['kh'] == '0106003'}跨境多多-QM
- {/if}
- </b>
- </li>
- <li>
- <em>供应商:</em>
- <select name="purchase" class="select class">
- <option value="">外购请选择</option>
- {loop $purchase as $val}
- <option value="{$val['yyid']}" {if $whlabel_bh['purchase'] == $val['yyid']}selected="selected"{/if}>{$val['title']}</option>
- {/loop}
- </select>
- </li>
- <li>
- <em>完成日期:</em>
- <b>{$whlabel_bh['ztime'] > 0 ? date('Y-m-d',$whlabel_bh['ztime']).' 0:00':''}</b>
- </li>
- <li>
- <em>备货数量:</em>
- <b>{$whlabel_bh['bhnum']}</b>
- </li>
- <li>
- <em>生产/外购:</em>
- <b>{$whlabel_bh['num']}</b>
- </li>
- <li>
- <em>库存数量:</em>
- <b>{$whlabel_bh['kcnum']}</b>
- </li>
- <li>
- <em>调拨数量:</em>
- <b>{$whlabel_bh['dbnum']}</b>
- </li>
- <li class="length">
- <em>备注:</em>
- <b>{$whlabel_bh['shipremarks']}</b>
- </li>
- </div>
- {/if}
- <div style="clear:both;"></div>
- </ul>
- <div class="hidden">
- <input type="hidden" name="id" value="{$whlabel_bh['id']}" />
- </div>
- <div class="button">{if $whlabel_bh['state'] == 0} <font class="gxkcnum">获取库存</font>{/if} {if $whlabel_bh['features'] != ''}<font class="fzdata">复 制</font>{/if}<font class="produtdata">提 交</font> <font class="fh">关 闭</font></div>
- </div>
- <script>
- $(document).ready(function() {
- var list = "{$whlabel_bh['features']}";
- list = list.substring(0,list.length-1);
- var data = list.split("-");
- for(i=1;i<data.length+1;i++)
- {
- $(".setting .cp .select").each(function() {
- $(this).find("option[value='"+data[i]+"']").prop("selected","selected");
- });
- }
- cpxz();
- });
- var addedit="/whlabel_bh/edit/";
- $(".fzdata").click(function() {
- window.location.href = '/whlabel_bh/add?data={$whlabel_bh["features"]}';
- });
- $(".gxkcnum").click(function() {
- $(".ts p").html("<i class='fa fa-2x fa-cog fa-spin'></i> 获取中,请稍后...");
- $(".ts").show();
- $.ajax({
- url: "/whlabel_bh/kc/",
- data: "category=1&features="+$("input[name='fpdata']").val(),
- type: "POST",
- dataType: "json",
- success: function(a) {
- if (a && a.success) {
- $(".ts").hide();
- $(".ts p").html("获取成功");
- $(".ts").fadeIn();
- setTimeout('$(".ts").fadeOut()', 600);
- $("input[name='kcnum']").val(a.msg);
- } else {
- $(".ts").hide();
- $(".ts p").html(a.msg);
- $(".ts").fadeIn();
- setTimeout('$(".ts").fadeOut()', 600);
- }
- }
- });
- });
- </script>
- <script type="text/javascript" src="{$theme}js/laydate.js"></script>
- {Template footer}
|