泛微审批状态改回
This commit is contained in:
parent
050eb26a25
commit
2e75b7aa4a
|
|
@ -109,10 +109,10 @@ public class FWBillStateUpdController {
|
|||
} else {
|
||||
if (state == 0) {
|
||||
bill.set("tqq9_issuccess", true);
|
||||
bill.set("tqq9_fwstate", "已审核");
|
||||
bill.set("tqq9_fwstate", "C");
|
||||
approveLog.set("tqq9_issuccess", true);
|
||||
} else {
|
||||
bill.set("tqq9_fwstate", "驳回");
|
||||
bill.set("tqq9_fwstate", "D");
|
||||
}
|
||||
SaveServiceHelper.save(new DynamicObject[]{bill});
|
||||
//保存日志
|
||||
|
|
|
|||
|
|
@ -219,7 +219,7 @@ public class SupplierControl implements Serializable {
|
|||
bd_supplier.set("tqq9_textareafield_jyfw", tqq9_textareafield_jyfw);
|
||||
bd_supplier.set("tqq9_zczb", tqq9_zczb);
|
||||
bd_supplier.set("tqq9_textfield4_zs1", tqq9_textfield4_zs1);
|
||||
bd_supplier.set("tqq9_fwstate", "已审核");
|
||||
bd_supplier.set("tqq9_fwstate", "C");
|
||||
bd_supplier.set("tqq9_mulcombofield1", ",A,B,C,");
|
||||
DynamicObjectCollection entry_linkman1 = bd_supplier.getDynamicObjectCollection("entry_linkman");
|
||||
for (SupplierModel.DataBean.LinkmanBean linkmanBean : entry_linkman) {
|
||||
|
|
|
|||
|
|
@ -1,25 +0,0 @@
|
|||
package tqq9.lc123.cloud.app.api.plugin;
|
||||
|
||||
import kd.bos.bill.AbstractBillPlugIn;
|
||||
import kd.sdk.plugin.Plugin;
|
||||
|
||||
/**
|
||||
* 单据界面插件
|
||||
* 在进入后采购变更单里的泛微状态显示为待提交
|
||||
*/
|
||||
public class FWDefaultApprovalStatusPlugin extends AbstractBillPlugIn implements Plugin {
|
||||
// @Override
|
||||
// public void afterCreateNewData(EventObject e) {
|
||||
// super.afterCreateNewData(e);
|
||||
// //获取到单据界面的泛微审批状态
|
||||
// String tqq9_fwstate = (String) this.getModel().getValue("tqq9_fwstate");
|
||||
// //判断是否为空
|
||||
// if (StringUtils.isBlank(tqq9_fwstate)) {
|
||||
// //设置默认值
|
||||
// this.getModel().setValue("tqq9_fwstate", "待提交");
|
||||
// logger.info("默认值设置成功");
|
||||
// } else {
|
||||
// logger.info("默认值已存在");
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
|
@ -88,7 +88,7 @@ public class FWOtheroutApplySavePlugin implements ApiSavePlugin {
|
|||
reqDatum.put("tqq9_ypzs", "MBYPLY");
|
||||
}
|
||||
//泛微审批状体
|
||||
reqDatum.put("tqq9_fwstate", "已审核");
|
||||
reqDatum.put("tqq9_fwstate", "C");
|
||||
|
||||
//处理收货地址长度
|
||||
String tqq9_lshxx_tag = (String) reqDatum.get("tqq9_lshxx_tag");
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ public class PurOrderChangeBillDefaultValePlugin extends AbstractBillPlugIn {
|
|||
super.afterBindData(e);
|
||||
String tqq9_fwstate = (String) this.getModel().getValue("tqq9_fwstate");
|
||||
if(StringUtils.isBlank(tqq9_fwstate)){
|
||||
this.getModel().setValue("tqq9_fwstate", "待提交");//待提交
|
||||
this.getModel().setValue("tqq9_fwstate", "A");//待提交
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,12 +35,12 @@ public class PayApplySubmitToFwOp extends AbstractOperationServicePlugIn {
|
|||
if(data != null){
|
||||
String requestid = data.getString("requestid");
|
||||
bill.set("tqq9_fwrequestid", requestid);
|
||||
bill.set("tqq9_fwstate", "待审核");
|
||||
bill.set("tqq9_fwstate", "B");
|
||||
SaveServiceHelper.save(new DynamicObject[]{bill});
|
||||
}
|
||||
String tqq9_fwrequestid = bill.getString("tqq9_fwrequestid");
|
||||
if (StringUtils.isNotBlank(tqq9_fwrequestid)) {//驳回后提交修改泛微审批状态
|
||||
bill.set("tqq9_fwstate", "待审核");
|
||||
bill.set("tqq9_fwstate", "B");
|
||||
SaveServiceHelper.save(new DynamicObject[]{bill});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,12 +46,12 @@ public class PurconmSubmitToFwOp extends AbstractOperationServicePlugIn {
|
|||
if(data != null){
|
||||
String requestid = data.getString("requestid");
|
||||
bill.set("tqq9_fwrequestid", requestid);
|
||||
bill.set("tqq9_fwstate", "待审核");
|
||||
bill.set("tqq9_fwstate", "B");
|
||||
SaveServiceHelper.save(new DynamicObject[]{bill});
|
||||
}
|
||||
String tqq9_fwrequestid = bill.getString("tqq9_fwrequestid");
|
||||
if (StringUtils.isNotBlank(tqq9_fwrequestid)) {//驳回后提交修改泛微审批状态
|
||||
bill.set("tqq9_fwstate", "待审核");
|
||||
bill.set("tqq9_fwstate", "B");
|
||||
SaveServiceHelper.save(new DynamicObject[]{bill});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,12 +36,12 @@ public class ImInvCountBillSubmitToFwOp extends AbstractOperationServicePlugIn {
|
|||
if (data != null) {
|
||||
String requestid = data.getString("requestid");
|
||||
bill.set("tqq9_fwrequestid", requestid);
|
||||
bill.set("tqq9_fwstate", "待审核");
|
||||
bill.set("tqq9_fwstate", "B");
|
||||
SaveServiceHelper.save(new DynamicObject[]{bill});
|
||||
}
|
||||
String tqq9_fwrequestid = bill.getString("tqq9_fwrequestid");
|
||||
if (StringUtils.isNotBlank(tqq9_fwrequestid)) {//驳回后提交修改泛微审批状态
|
||||
bill.set("tqq9_fwstate", "待审核");
|
||||
bill.set("tqq9_fwstate", "B");
|
||||
SaveServiceHelper.save(new DynamicObject[]{bill});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,12 +41,12 @@ public class OtherInApplySubmitToFwOp extends AbstractOperationServicePlugIn {
|
|||
if (data != null) {
|
||||
String requestid = data.getString("requestid");
|
||||
bill.set("tqq9_fwrequestid", requestid);
|
||||
bill.set("tqq9_fwstate", "待审核");
|
||||
bill.set("tqq9_fwstate", "B");
|
||||
SaveServiceHelper.save(new DynamicObject[]{bill});
|
||||
}
|
||||
String tqq9_fwrequestid = bill.getString("tqq9_fwrequestid");
|
||||
if (StringUtils.isNotBlank(tqq9_fwrequestid)) {//驳回后提交修改泛微审批状态
|
||||
bill.set("tqq9_fwstate", "待审核");
|
||||
bill.set("tqq9_fwstate", "B");
|
||||
SaveServiceHelper.save(new DynamicObject[]{bill});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,12 +42,12 @@ public class OtherInSubmitToFwOp extends AbstractOperationServicePlugIn {
|
|||
if (data != null) {
|
||||
String requestid = data.getString("requestid");
|
||||
bill.set("tqq9_fwrequestid", requestid);
|
||||
bill.set("tqq9_fwstate", "待审核");
|
||||
bill.set("tqq9_fwstate", "B");
|
||||
SaveServiceHelper.save(new DynamicObject[]{bill});
|
||||
}
|
||||
String tqq9_fwrequestid = bill.getString("tqq9_fwrequestid");
|
||||
if (StringUtils.isNotBlank(tqq9_fwrequestid)) {//驳回后提交修改泛微审批状态
|
||||
bill.set("tqq9_fwstate", "待审核");
|
||||
bill.set("tqq9_fwstate", "B");
|
||||
SaveServiceHelper.save(new DynamicObject[]{bill});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,12 +42,12 @@ public class OtherOutApplySubmitToFwOp extends AbstractOperationServicePlugIn {
|
|||
if(data != null){
|
||||
String requestid = data.getString("requestid");
|
||||
bill.set("tqq9_fwrequestid", requestid);
|
||||
bill.set("tqq9_fwstate", "待审核");
|
||||
bill.set("tqq9_fwstate", "B");
|
||||
SaveServiceHelper.save(new DynamicObject[]{bill});
|
||||
}
|
||||
String tqq9_fwrequestid = bill.getString("tqq9_fwrequestid");
|
||||
if (StringUtils.isNotBlank(tqq9_fwrequestid)) {//驳回后提交修改泛微审批状态
|
||||
bill.set("tqq9_fwstate", "待审核");
|
||||
bill.set("tqq9_fwstate", "B");
|
||||
SaveServiceHelper.save(new DynamicObject[]{bill});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,12 +43,12 @@ public class OtherOutSubmitToFwOp extends AbstractOperationServicePlugIn {
|
|||
if(data != null){
|
||||
String requestid = data.getString("requestid");
|
||||
bill.set("tqq9_fwrequestid", requestid);
|
||||
bill.set("tqq9_fwstate", "待审核");
|
||||
bill.set("tqq9_fwstate", "B");
|
||||
SaveServiceHelper.save(new DynamicObject[]{bill});
|
||||
}
|
||||
String tqq9_fwrequestid = bill.getString("tqq9_fwrequestid");
|
||||
if (StringUtils.isNotBlank(tqq9_fwrequestid)) {//驳回后提交修改泛微审批状态
|
||||
bill.set("tqq9_fwstate", "待审核");
|
||||
bill.set("tqq9_fwstate", "B");
|
||||
SaveServiceHelper.save(new DynamicObject[]{bill});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,12 +32,12 @@ public class ShortageBillSubmitToFwOp extends AbstractOperationServicePlugIn imp
|
|||
if(data != null){
|
||||
String requestid = data.getString("requestid");
|
||||
bill.set("tqq9_fwrequestid", requestid);
|
||||
bill.set("tqq9_fwstate", "待审核");
|
||||
bill.set("tqq9_fwstate", "B");
|
||||
SaveServiceHelper.save(new DynamicObject[]{bill});
|
||||
}
|
||||
String tqq9_fwrequestid = bill.getString("tqq9_fwrequestid");
|
||||
if (StringUtils.isNotBlank(tqq9_fwrequestid)) {//驳回后提交修改泛微审批状态
|
||||
bill.set("tqq9_fwstate", "待审核");
|
||||
bill.set("tqq9_fwstate", "B");
|
||||
SaveServiceHelper.save(new DynamicObject[]{bill});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,12 +35,12 @@ public class PurApplySubmitToFwPlugin extends AbstractOperationServicePlugIn {
|
|||
if(data != null){
|
||||
String requestid = data.getString("requestid");
|
||||
bill.set("tqq9_fwrequestid", requestid);
|
||||
bill.set("tqq9_fwstate", "待审核");
|
||||
bill.set("tqq9_fwstate", "B");
|
||||
SaveServiceHelper.save(new DynamicObject[]{bill});
|
||||
}
|
||||
String tqq9_fwrequestid = bill.getString("tqq9_fwrequestid");
|
||||
if (StringUtils.isNotBlank(tqq9_fwrequestid)) {//驳回后提交修改泛微审批状态
|
||||
bill.set("tqq9_fwstate", "待审核");
|
||||
bill.set("tqq9_fwstate", "B");
|
||||
SaveServiceHelper.save(new DynamicObject[]{bill});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -53,12 +53,12 @@ public class PurOrderSubmitOp extends AbstractOperationServicePlugIn {
|
|||
if(data != null){
|
||||
String requestid = data.getString("requestid");
|
||||
bill.set("tqq9_fwrequestid", requestid);
|
||||
bill.set("tqq9_fwstate", "待审核");
|
||||
bill.set("tqq9_fwstate", "B");
|
||||
SaveServiceHelper.save(new DynamicObject[]{bill});
|
||||
}
|
||||
String tqq9_fwrequestid = bill.getString("tqq9_fwrequestid");
|
||||
if (StringUtils.isNotBlank(tqq9_fwrequestid)) {//驳回后提交修改泛微审批状态
|
||||
bill.set("tqq9_fwstate", "待审核");
|
||||
bill.set("tqq9_fwstate", "B");
|
||||
SaveServiceHelper.save(new DynamicObject[]{bill});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,12 +34,12 @@ public class PurrefundApplySubmitToFwOp extends AbstractOperationServicePlugIn {
|
|||
if(data != null){
|
||||
String requestid = data.getString("requestid");
|
||||
bill.set("tqq9_fwrequestid", requestid);
|
||||
bill.set("tqq9_fwstate", "待审核");
|
||||
bill.set("tqq9_fwstate", "B");
|
||||
SaveServiceHelper.save(new DynamicObject[]{bill});
|
||||
}
|
||||
String tqq9_fwrequestid = bill.getString("tqq9_fwrequestid");
|
||||
if (StringUtils.isNotBlank(tqq9_fwrequestid)) {//驳回后提交修改泛微审批状态
|
||||
bill.set("tqq9_fwstate", "待审核");
|
||||
bill.set("tqq9_fwstate", "B");
|
||||
SaveServiceHelper.save(new DynamicObject[]{bill});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,12 +46,12 @@ public class SupplierSubmitToFwOp extends AbstractOperationServicePlugIn {
|
|||
} else {
|
||||
bill.set("tqq9_fwrequestid", requestid);
|
||||
}
|
||||
bill.set("tqq9_fwstate", "待审核");
|
||||
bill.set("tqq9_fwstate", "B");
|
||||
SaveServiceHelper.save(new DynamicObject[]{bill});
|
||||
}
|
||||
String tqq9_fwrequestid = bill.getString("tqq9_fwrequestid");
|
||||
if (StringUtils.isNotBlank(tqq9_fwrequestid)) {//驳回后提交修改泛微审批状态
|
||||
bill.set("tqq9_fwstate", "待审核");
|
||||
bill.set("tqq9_fwstate", "B");
|
||||
SaveServiceHelper.save(new DynamicObject[]{bill});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue