parent
da59c5bf48
commit
6bb7b090cd
|
|
@ -6,8 +6,10 @@ import kd.bos.dataentity.entity.DynamicObjectCollection;
|
||||||
import kd.bos.dataentity.entity.LocaleString;
|
import kd.bos.dataentity.entity.LocaleString;
|
||||||
import kd.bos.entity.datamodel.events.PropertyChangedArgs;
|
import kd.bos.entity.datamodel.events.PropertyChangedArgs;
|
||||||
import kd.bos.form.control.events.ItemClickEvent;
|
import kd.bos.form.control.events.ItemClickEvent;
|
||||||
|
import kd.bos.form.events.BeforeDoOperationEventArgs;
|
||||||
import kd.bos.form.field.ComboEdit;
|
import kd.bos.form.field.ComboEdit;
|
||||||
import kd.bos.form.field.ComboItem;
|
import kd.bos.form.field.ComboItem;
|
||||||
|
import kd.bos.form.operate.FormOperate;
|
||||||
import kd.bos.logging.Log;
|
import kd.bos.logging.Log;
|
||||||
import kd.bos.logging.LogFactory;
|
import kd.bos.logging.LogFactory;
|
||||||
import kd.bos.servicehelper.BusinessDataServiceHelper;
|
import kd.bos.servicehelper.BusinessDataServiceHelper;
|
||||||
|
|
@ -134,9 +136,19 @@ public class RegistBillFactoryPlugin extends AbstractBillPlugIn {
|
||||||
this.getView().updateView();
|
this.getView().updateView();
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
this.getView().showTipNotification("请选择生产商和对应的许可证号!");
|
this.getView().showTipNotification("请选择生产商和对应的许可证号!");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void beforeDoOperation(BeforeDoOperationEventArgs args) {
|
||||||
|
super.beforeDoOperation(args);
|
||||||
|
FormOperate formOperate = (FormOperate)args.getSource();
|
||||||
|
String operateKey = formOperate.getOperateKey();
|
||||||
|
if(StringUtils.equals("save",operateKey)){
|
||||||
|
getModel().setValue("tqq9_supplier",null);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -36,9 +36,7 @@ public class PurOrderBillRebatePlugin extends AbstractOperationServicePlugIn imp
|
||||||
private final static Log logger = LogFactory.getLog(PurOrderBillRebatePlugin.class);
|
private final static Log logger = LogFactory.getLog(PurOrderBillRebatePlugin.class);
|
||||||
private final static String ENTRYENTITY = "billentry";
|
private final static String ENTRYENTITY = "billentry";
|
||||||
|
|
||||||
// private final static HashMap<String, String> tokenMap = new HashMap<String, String>() {{
|
|
||||||
// put("Authorization", "Bearer b96dad1eb4f84c41bae651162aeacdd3");
|
|
||||||
// }};
|
|
||||||
|
|
||||||
private static String Create_URL;
|
private static String Create_URL;
|
||||||
private static String Cancel_URL;
|
private static String Cancel_URL;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue