| | |
| | | return billNO; |
| | | } |
| | | |
| | | // function initOrderNo1() { |
| | | // $.ajax({ |
| | | // url: baseUrl+"/work/orderNo/init1", |
| | | // headers: {'token': localStorage.getItem('token')}, |
| | | // async: false, |
| | | // method: 'GET', |
| | | // success: function (res) { |
| | | // if (res.code === 200){ |
| | | // $('#billNo').val(res.data) |
| | | // } else if (res.code === 403){ |
| | | // top.location.href = baseUrl+"/"; |
| | | // } else { |
| | | // notice.error({ |
| | | // title: '消息通知', |
| | | // message: res.msg |
| | | // }); |
| | | // } |
| | | // } |
| | | // }); |
| | | // } |
| | | function initOrderNo1() { |
| | | $.ajax({ |
| | | url: baseUrl+"/quality/orderNo/init1", |
| | | headers: {'token': localStorage.getItem('token')}, |
| | | async: false, |
| | | method: 'GET', |
| | | success: function (res) { |
| | | if (res.code === 200){ |
| | | $('#billNo').val(res.data) |
| | | } else if (res.code === 403){ |
| | | top.location.href = baseUrl+"/"; |
| | | } else { |
| | | notice.error({ |
| | | title: '消息通知', |
| | | message: res.msg |
| | | }); |
| | | } |
| | | } |
| | | }); |
| | | } |