taron133
2020-10-26 aa8d874c8a3287d41d26566ae32b6ed8d4557ff9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<form action="{$LINK}&is_insert=1&rm_ids={$rm_ids}" method="post" >
<table summary="T" style="border:1px #666 solid;" width="70%" cellpadding="0" cellspacing="3">
<tr><td width="60%" valign="top">
 
<table summary="T" style="border:1px #666 solid;" width="100%" cellpadding="0" cellspacing="1">
 
<tr><td class="fixed" align="center" colspan="7"><b>{$NameTable}</b></td></tr>
 
<tr class="fixed" align="center">
{section name=sec loop=$ASU_CAB_NAMES}
    {if !$ASU_CAB_IS_COMMON[$smarty.section.sec.index_prev]}
        <td  style="text-size:small;FONT-WEIGHT: normal;">
            {if $ASU_CAB_IS_COMMON[sec]}
                {$ASU_CAB_IS_COMMON[sec][1]}
            {else}
                {$ASU_CAB_NAMES[sec]}
            {/if}
        </td>   
    {/if}
{/section}
</tr>
 
{section name=sec loop=$GRID_RESULTS}
<tr>
{section name=sec2 loop=$GRID_RESULTS[sec]}
{if $smarty.section.sec2.rownum<10}
<td {if $ASU_CAB_RESULTS_NUMIRATION && $smarty.section.sec2.rownum==1}style="" class="fixed"{else}{if $ASU_CAB_EMPTY_COLOR[sec2] && !$GRID_RESULTS[sec][sec2]}style="background-color:red;" class="notfixed"{else}style="" class="notfixed"{/if}{/if}align="center">
    {if $ASU_CAB_RESULTS_NUMIRATION && $smarty.section.sec2.rownum==1}
        {$smarty.section.sec.rownum}
    {else}
        {$GRID_RESULTS[sec][sec2]}
    {/if}
</td>
{/if}
{/section}
 
</tr>
{/section}
 
</table>
 
{if $NameTable3}
<table summary="T" style="border:1px #666 solid;margin-top:10px;" width="100%" cellpadding="0" cellspacing="1">
<tr><td class="fixed" align="center" colspan="7"><b>{$NameTable3}</b></td></tr>
 
<tr class="fixed" align="center">
{section name=sec loop=$ASU_CAB_NAMES3}
    {if !$ASU_CAB_IS_COMMON[$smarty.section.sec.index_prev]}
        <td  style="text-size:small;FONT-WEIGHT: normal;">
            {if $ASU_CAB_IS_COMMON[sec]}
                {$ASU_CAB_IS_COMMON[sec][1]}
            {else}
                {$ASU_CAB_NAMES3[sec]}
            {/if}
        </td>   
    {/if}
{/section}
</tr>
 
{section name=sec loop=$GRID_RESULTS3}
<tr>
{section name=sec2 loop=$GRID_RESULTS3[sec]}
{if $smarty.section.sec2.rownum<10}
<td {if $ASU_CAB_RESULTS_NUMIRATION3 && $smarty.section.sec2.rownum==1}style="" class="fixed"{else}{if $ASU_CAB_EMPTY_COLOR[sec2] && !$GRID_RESULTS3[sec][sec2]}style="background-color:red;" class="notfixed"{else}style="" class="notfixed"{/if}{/if}align="center">
    {if $ASU_CAB_RESULTS_NUMIRATION3 && $smarty.section.sec2.rownum==1}
        {$smarty.section.sec.rownum}
    {else}
        {$GRID_RESULTS3[sec][sec2]}
    {/if}
</td>
{/if}
{/section}
</tr>
{/section}
 
</table>
{/if}
 
</td>
 
{if $NameTable2}
<!-- отображение существующих на складах -->
<td valign="top">
<table summary="T" style="border:1px #666 solid;" width="100%" cellpadding="0" cellspacing="1">
<tr><td class="fixed" align="center" colspan="6"><b>{$NameTable2}</b></td></tr>
 
<tr class="fixed" align="center">
{section name=sec loop=$ASU_CAB_NAMES2}
    {if !$ASU_CAB_IS_COMMON[$smarty.section.sec.index_prev]}
        <td  style="text-size:small;FONT-WEIGHT: normal;">
            {if $ASU_CAB_IS_COMMON[sec]}
                {$ASU_CAB_IS_COMMON[sec][1]}
            {else}
                {$ASU_CAB_NAMES2[sec]}
            {/if}
        </td>   
    {/if}
{/section}
</tr>
 
{section name=sec loop=$GRID_RESULTS2}
<tr>
{section name=sec2 loop=$GRID_RESULTS2[sec]}
{if $smarty.section.sec2.rownum<10}
<td {if $ASU_CAB_RESULTS_NUMIRATION2 && $smarty.section.sec2.rownum==1}style="" class="fixed"{else}{if $ASU_CAB_EMPTY_COLOR[sec2] && !$GRID_RESULTS2[sec][sec2]}style="background-color:red;" class="notfixed"{else}style="" class="notfixed"{/if}{/if}align="center">
    {if $ASU_CAB_RESULTS_NUMIRATION2 && $smarty.section.sec2.rownum==1}
        {$smarty.section.sec.rownum}
    {else}
        {$GRID_RESULTS2[sec][sec2]}
    {/if}
</td>
{/if}
{/section}
 
</tr>
{/section}
 
</table>
</td></tr>
{/if}
 
<tr><td align="left" colspan="2">
<input type="hidden" name="OK" value="1" />
<input type="hidden" name="Lager" value="{$Lager}" />
<input type="hidden" name="mat_id" value="{$mat_id}" />
<input type="hidden" name="count" value="{$count}" />
<input type="hidden" name="SNold" value="{$SNold}" />
<input type="hidden" name="SNnew" value="{$SNnew}" />
 
<input type="submit" class="btn btn-info" name="MoveTo" onclick="if (window.isOKPress) this.disabled = true; else window.isOKPress = true;" value="{$btn_Close}" />
<input type="button" class="btn btn-info" name="back" onclick="history.go(-1);" value="{$btn_Back}" />
<input type="submit" class="btn btn-info" name="next" onclick="if (window.isOKPress) this.disabled = true; else window.isOKPress = true;" value="{$btn_Next}" />
</td></tr>
 
</table>
</form>