出库检查
parent
cdeb0bf670
commit
ba6dcde08a
|
@ -784,8 +784,8 @@ public class WmOmNoticeHController extends BaseController {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
String sql = "select sum(base_goodscount) as qua from wv_stock t where t.goods_id = '"
|
String sql = "select sum(base_goodscount) as qua from wv_stock t where t.goods_id LIKE '%"
|
||||||
+ goods + "'";
|
+ goods + "%'";
|
||||||
Map<String, Object> binMap = systemService.findOneForJdbc(sql);
|
Map<String, Object> binMap = systemService.findOneForJdbc(sql);
|
||||||
if(binMap!=null){
|
if(binMap!=null){
|
||||||
if(Double.parseDouble(binMap.get("qua").toString())< Double.parseDouble(request.getParameter("goodsqua").toString())){
|
if(Double.parseDouble(binMap.get("qua").toString())< Double.parseDouble(request.getParameter("goodsqua").toString())){
|
||||||
|
|
|
@ -233,8 +233,10 @@
|
||||||
<span class="Validform_checktip" style="float:left;height:0px;"></span>
|
<span class="Validform_checktip" style="float:left;height:0px;"></span>
|
||||||
<label class="Validform_label" style="display: none">运输公司</label>
|
<label class="Validform_label" style="display: none">运输公司</label>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col-xs-1 text-center">
|
||||||
<t:dictSelect field="supCode" type="list" extendJson=" {class:'form-control',datatype:'*',style:'width:230px'}"
|
<b>供应商编码:</b>
|
||||||
|
</div>
|
||||||
|
<t:dictSelect field="supCode" type="list" extendJson=" {class:'form-control',style:'width:230px'}"
|
||||||
dictTable="md_sup" dictField="GYS_BIAN_MA" dictText="ZHONG_WEN_QCH" hasLabel="false" title="供应商"></t:dictSelect>
|
dictTable="md_sup" dictField="GYS_BIAN_MA" dictText="ZHONG_WEN_QCH" hasLabel="false" title="供应商"></t:dictSelect>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -411,8 +411,8 @@
|
||||||
|
|
||||||
var msghe = '';
|
var msghe = '';
|
||||||
$("#wmOmNoticeI_table tr").each(function(){
|
$("#wmOmNoticeI_table tr").each(function(){
|
||||||
fieldname = $(this).find("td:eq(2)>input").val();
|
fieldname = $(this).find("td:eq(1)>input").val();
|
||||||
fieldnamevalue = $(this).find("td:eq(3)>input").val();
|
fieldnamevalue = $(this).find("td:eq(2)>input").val();
|
||||||
// fieldnamelo = $(this).find("td:eq(6)>input").val();
|
// fieldnamelo = $(this).find("td:eq(6)>input").val();
|
||||||
if (fieldname !== null && (typeof fieldname != 'undefined') && fieldname !== '') {
|
if (fieldname !== null && (typeof fieldname != 'undefined') && fieldname !== '') {
|
||||||
// var url = "wmOmNoticeHController.do?doAddcheck&mat_code="+fieldname+"&mat_qty="+fieldnamevalue;
|
// var url = "wmOmNoticeHController.do?doAddcheck&mat_code="+fieldname+"&mat_qty="+fieldnamevalue;
|
||||||
|
|
|
@ -3,8 +3,8 @@ function doAddcheck(name) {
|
||||||
var flag = true;
|
var flag = true;
|
||||||
var msghe = '';
|
var msghe = '';
|
||||||
$("#wmOmNoticeI_table tr").each(function(){
|
$("#wmOmNoticeI_table tr").each(function(){
|
||||||
fieldname = $(this).find("td:eq(2)>input").val();
|
fieldname = $(this).find("td:eq(1)>input").val();
|
||||||
fieldnamevalue = $(this).find("td:eq(3)>input").val();
|
fieldnamevalue = $(this).find("td:eq(2)>input").val();
|
||||||
// fieldnamelo = $(this).find("td:eq(6)>input").val();
|
// fieldnamelo = $(this).find("td:eq(6)>input").val();
|
||||||
if (fieldname !== null && (typeof fieldname != 'undefined') && fieldname !== '') {
|
if (fieldname !== null && (typeof fieldname != 'undefined') && fieldname !== '') {
|
||||||
// var url = "wmOmNoticeHController.do?doAddcheck&mat_code="+fieldname+"&mat_qty="+fieldnamevalue;
|
// var url = "wmOmNoticeHController.do?doAddcheck&mat_code="+fieldname+"&mat_qty="+fieldnamevalue;
|
||||||
|
|
Loading…
Reference in New Issue