fix:
1.合同签章合同盖章 2.发运明细变更单修改数量逻辑修改
This commit is contained in:
parent
5787908a4d
commit
c817f189c0
@ -16,8 +16,10 @@ import kd.bos.dataentity.entity.DynamicObject;
|
|||||||
import kd.bos.dataentity.entity.DynamicObjectCollection;
|
import kd.bos.dataentity.entity.DynamicObjectCollection;
|
||||||
import kd.bos.entity.datamodel.IDataModel;
|
import kd.bos.entity.datamodel.IDataModel;
|
||||||
import kd.bos.entity.datamodel.RowDataEntity;
|
import kd.bos.entity.datamodel.RowDataEntity;
|
||||||
import kd.bos.entity.datamodel.events.*;
|
import kd.bos.entity.datamodel.events.AfterAddRowEventArgs;
|
||||||
import kd.bos.entity.operate.Delete;
|
import kd.bos.entity.datamodel.events.AfterDeleteRowEventArgs;
|
||||||
|
import kd.bos.entity.datamodel.events.BeforeDeleteRowEventArgs;
|
||||||
|
import kd.bos.entity.datamodel.events.PropertyChangedArgs;
|
||||||
import kd.bos.entity.operate.result.OperationResult;
|
import kd.bos.entity.operate.result.OperationResult;
|
||||||
import kd.bos.form.FormShowParameter;
|
import kd.bos.form.FormShowParameter;
|
||||||
import kd.bos.form.IFormView;
|
import kd.bos.form.IFormView;
|
||||||
@ -671,6 +673,25 @@ public class ShippingDetailsFormPlugin extends AbstractBillPlugIn implements Bef
|
|||||||
countSmallCabinetQty(model);//汇总表头小柜数量
|
countSmallCabinetQty(model);//汇总表头小柜数量
|
||||||
break;
|
break;
|
||||||
case "yem_qty":
|
case "yem_qty":
|
||||||
|
// DynamicObjectCollection collects = this.getModel().getEntryEntity("yem_es_salesorder_total");
|
||||||
|
// List<Integer> ies = new ArrayList<>();
|
||||||
|
// Map<Long, Integer> map1 = new HashMap<>();
|
||||||
|
// for (int i1 = 0; i1 < collects.size(); i1++) {
|
||||||
|
// DynamicObject collect = (DynamicObject) collects.get(i1);
|
||||||
|
// DynamicObject yemAccesmaterialTl = collect.getDynamicObject("yem_accesmaterial_tl");
|
||||||
|
// if (yemAccesmaterialTl != null) {
|
||||||
|
// long aLong = yemAccesmaterialTl.getLong("id");
|
||||||
|
// if (map1.get(aLong) == null) {
|
||||||
|
// map1.put(aLong, i1);
|
||||||
|
// } else {
|
||||||
|
// ies.add(i1);
|
||||||
|
// }
|
||||||
|
// }else {
|
||||||
|
// ies.add(i1);
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// int[] intArray = ies.stream().mapToInt(Integer::intValue).toArray();
|
||||||
|
// this.getModel().deleteEntryRows("yem_es_salesorder_total", intArray);
|
||||||
Boolean aseqty = aseqty();
|
Boolean aseqty = aseqty();
|
||||||
if (aseqty) {
|
if (aseqty) {
|
||||||
this.getView().showMessage("数量不允许低于关联调拨数量;,请重新填写");
|
this.getView().showMessage("数量不允许低于关联调拨数量;,请重新填写");
|
||||||
@ -724,7 +745,7 @@ public class ShippingDetailsFormPlugin extends AbstractBillPlugIn implements Bef
|
|||||||
this.getModel().setValue("yem_remarks", "", i);
|
this.getModel().setValue("yem_remarks", "", i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}else {
|
} else {
|
||||||
if (!yemEsMaterialinfo.isEmpty()) {
|
if (!yemEsMaterialinfo.isEmpty()) {
|
||||||
for (int i = 0; i < yemEsMaterialinfo.size(); i++) {
|
for (int i = 0; i < yemEsMaterialinfo.size(); i++) {
|
||||||
this.getModel().setValue("yem_remarks", "", i);
|
this.getModel().setValue("yem_remarks", "", i);
|
||||||
|
@ -2,7 +2,6 @@ package com.yem.wm.es.shippingdetails.form;
|
|||||||
|
|
||||||
import com.yem.wm.es.Util.TotalUtil;
|
import com.yem.wm.es.Util.TotalUtil;
|
||||||
import com.yem.wm.es.Util.ZJUtils;
|
import com.yem.wm.es.Util.ZJUtils;
|
||||||
import com.yem.wm.im.clientdemand.utils.ClientUtils;
|
|
||||||
import kd.bos.bill.AbstractBillPlugIn;
|
import kd.bos.bill.AbstractBillPlugIn;
|
||||||
import kd.bos.bill.OperationStatus;
|
import kd.bos.bill.OperationStatus;
|
||||||
import kd.bos.dataentity.entity.DynamicObject;
|
import kd.bos.dataentity.entity.DynamicObject;
|
||||||
@ -12,7 +11,6 @@ import kd.bos.entity.datamodel.events.ChangeData;
|
|||||||
import kd.bos.entity.datamodel.events.PropertyChangedArgs;
|
import kd.bos.entity.datamodel.events.PropertyChangedArgs;
|
||||||
import kd.bos.form.IFormView;
|
import kd.bos.form.IFormView;
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
|
||||||
import java.util.EventObject;
|
import java.util.EventObject;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -39,7 +39,7 @@ public class ContactSignUtils {
|
|||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
}catch (Exception e ){
|
}catch (Exception e ){
|
||||||
throw new KDBizException("无法解析文件 ");
|
throw new KDBizException("不支持doc格式的word文档,请上传docx格式的word文档!!!");
|
||||||
}
|
}
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user