|
@@ -134,7 +134,7 @@
|
|
|
{else}
|
|
|
<tr class="no_detail">
|
|
|
<td class='text-left nowrap'>
|
|
|
- <input class='layui-input' name='goods_no[]' value="getCode();"/>
|
|
|
+ <input class='layui-input' id="wlgc" name='goods_no[]' value=""/>
|
|
|
</td>
|
|
|
|
|
|
<td class='text-left nowrap'>
|
|
@@ -249,7 +249,7 @@
|
|
|
|
|
|
var is_edit = '{isset($vo.id)}';
|
|
|
if(!is_edit) {
|
|
|
- $("input[name='goods_no[]']").val(getCode());
|
|
|
+ $("#wlgc").val(getCode());
|
|
|
}
|
|
|
function getCode() {
|
|
|
var t = "ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678",
|