| | |
| | | white-space:nowrap; |
| | | text-overflow:ellipsis; |
| | | } |
| | | |
| | | /* 详情 */ |
| | | .form-box { |
| | | margin-top: 10px; |
| | | padding: 15px 0 10px 0; |
| | | text-align: center; |
| | | border: 1px solid #BBBBBB; |
| | | } |
| | | |
| | | .form-item { |
| | | margin-bottom: 5px; |
| | | } |
| | | .form-box span { |
| | | } |
| | | .form-box input { |
| | | overflow:hidden; |
| | | white-space:nowrap; |
| | | text-overflow:ellipsis; |
| | | } |
| | | .form-count button { |
| | | width: 25px; |
| | | height: 20px; |
| | | } |
| | | .form-count input { |
| | | margin: 0 7px; |
| | | width: 40px; |
| | | } |
| | | .form-btn-con { |
| | | margin-top: 10px; |
| | | } |
| | | .form-btn-con button { |
| | | padding: 4px 0; |
| | | height: 25px; |
| | | margin: 0 15px; |
| | | } |
| | | </style> |
| | | </head> |
| | | <body> |
| | |
| | | <input type="text" id="matnr" onkeyup="find(this)" autocomplete="off"> |
| | | </div> |
| | | |
| | | <!-- 堆垛机状态 --> |
| | | <div class="mat-msg" id="mat-msg-id"> |
| | | <div id="mat-msg-table"> |
| | | <div id="tthead"> |
| | |
| | | <button >组托</button> |
| | | <span id="tips"></span> |
| | | </div> |
| | | |
| | | <!-- 详情 --> |
| | | <div class="form-box"> |
| | | <div class="form-item"> |
| | | <span>名称</span> |
| | | <input id="matName" type="text" disabled="disabled" style="background-color: #ececec"> |
| | | </div> |
| | | <div class="form-item"> |
| | | <span>单位</span> |
| | | <input id="str1" type="text" disabled="disabled" style="background-color: #ececec"> |
| | | </div> |
| | | <div class="form-item form-count"> |
| | | <span style="margin-right: 10px">数量</span> |
| | | <button onclick="reduce()">-</button><input id="count" type="number"><button onclick="add()">+</button> |
| | | </div> |
| | | <div class="form-item form-btn-con"> |
| | | <button id="confirm" onclick="confirm()">提取</button> |
| | | <button id="cancel" onclick="cancel()" style="background-color: #fff">取消</button> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | </body> |
| | | <script> |
| | | // initCrnMsgTable() |
| | |
| | | var btnCon = document.getElementById("btn-con"); |
| | | var tipDom = document.getElementById("tips"); |
| | | |
| | | // todo |
| | | matMsg.style.display = 'none'; |
| | | btnCon.style.display = 'none'; |
| | | |
| | | // 查询物流 |
| | | function find(el) { |
| | | httpRequest({ |