mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-31 13:25:32 +08:00
67 lines
2.4 KiB
HTML
67 lines
2.4 KiB
HTML
<!--
|
|
Copyright 2012-2026 ShopeX (https://www.shopex.cn)
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<div class="tableform">
|
|
<div class="division">
|
|
<form method="post" action="index.php?app=wmsmgr&ctl=admin_wms&act=doInitializeLogi" id="submitForm">
|
|
<input type="hidden" name="channel_id" value="<{$wms.channel_id}>">
|
|
<table width="100%" cellspacing="0" cellpadding="0" border="0" >
|
|
<tbody>
|
|
<tr>
|
|
<th><em class="c-red">*</em> 仓储编码:</th>
|
|
<td><{$wms.channel_bn}></td>
|
|
</tr>
|
|
<tr>
|
|
<th ><em class="c-red">*</em> 仓储名称:</th>
|
|
<td><{$wms.channel_name}></td>
|
|
</tr>
|
|
<tr>
|
|
<th > </th>
|
|
<td> </td>
|
|
</tr>
|
|
<tr>
|
|
<th > </th>
|
|
<td> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<div id='adapter_config'></div>
|
|
|
|
<div class="table-action">
|
|
<{button class="btn-primary" type="submit" id="saveButton" name="submit" label="确认初始化物流公司"}>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
$('submitForm').store('target',{
|
|
onRequest:function(){
|
|
$('saveButton').set('disabled', 'true');
|
|
},
|
|
onComplete:function(jsontext){
|
|
var json = Json.evaluate(jsontext);
|
|
if (typeof(json.error) != 'undefined'){
|
|
$('saveButton').set('disabled', '');
|
|
}else{
|
|
$('saveButton').set('disabled', 'true');
|
|
parent.finderGroup['<{$env.get.finder_id}>'].refresh.delay(400,parent.finderGroup['<{$env.get.finder_id}>']);
|
|
$('saveButton').getParent('.dialog').retrieve('instance').close();
|
|
}
|
|
}
|
|
});
|
|
</script>
|