|  |  | 
 |  |  | <script type="text/html" id="tbBasicTbStaNos"> | 
 |  |  |     <div class="ew-select-fixed"> | 
 |  |  |         {{#if (d.manu!='平库') {}} | 
 |  |  |             <select class="order-sta-select" lay-filter="tbBasicTbStaNos"> | 
 |  |  |                 {{#if (d.staNos!=null) {}} | 
 |  |  |                 {{# for(let i=0; i<d.staNos.length; i++) { }} | 
 |  |  |                 <option value="{{d.staNos[i]}}">{{d.staNos[i]}}</option> | 
 |  |  |                 {{# } }} | 
 |  |  |                 {{# } }} | 
 |  |  |             </select> | 
 |  |  |         <select class="order-sta-select" lay-filter="tbBasicTbStaNos"> | 
 |  |  |             {{#if (d.staNos!=null) {}} | 
 |  |  |             {{# for(let i=0; i<d.staNos.length; i++) { }} | 
 |  |  |             <option value="{{d.staNos[i]}}">{{d.staNos[i]}}</option> | 
 |  |  |             {{# } }} | 
 |  |  |             {{# } }} | 
 |  |  |         </select> | 
 |  |  |         {{# } }} | 
 |  |  |     </div> | 
 |  |  | </script> | 
 |  |  | 
 |  |  |  | 
 |  |  | <script type="text/html" id="locNoTpl"> | 
 |  |  |     <span name="locNo" | 
 |  |  |           {{# if( d.locNo){ }} | 
 |  |  |           {{# if( d.lack === false){ }} | 
 |  |  |           class="layui-badge layui-badge-green" >{{d.locNo}}</span> | 
 |  |  |     {{# } else { }} | 
 |  |  |     class="layui-badge layui-badge-red" >库存不足</span> |