|
|
@ -12,15 +12,12 @@ |
|
|
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content"> |
|
|
|
<form class="form-horizontal m" id="form-outsource_quote-add"> |
|
|
|
<h4 class="form-header h4">委外报价信息</h4> |
|
|
|
<div class="row"> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-3 control-label is-required">委外报价单号:</label> |
|
|
|
<div class="col-sm-8"> |
|
|
|
<input name="outsourceQuoteCode" readonly="readonly" class="form-control" type="text" value=" |
|
|
|
WWBJ002"> |
|
|
|
<input name="outsourceQuoteCode" readonly="readonly" class="form-control" type="text"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-sm-3 control-label">供应商编号:</label> |
|
|
|
<div class="col-sm-8"> |
|
|
@ -104,6 +101,19 @@ WWBJ002"> |
|
|
|
$.ajax(config) |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//获取单号 |
|
|
|
$.ajax({ |
|
|
|
url: prefix + "/generateOutsourceQuoteCode", |
|
|
|
type: "GET", |
|
|
|
dateType: "json", |
|
|
|
success: function (resp) { |
|
|
|
console.log(resp) |
|
|
|
if (resp != null) {$("input[name='outsourceQuoteCode']").val(resp);} else {$.modal.msgError("失败啦");} |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
function submitHandler() { |
|
|
|
var url = prefix + "/add"; |
|
|
|
var outsourceQuote = { |
|
|
|