王佳豪
2021-05-10 1667372f02fb00dc76e172b5348c8e75ffb79bb9
src/main/webapp/views/pda/combPro.html
@@ -110,7 +110,7 @@
<div id="modify" style="display: none; text-align: center;padding-top: 10px">
    <div class="form-box">
        <div class="form-item">
            <table style="display: inline">
            <table style="display: none">
                <tr>
                    <td>
                        <span style="width: 35px; margin-right: 5px">物料</span>
@@ -128,7 +128,7 @@
                        <span style="width: 35px; margin-right: 5px">名称</span>
                    </td>
                    <td style="text-align: left">
                    <textarea rows="3" style="resize: none; width: 165px" id="matName" type="text" disabled="disabled"
                    <textarea rows="2" style="resize: none; width: 165px" id="matName" type="text" disabled="disabled"
                              readonly="readonly"></textarea>
                    </td>
                </tr>
@@ -175,13 +175,13 @@
        tableIns = table.render({
            elem: '#chooseData',
            data: [],
            width: 320,
            limit: 500,
            cellMinWidth: 50,
            cols: [[
                {field: 'matNo', align: 'center', title: '物料编码'},
                {field: 'mnemonic', align: 'center', title: '生产单号'},
                {field: 'matNo', align: 'center', title: '物料编码',event: 'modify',},
                {field: 'mnemonic', align: 'center', title: '生产单号',event: 'modify',},
                {
                    fixed: 'right',
                    align: 'center',
                    field: 'count',
                    title: '数量',
@@ -189,7 +189,7 @@
                    style: 'cursor: pointer;color: blue',
                    width: 50
                },
//                {field: 'matName', align: 'center', title: '物料名称'}
                {field: 'matName', align: 'center', title: '物料名称',event: 'modify',}
            ]],
            done: function (res, curr, count) {
            }
@@ -255,8 +255,10 @@
        if (isEmpty(el.value)) {
            return;
        }
//        var billNo = el.value.split(",")[0].split("=")[1];
        var billNo = el.value;
        if (billNo.indexOf('=') > -1) {
            billNo = billNo.split(",")[0].split("=")[1];
        }
        if (isEmpty(billNo)) {
            return;
        }