| | |
| | | <label class="layui-form-label">æºåç±»å</label> |
| | | <div class="layui-input-inline"> |
| | | <select name="HMainSourceBillType" lay-filter="HMainSourceBillType" id="HMainSourceBillType"> |
| | | <option value="2" selected="selected">éè´è®¢å</option> |
| | | <option value="2" selected="selected">æ
éç»è®°å</option> |
| | | <option value="1">æå·¥å½å
¥</option> |
| | | </select> |
| | | </div> |
| | |
| | | title: 'å¨å
·æ
éç»è®°åå表', |
| | | shift: 2, |
| | | area: ['90%', '90%'], |
| | | content: ['../../PublicPage/PurchOrder.html', 'yes'], |
| | | content: ['../模治å
·ç®¡ç/Sc_MouldConkBookBillList.html', 'yes'], |
| | | btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) { |
| | | |
| | |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©åæ®æ°æ®'); |
| | | } |
| | | else if (checkStatus.data.length >1) { |
| | | return layer.msg('è¯·éæ©ä¸è¡åæ®æ°æ®'); |
| | | } |
| | | //å·æ°å½åé¡µè¡¨æ ¼æ°æ®éè½½ |
| | | //var oldData = table.cache["mainTable"]; |
| | |
| | | function set_AddFNew() { |
| | | //è·åæå¤§åæ®å· |
| | | get_MAXNum(); |
| | | option.data = []; |
| | | option.data = [{ "HRepairID": 0, "HRepairCode": "", "HRepairName": " ", "HRepairExplanation": " ", "HManagerID": 0, "HManagerCode": "", "HManagerName": " ", "HMoney": 0, "HRemark": " " }]; |
| | | table.render(option); |
| | | } |
| | | //è·åæå¤§åæ®å·åé»è®¤å¼èµå¼ |