
110 changed files with 2028 additions and 2060 deletions
@ -0,0 +1,53 @@ |
|||
package com.yxt.anrui.fin.api.fincollectionconfirmation; |
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
@Data |
|||
public class AppFinCollectionConfirmationDetailedVo implements Vo { |
|||
|
|||
|
|||
private static final long serialVersionUID = 1283485126933789095L; |
|||
|
|||
@ApiModelProperty("收款银行") |
|||
private String collectionBank; |
|||
|
|||
@ApiModelProperty("款项明细-合同") |
|||
private List<AppFinSelectedReceivablesPaymentDetailsVo> contractList = new ArrayList<>(); |
|||
|
|||
@ApiModelProperty("汇款确认") |
|||
private List<String> images = new ArrayList<>(); |
|||
|
|||
@ApiModelProperty("付款金额") |
|||
private String paymentMoney; |
|||
|
|||
@ApiModelProperty("收款时间") |
|||
private String collectionDate; |
|||
|
|||
@ApiModelProperty("付款名称") |
|||
private String paymentName; |
|||
|
|||
@ApiModelProperty("收款账号") |
|||
private String collectionNum; |
|||
|
|||
@ApiModelProperty("收款申请状态") |
|||
private String collectionBillState; |
|||
|
|||
@ApiModelProperty("打款凭证") |
|||
private List<String> payFiles = new ArrayList<>(); |
|||
|
|||
@ApiModelProperty("打款凭证Url") |
|||
private String paymentVoucherUrl; |
|||
|
|||
@ApiModelProperty("备注") |
|||
private String remarks; |
|||
|
|||
@ApiModelProperty("收款方式") |
|||
private String collectionType; |
|||
|
|||
|
|||
} |
@ -1,20 +0,0 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.appayable.kingdeedata; |
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
/** |
|||
* Auto-generated: 2022-07-19 8:42:28 |
|||
* |
|||
* @author www.jsons.cn |
|||
* @website http://www.jsons.cn/json2java/
|
|||
*/ |
|||
public class FPmzcAssistant { |
|||
|
|||
@JSONField(alternateNames = "FNumber") |
|||
private String fnumber; |
|||
public void setFnumber(String fnumber) { |
|||
this.fnumber = fnumber; |
|||
} |
|||
public String getFnumber() { |
|||
return fnumber; |
|||
} |
|||
|
|||
} |
@ -1,22 +0,0 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.appayable.kingdeedata; |
|||
|
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
|
|||
/** |
|||
* Auto-generated: 2022-07-19 8:42:28 |
|||
* |
|||
* @author www.jsons.cn |
|||
* @website http://www.jsons.cn/json2java/
|
|||
*/ |
|||
public class FPmzcAssistant1 { |
|||
|
|||
@JSONField(alternateNames ="FNumber") |
|||
private String fnumber; |
|||
public void setFnumber(String fnumber) { |
|||
this.fnumber = fnumber; |
|||
} |
|||
public String getFnumber() { |
|||
return fnumber; |
|||
} |
|||
|
|||
} |
@ -1,22 +0,0 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.appayable.kingdeedata; |
|||
|
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
|
|||
/** |
|||
* Auto-generated: 2022-07-19 8:42:28 |
|||
* |
|||
* @author www.jsons.cn |
|||
* @website http://www.jsons.cn/json2java/
|
|||
*/ |
|||
public class FPmzcBase { |
|||
|
|||
@JSONField(alternateNames ="FNUMBER") |
|||
private String fnumber; |
|||
public void setFnumber(String fnumber) { |
|||
this.fnumber = fnumber; |
|||
} |
|||
public String getFnumber() { |
|||
return fnumber; |
|||
} |
|||
|
|||
} |
@ -1,20 +0,0 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.appayable.kingdeedata; |
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
/** |
|||
* Auto-generated: 2022-07-19 8:42:28 |
|||
* |
|||
* @author www.jsons.cn |
|||
* @website http://www.jsons.cn/json2java/
|
|||
*/ |
|||
public class FPmzcBase1 { |
|||
|
|||
@JSONField(alternateNames ="FNUMBER") |
|||
private String fnumber; |
|||
public void setFnumber(String fnumber) { |
|||
this.fnumber = fnumber; |
|||
} |
|||
public String getFnumber() { |
|||
return fnumber; |
|||
} |
|||
|
|||
} |
@ -1,22 +0,0 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.appayable.kingdeedata; |
|||
|
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
|
|||
/** |
|||
* Auto-generated: 2022-07-19 8:42:28 |
|||
* 采购部门:FPURCHASEDEPTID (必填项) |
|||
* @author www.jsons.cn |
|||
* @website http://www.jsons.cn/json2java/
|
|||
*/ |
|||
public class Fpurchasedeptid { |
|||
|
|||
@JSONField(alternateNames ="FNumber") |
|||
private String fnumber; |
|||
public void setFnumber(String fnumber) { |
|||
this.fnumber = fnumber; |
|||
} |
|||
public String getFnumber() { |
|||
return fnumber; |
|||
} |
|||
|
|||
} |
@ -1,22 +0,0 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.appayable.kingdeedata; |
|||
|
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
|
|||
/** |
|||
* Auto-generated: 2022-07-19 8:42:28 |
|||
* 供应商:FSUPPLIERID (必填项) |
|||
* @author www.jsons.cn |
|||
* @website http://www.jsons.cn/json2java/
|
|||
*/ |
|||
public class Fsupplierid { |
|||
|
|||
@JSONField(alternateNames ="FNumber") |
|||
private String fnumber; |
|||
public void setFnumber(String fnumber) { |
|||
this.fnumber = fnumber; |
|||
} |
|||
public String getFnumber() { |
|||
return fnumber; |
|||
} |
|||
|
|||
} |
@ -1,369 +0,0 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.appayable.kingdeedata; |
|||
import java.util.List; |
|||
|
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
import com.yxt.anrui.fin.api.kingdee.kingdeedata.*; |
|||
|
|||
/** |
|||
* Auto-generated: 2022-07-19 8:42:28 |
|||
* 单据类型:FBillTypeID (必填项) |
|||
* @author www.jsons.cn |
|||
* @website http://www.jsons.cn/json2java/
|
|||
*/ |
|||
public class Model { |
|||
@JSONField(alternateNames ="FID") |
|||
private int fid; |
|||
/** |
|||
* 单据类型:FBillTypeID (必填项) |
|||
*/ |
|||
@JSONField(alternateNames ="FBillTypeID") |
|||
private Fbilltypeid fbilltypeid; |
|||
/** |
|||
* 单据编号:FBillNo |
|||
*/ |
|||
@JSONField(alternateNames ="FBillNo") |
|||
private String fbillno; |
|||
/** |
|||
* 是否期初单据:FISINIT |
|||
*/ |
|||
@JSONField(alternateNames ="FISINIT") |
|||
private boolean fisinit; |
|||
/** |
|||
* 业务日期:FDATE (必填项) |
|||
*/ |
|||
@JSONField(alternateNames ="FDATE") |
|||
private String fdate; |
|||
/** |
|||
* 到期日:FENDDATE_H |
|||
*/ |
|||
@JSONField(alternateNames ="FENDDATE_H") |
|||
private String fenddateH; |
|||
/** |
|||
* 单据状态:FDOCUMENTSTATUS (必填项) |
|||
*/ |
|||
@JSONField(alternateNames ="FDOCUMENTSTATUS") |
|||
private String fdocumentstatus; |
|||
/** |
|||
* 供应商:FSUPPLIERID (必填项) |
|||
*/ |
|||
@JSONField(alternateNames ="FSUPPLIERID") |
|||
private Fsupplierid fsupplierid; |
|||
/** |
|||
* 币别:FCURRENCYID (必填项) |
|||
*/ |
|||
@JSONField(alternateNames ="FCURRENCYID") |
|||
private Fcurrencyid fcurrencyid; |
|||
/** |
|||
* 付款条件:FPayConditon |
|||
*/ |
|||
@JSONField(alternateNames ="FPayConditon") |
|||
private Fpayconditon fpayconditon; |
|||
/** |
|||
* 价外税:FISPRICEEXCLUDETAX |
|||
*/ |
|||
@JSONField(alternateNames ="FISPRICEEXCLUDETAX") |
|||
private boolean fispriceexcludetax; |
|||
/** |
|||
* 业务类型:FBUSINESSTYPE (必填项) |
|||
*/ |
|||
@JSONField(alternateNames ="FBUSINESSTYPE") |
|||
private String fbusinesstype; |
|||
/** |
|||
* 按含税单价录入:FISTAX |
|||
*/ |
|||
@JSONField(alternateNames ="FISTAX") |
|||
private boolean fistax; |
|||
/** |
|||
* 结算组织:FSETTLEORGID (必填项) |
|||
*/ |
|||
@JSONField(alternateNames ="FSETTLEORGID") |
|||
private Fsettleorgid fsettleorgid; |
|||
/** |
|||
* 付款组织:FPAYORGID (必填项) |
|||
*/ |
|||
@JSONField(alternateNames ="FPAYORGID") |
|||
private Fpayorgid fpayorgid; |
|||
/** |
|||
* 立账类型:FSetAccountType |
|||
*/ |
|||
@JSONField(alternateNames ="FSetAccountType") |
|||
private String fsetaccounttype; |
|||
/** |
|||
*税额计入成本:FISTAXINCOST |
|||
*/ |
|||
@JSONField(alternateNames ="FISTAXINCOST") |
|||
private boolean fistaxincost; |
|||
/** |
|||
* 备注:FAP_Remark |
|||
*/ |
|||
@JSONField(alternateNames ="FAP_Remark") |
|||
private String fapRemark; |
|||
/** |
|||
* 参与暂估应付核销:FISHookMatch |
|||
*/ |
|||
@JSONField(alternateNames ="FISHookMatch") |
|||
private boolean fishookmatch; |
|||
/** |
|||
*采购部门:FPURCHASEDEPTID (必填项) |
|||
*/ |
|||
@JSONField(alternateNames ="FPURCHASEDEPTID") |
|||
private Fpurchasedeptid fpurchasedeptid; |
|||
/** |
|||
* 作废状态:FCancelStatus (必填项) |
|||
*/ |
|||
@JSONField(alternateNames ="FCancelStatus") |
|||
private String fcancelstatus; |
|||
/** |
|||
*是发票审核自动生成:FISBYIV |
|||
*/ |
|||
@JSONField(alternateNames ="FISBYIV") |
|||
private boolean fisbyiv; |
|||
/** |
|||
* 是否需要成本调整:FISGENHSADJ |
|||
*/ |
|||
@JSONField(alternateNames ="FISGENHSADJ") |
|||
private boolean fisgenhsadj; |
|||
/** |
|||
* 先到票后入库:FISINVOICEARLIER |
|||
*/ |
|||
@JSONField(alternateNames ="FISINVOICEARLIER") |
|||
private boolean fisinvoicearlier; |
|||
/** |
|||
* 发票号码:F_PAEZ_Text |
|||
*/ |
|||
@JSONField(alternateNames ="F_PAEZ_Text") |
|||
private String fPaezText; |
|||
/** |
|||
* 项目类别:F_PMZC_Assistant1 |
|||
*/ |
|||
@JSONField(alternateNames ="F_PMZC_Assistant1") |
|||
private FPmzcAssistant1 fPmzcAssistant1; |
|||
/** |
|||
* |
|||
*/ |
|||
@JSONField(alternateNames ="FsubHeadSuppiler") |
|||
private Fsubheadsuppiler fsubheadsuppiler; |
|||
/** |
|||
* |
|||
*/ |
|||
@JSONField(alternateNames ="FsubHeadFinc") |
|||
private Fsubheadfinc fsubheadfinc; |
|||
@JSONField(alternateNames ="FEntityDetail") |
|||
private List<Fentitydetail> fentitydetail; |
|||
/** |
|||
* |
|||
*/ |
|||
@JSONField(alternateNames ="FEntityPlan") |
|||
private List<Fentityplan> fentityplan; |
|||
|
|||
public void setFid(int fid) { |
|||
this.fid = fid; |
|||
} |
|||
public int getFid() { |
|||
return fid; |
|||
} |
|||
|
|||
public void setFbilltypeid(Fbilltypeid fbilltypeid) { |
|||
this.fbilltypeid = fbilltypeid; |
|||
} |
|||
public Fbilltypeid getFbilltypeid() { |
|||
return fbilltypeid; |
|||
} |
|||
|
|||
public void setFbillno(String fbillno) { |
|||
this.fbillno = fbillno; |
|||
} |
|||
public String getFbillno() { |
|||
return fbillno; |
|||
} |
|||
|
|||
public void setFisinit(boolean fisinit) { |
|||
this.fisinit = fisinit; |
|||
} |
|||
public boolean getFisinit() { |
|||
return fisinit; |
|||
} |
|||
|
|||
public void setFdate(String fdate) { |
|||
this.fdate = fdate; |
|||
} |
|||
public String getFdate() { |
|||
return fdate; |
|||
} |
|||
|
|||
public void setFenddateH(String fenddateH) { |
|||
this.fenddateH = fenddateH; |
|||
} |
|||
public String getFenddateH() { |
|||
return fenddateH; |
|||
} |
|||
|
|||
public void setFdocumentstatus(String fdocumentstatus) { |
|||
this.fdocumentstatus = fdocumentstatus; |
|||
} |
|||
public String getFdocumentstatus() { |
|||
return fdocumentstatus; |
|||
} |
|||
|
|||
public void setFsupplierid(Fsupplierid fsupplierid) { |
|||
this.fsupplierid = fsupplierid; |
|||
} |
|||
public Fsupplierid getFsupplierid() { |
|||
return fsupplierid; |
|||
} |
|||
|
|||
public void setFcurrencyid(Fcurrencyid fcurrencyid) { |
|||
this.fcurrencyid = fcurrencyid; |
|||
} |
|||
public Fcurrencyid getFcurrencyid() { |
|||
return fcurrencyid; |
|||
} |
|||
|
|||
public void setFpayconditon(Fpayconditon fpayconditon) { |
|||
this.fpayconditon = fpayconditon; |
|||
} |
|||
public Fpayconditon getFpayconditon() { |
|||
return fpayconditon; |
|||
} |
|||
|
|||
public void setFispriceexcludetax(boolean fispriceexcludetax) { |
|||
this.fispriceexcludetax = fispriceexcludetax; |
|||
} |
|||
public boolean getFispriceexcludetax() { |
|||
return fispriceexcludetax; |
|||
} |
|||
|
|||
public void setFbusinesstype(String fbusinesstype) { |
|||
this.fbusinesstype = fbusinesstype; |
|||
} |
|||
public String getFbusinesstype() { |
|||
return fbusinesstype; |
|||
} |
|||
|
|||
public void setFistax(boolean fistax) { |
|||
this.fistax = fistax; |
|||
} |
|||
public boolean getFistax() { |
|||
return fistax; |
|||
} |
|||
|
|||
public void setFsettleorgid(Fsettleorgid fsettleorgid) { |
|||
this.fsettleorgid = fsettleorgid; |
|||
} |
|||
public Fsettleorgid getFsettleorgid() { |
|||
return fsettleorgid; |
|||
} |
|||
|
|||
public void setFpayorgid(Fpayorgid fpayorgid) { |
|||
this.fpayorgid = fpayorgid; |
|||
} |
|||
public Fpayorgid getFpayorgid() { |
|||
return fpayorgid; |
|||
} |
|||
|
|||
public void setFsetaccounttype(String fsetaccounttype) { |
|||
this.fsetaccounttype = fsetaccounttype; |
|||
} |
|||
public String getFsetaccounttype() { |
|||
return fsetaccounttype; |
|||
} |
|||
|
|||
public void setFistaxincost(boolean fistaxincost) { |
|||
this.fistaxincost = fistaxincost; |
|||
} |
|||
public boolean getFistaxincost() { |
|||
return fistaxincost; |
|||
} |
|||
|
|||
public void setFapRemark(String fapRemark) { |
|||
this.fapRemark = fapRemark; |
|||
} |
|||
public String getFapRemark() { |
|||
return fapRemark; |
|||
} |
|||
|
|||
public void setFishookmatch(boolean fishookmatch) { |
|||
this.fishookmatch = fishookmatch; |
|||
} |
|||
public boolean getFishookmatch() { |
|||
return fishookmatch; |
|||
} |
|||
|
|||
public void setFpurchasedeptid(Fpurchasedeptid fpurchasedeptid) { |
|||
this.fpurchasedeptid = fpurchasedeptid; |
|||
} |
|||
public Fpurchasedeptid getFpurchasedeptid() { |
|||
return fpurchasedeptid; |
|||
} |
|||
|
|||
public void setFcancelstatus(String fcancelstatus) { |
|||
this.fcancelstatus = fcancelstatus; |
|||
} |
|||
public String getFcancelstatus() { |
|||
return fcancelstatus; |
|||
} |
|||
|
|||
public void setFisbyiv(boolean fisbyiv) { |
|||
this.fisbyiv = fisbyiv; |
|||
} |
|||
public boolean getFisbyiv() { |
|||
return fisbyiv; |
|||
} |
|||
|
|||
public void setFisgenhsadj(boolean fisgenhsadj) { |
|||
this.fisgenhsadj = fisgenhsadj; |
|||
} |
|||
public boolean getFisgenhsadj() { |
|||
return fisgenhsadj; |
|||
} |
|||
|
|||
public void setFisinvoicearlier(boolean fisinvoicearlier) { |
|||
this.fisinvoicearlier = fisinvoicearlier; |
|||
} |
|||
public boolean getFisinvoicearlier() { |
|||
return fisinvoicearlier; |
|||
} |
|||
|
|||
public void setFPaezText(String fPaezText) { |
|||
this.fPaezText = fPaezText; |
|||
} |
|||
public String getFPaezText() { |
|||
return fPaezText; |
|||
} |
|||
|
|||
public void setFPmzcAssistant1(FPmzcAssistant1 fPmzcAssistant1) { |
|||
this.fPmzcAssistant1 = fPmzcAssistant1; |
|||
} |
|||
public FPmzcAssistant1 getFPmzcAssistant1() { |
|||
return fPmzcAssistant1; |
|||
} |
|||
|
|||
public void setFsubheadsuppiler(Fsubheadsuppiler fsubheadsuppiler) { |
|||
this.fsubheadsuppiler = fsubheadsuppiler; |
|||
} |
|||
public Fsubheadsuppiler getFsubheadsuppiler() { |
|||
return fsubheadsuppiler; |
|||
} |
|||
|
|||
public void setFsubheadfinc(Fsubheadfinc fsubheadfinc) { |
|||
this.fsubheadfinc = fsubheadfinc; |
|||
} |
|||
public Fsubheadfinc getFsubheadfinc() { |
|||
return fsubheadfinc; |
|||
} |
|||
|
|||
public void setFentitydetail(List<Fentitydetail> fentitydetail) { |
|||
this.fentitydetail = fentitydetail; |
|||
} |
|||
public List<Fentitydetail> getFentitydetail() { |
|||
return fentitydetail; |
|||
} |
|||
|
|||
public void setFentityplan(List<Fentityplan> fentityplan) { |
|||
this.fentityplan = fentityplan; |
|||
} |
|||
public List<Fentityplan> getFentityplan() { |
|||
return fentityplan; |
|||
} |
|||
|
|||
} |
@ -1,126 +0,0 @@ |
|||
{ |
|||
"Creator":"@KD_Creator", |
|||
"NeedUpDateFields":[], |
|||
"NeedReturnFields":[], |
|||
"IsDeleteEntry":"True", |
|||
"SubSystemId":"", |
|||
"IsVerifyBaseDataField":"false", |
|||
"IsEntryBatchFill":"True", |
|||
"ValidateFlag":"True", |
|||
"NumberSearch":"True", |
|||
"InterationFlags":"", |
|||
"Model":{ |
|||
"FID":0, |
|||
"FBillTypeID":{ |
|||
"FNUMBER":"YFD01_SYS" |
|||
}, |
|||
"FBillNo":"123123", |
|||
"FISINIT":false, |
|||
"FDATE":"2022-07-1800:00:00", |
|||
"FENDDATE_H":"2022-07-1800:00:00", |
|||
"FDOCUMENTSTATUS":"Z", |
|||
"FSUPPLIERID":{ |
|||
"FNumber":"010001" |
|||
}, |
|||
"FCURRENCYID":{ |
|||
"FNumber":"PRE001" |
|||
}, |
|||
"FPayConditon":{ |
|||
"FNumber":"FKTJ01_SYS" |
|||
}, |
|||
"FISPRICEEXCLUDETAX":true, |
|||
"FBUSINESSTYPE":"CG", |
|||
"FISTAX":true, |
|||
"FSETTLEORGID":{ |
|||
"FNumber":"101" |
|||
}, |
|||
"FPAYORGID":{ |
|||
"FNumber":"101" |
|||
}, |
|||
"FSetAccountType":"2", |
|||
"FISTAXINCOST":false, |
|||
"FAP_Remark":"1231", |
|||
"FISHookMatch":false, |
|||
"FPURCHASEDEPTID":{ |
|||
"FNumber":"01" |
|||
}, |
|||
"FCancelStatus":"A", |
|||
"FISBYIV":false, |
|||
"FISGENHSADJ":false, |
|||
"FISINVOICEARLIER":false, |
|||
"F_PAEZ_Text":"231231231231", |
|||
"F_PMZC_Assistant1":{ |
|||
"FNumber":"00" |
|||
}, |
|||
"FsubHeadSuppiler":{ |
|||
"FORDERID":{ |
|||
"FNumber":"010001" |
|||
}, |
|||
"FTRANSFERID":{ |
|||
"FNumber":"010001" |
|||
}, |
|||
"FChargeId":{ |
|||
"FNumber":"010001" |
|||
} |
|||
}, |
|||
"FsubHeadFinc":{ |
|||
"FACCNTTIMEJUDGETIME":"2022-07-1800:00:00", |
|||
"FMAINBOOKSTDCURRID":{ |
|||
"FNumber":"PRE001" |
|||
}, |
|||
"FEXCHANGETYPE":{ |
|||
"FNumber":"HLTX01_SYS" |
|||
}, |
|||
"FExchangeRate":1.0, |
|||
"FTaxAmountFor":0.98, |
|||
"FNoTaxAmountFor":98.02 |
|||
}, |
|||
"FEntityDetail":[ |
|||
{ |
|||
"FMATERIALID":{ |
|||
"FNumber":"&12" |
|||
}, |
|||
"FMaterialDesc":"@KD_FMaterialDesc", |
|||
"FPRICEUNITID":{ |
|||
"FNumber":"ba" |
|||
}, |
|||
"FPrice":99.01, |
|||
"FPriceQty":1.0, |
|||
"FTaxPrice":100.0, |
|||
"FPriceWithTax":99.0, |
|||
"FEntryTaxRate":1.0, |
|||
"F_PMZC_Assistant":{ |
|||
"FNumber":"1904110789" |
|||
}, |
|||
"F_PMZC_Base":{ |
|||
"FNUMBER":"0001F" |
|||
}, |
|||
"F_PMZC_Base1":{ |
|||
"FNUMBER":"01.001" |
|||
}, |
|||
"FEntryDiscountRate":1.0, |
|||
"FDISCOUNTAMOUNTFOR":1.0, |
|||
"FNoTaxAmountFor_D":98.02, |
|||
"FTAXAMOUNTFOR_D":0.98, |
|||
"FALLAMOUNTFOR_D":99.0, |
|||
"FINCLUDECOST":false, |
|||
"FISOUTSTOCK":false, |
|||
"FIsFree":false, |
|||
"FStockUnitId":{ |
|||
"FNumber":"ba" |
|||
}, |
|||
"FStockQty":1.0, |
|||
"FStockBaseQty":1.0, |
|||
"FPriceBaseDen":1.0, |
|||
"FStockBaseNum":1.0 |
|||
} |
|||
], |
|||
"FEntityPlan":[ |
|||
{ |
|||
"FENDDATE":"2022-07-1800:00:00", |
|||
"FPAYAMOUNTFOR":99.0, |
|||
"FPAYRATE":100.0 |
|||
} |
|||
] |
|||
} |
|||
} |
@ -1,147 +0,0 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.kingdeedata; |
|||
import java.util.List; |
|||
|
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
import com.yxt.anrui.fin.api.kingdee.appayable.kingdeedata.Model; |
|||
|
|||
/** |
|||
* Auto-generated: 2022-07-19 8:42:28 |
|||
* Json格式数据(详情参考Json格式数据)(必录) |
|||
* @author www.jsons.cn |
|||
* @website http://www.jsons.cn/json2java/
|
|||
*/ |
|||
public class Data { |
|||
/** |
|||
* Creator:创建者内码(非必录) |
|||
*/ |
|||
@JSONField(alternateNames ="Creator") |
|||
private String creator; |
|||
/** |
|||
* NeedUpDateFields:需要更新的字段,数组类型,格式:[key1,key2,...](非必录),注(更新单据体字段得加上单据体key) |
|||
*/ |
|||
@JSONField(alternateNames ="NeedUpDateFields") |
|||
private List<String> needupdatefields; |
|||
/** |
|||
* NeedReturnFields:需返回结果的字段集合,数组类型,格式:[key,entitykey.key,...](非必录),注(返回单据体字段格式:entitykey.key) |
|||
*/ |
|||
@JSONField(alternateNames ="NeedReturnFields") |
|||
private List<String> needreturnfields; |
|||
/** |
|||
* IsDeleteEntry:是否删除已存在的分录,布尔类型,默认true(非必录) |
|||
*/ |
|||
@JSONField(alternateNames ="IsDeleteEntry") |
|||
private String isdeleteentry; |
|||
/** |
|||
* SubSystemId:表单所在的子系统内码,字符串类型(非必录) |
|||
*/ |
|||
@JSONField(alternateNames ="SubSystemId") |
|||
private String subsystemid; |
|||
/** |
|||
* IsVerifyBaseDataField:是否验证所有的基础资料有效性,布尔类,默认false(非必录) |
|||
*/ |
|||
@JSONField(alternateNames ="IsVerifyBaseDataField") |
|||
private String isverifybasedatafield; |
|||
/** |
|||
* IsEntryBatchFill:是否批量填充分录,默认true(非必录) |
|||
*/ |
|||
@JSONField(alternateNames ="IsEntryBatchFill") |
|||
private String isentrybatchfill; |
|||
/** |
|||
* ValidateFlag:是否验证标志,布尔类型,默认true(非必录) |
|||
*/ |
|||
@JSONField(alternateNames ="ValidateFlag") |
|||
private String validateflag; |
|||
/** |
|||
* 是否用编码搜索基础资料,布尔类型,默认true(非必录) |
|||
*/ |
|||
@JSONField(alternateNames ="NumberSearch") |
|||
private String numbersearch; |
|||
/** |
|||
* InterationFlags:交互标志集合,字符串类型,分号分隔,格式:"flag1;flag2;..."(非必录),例如(允许负库存标识:STK_InvCheckResult) |
|||
*/ |
|||
@JSONField(alternateNames ="InterationFlags") |
|||
private String interationflags; |
|||
/** |
|||
* Model:表单数据包,Json类型(必录) |
|||
*/ |
|||
@JSONField(alternateNames ="Model") |
|||
private Model model; |
|||
|
|||
public void setCreator(String creator) { |
|||
this.creator = creator; |
|||
} |
|||
public String getCreator() { |
|||
return creator; |
|||
} |
|||
|
|||
public void setNeedupdatefields(List<String> needupdatefields) { |
|||
this.needupdatefields = needupdatefields; |
|||
} |
|||
public List<String> getNeedupdatefields() { |
|||
return needupdatefields; |
|||
} |
|||
|
|||
public void setNeedreturnfields(List<String> needreturnfields) { |
|||
this.needreturnfields = needreturnfields; |
|||
} |
|||
public List<String> getNeedreturnfields() { |
|||
return needreturnfields; |
|||
} |
|||
|
|||
public void setIsdeleteentry(String isdeleteentry) { |
|||
this.isdeleteentry = isdeleteentry; |
|||
} |
|||
public String getIsdeleteentry() { |
|||
return isdeleteentry; |
|||
} |
|||
|
|||
public void setSubsystemid(String subsystemid) { |
|||
this.subsystemid = subsystemid; |
|||
} |
|||
public String getSubsystemid() { |
|||
return subsystemid; |
|||
} |
|||
|
|||
public void setIsverifybasedatafield(String isverifybasedatafield) { |
|||
this.isverifybasedatafield = isverifybasedatafield; |
|||
} |
|||
public String getIsverifybasedatafield() { |
|||
return isverifybasedatafield; |
|||
} |
|||
|
|||
public void setIsentrybatchfill(String isentrybatchfill) { |
|||
this.isentrybatchfill = isentrybatchfill; |
|||
} |
|||
public String getIsentrybatchfill() { |
|||
return isentrybatchfill; |
|||
} |
|||
|
|||
public void setValidateflag(String validateflag) { |
|||
this.validateflag = validateflag; |
|||
} |
|||
public String getValidateflag() { |
|||
return validateflag; |
|||
} |
|||
|
|||
public void setNumbersearch(String numbersearch) { |
|||
this.numbersearch = numbersearch; |
|||
} |
|||
public String getNumbersearch() { |
|||
return numbersearch; |
|||
} |
|||
|
|||
public void setInterationflags(String interationflags) { |
|||
this.interationflags = interationflags; |
|||
} |
|||
public String getInterationflags() { |
|||
return interationflags; |
|||
} |
|||
|
|||
public void setModel(Model model) { |
|||
this.model = model; |
|||
} |
|||
public Model getModel() { |
|||
return model; |
|||
} |
|||
|
|||
} |
@ -1,20 +0,0 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.kingdeedata; |
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
/** |
|||
* Auto-generated: 2022-07-19 8:42:28 |
|||
* 单据类型:FBillTypeID (必填项) |
|||
* @author www.jsons.cn |
|||
* @website http://www.jsons.cn/json2java/
|
|||
*/ |
|||
public class Fbilltypeid { |
|||
|
|||
@JSONField(alternateNames = "FNUMBER") |
|||
private String fnumber; |
|||
public void setFnumber(String fnumber) { |
|||
this.fnumber = fnumber; |
|||
} |
|||
public String getFnumber() { |
|||
return fnumber; |
|||
} |
|||
|
|||
} |
@ -1,20 +0,0 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.kingdeedata; |
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
/** |
|||
* Auto-generated: 2022-07-19 8:42:28 |
|||
* 收款方:FChargeId |
|||
* @author www.jsons.cn |
|||
* @website http://www.jsons.cn/json2java/
|
|||
*/ |
|||
public class Fchargeid { |
|||
|
|||
@JSONField(alternateNames ="FNumber") |
|||
private String fnumber; |
|||
public void setFnumber(String fnumber) { |
|||
this.fnumber = fnumber; |
|||
} |
|||
public String getFnumber() { |
|||
return fnumber; |
|||
} |
|||
|
|||
} |
@ -1,20 +0,0 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.kingdeedata; |
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
/** |
|||
* Auto-generated: 2022-07-19 8:42:28 |
|||
*币别:FCURRENCYID (必填项) |
|||
* @author www.jsons.cn |
|||
* @website http://www.jsons.cn/json2java/
|
|||
*/ |
|||
public class Fcurrencyid { |
|||
|
|||
@JSONField(alternateNames ="FNumber") |
|||
private String fnumber; |
|||
public void setFnumber(String fnumber) { |
|||
this.fnumber = fnumber; |
|||
} |
|||
public String getFnumber() { |
|||
return fnumber; |
|||
} |
|||
|
|||
} |
@ -1,229 +0,0 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.kingdeedata; |
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
import com.yxt.anrui.fin.api.kingdee.appayable.kingdeedata.*; |
|||
|
|||
/** |
|||
* Auto-generated: 2022-07-19 8:42:28 |
|||
* |
|||
* @author www.jsons.cn |
|||
* @website http://www.jsons.cn/json2java/
|
|||
*/ |
|||
public class Fentitydetail { |
|||
|
|||
@JSONField(alternateNames ="FMATERIALID") |
|||
private Fmaterialid fmaterialid; |
|||
@JSONField(alternateNames ="FMaterialDesc") |
|||
private String fmaterialdesc; |
|||
@JSONField(alternateNames ="FPRICEUNITID") |
|||
private Fpriceunitid fpriceunitid; |
|||
@JSONField(alternateNames ="FPrice") |
|||
private double fprice; |
|||
@JSONField(alternateNames ="FPriceQty") |
|||
private int fpriceqty; |
|||
@JSONField(alternateNames ="FTaxPrice") |
|||
private int ftaxprice; |
|||
@JSONField(alternateNames ="FPriceWithTax") |
|||
private int fpricewithtax; |
|||
@JSONField(alternateNames ="FEntryTaxRate") |
|||
private int fentrytaxrate; |
|||
@JSONField(alternateNames ="F_PMZC_Assistant") |
|||
private FPmzcAssistant fPmzcAssistant; |
|||
@JSONField(alternateNames ="F_PMZC_Base") |
|||
private FPmzcBase fPmzcBase; |
|||
@JSONField(alternateNames ="F_PMZC_Base1") |
|||
private FPmzcBase1 fPmzcBase1; |
|||
@JSONField(alternateNames ="FEntryDiscountRate") |
|||
private int fentrydiscountrate; |
|||
@JSONField(alternateNames ="FDISCOUNTAMOUNTFOR") |
|||
private int fdiscountamountfor; |
|||
@JSONField(alternateNames ="FNoTaxAmountFor_D") |
|||
private double fnotaxamountforD; |
|||
@JSONField(alternateNames ="FTAXAMOUNTFOR_D") |
|||
private double ftaxamountforD; |
|||
@JSONField(alternateNames ="FALLAMOUNTFOR_D") |
|||
private int fallamountforD; |
|||
@JSONField(alternateNames ="FINCLUDECOST") |
|||
private boolean fincludecost; |
|||
@JSONField(alternateNames ="FISOUTSTOCK") |
|||
private boolean fisoutstock; |
|||
@JSONField(alternateNames ="FIsFree") |
|||
private boolean fisfree; |
|||
@JSONField(alternateNames ="FStockUnitId") |
|||
private Fstockunitid fstockunitid; |
|||
@JSONField(alternateNames ="FStockQty") |
|||
private int fstockqty; |
|||
@JSONField(alternateNames ="FStockBaseQty") |
|||
private int fstockbaseqty; |
|||
@JSONField(alternateNames ="FPriceBaseDen") |
|||
private int fpricebaseden; |
|||
@JSONField(alternateNames ="FStockBaseNum") |
|||
private int fstockbasenum; |
|||
public void setFmaterialid(Fmaterialid fmaterialid) { |
|||
this.fmaterialid = fmaterialid; |
|||
} |
|||
public Fmaterialid getFmaterialid() { |
|||
return fmaterialid; |
|||
} |
|||
|
|||
public void setFmaterialdesc(String fmaterialdesc) { |
|||
this.fmaterialdesc = fmaterialdesc; |
|||
} |
|||
public String getFmaterialdesc() { |
|||
return fmaterialdesc; |
|||
} |
|||
|
|||
public void setFpriceunitid(Fpriceunitid fpriceunitid) { |
|||
this.fpriceunitid = fpriceunitid; |
|||
} |
|||
public Fpriceunitid getFpriceunitid() { |
|||
return fpriceunitid; |
|||
} |
|||
|
|||
public void setFprice(double fprice) { |
|||
this.fprice = fprice; |
|||
} |
|||
public double getFprice() { |
|||
return fprice; |
|||
} |
|||
|
|||
public void setFpriceqty(int fpriceqty) { |
|||
this.fpriceqty = fpriceqty; |
|||
} |
|||
public int getFpriceqty() { |
|||
return fpriceqty; |
|||
} |
|||
|
|||
public void setFtaxprice(int ftaxprice) { |
|||
this.ftaxprice = ftaxprice; |
|||
} |
|||
public int getFtaxprice() { |
|||
return ftaxprice; |
|||
} |
|||
|
|||
public void setFpricewithtax(int fpricewithtax) { |
|||
this.fpricewithtax = fpricewithtax; |
|||
} |
|||
public int getFpricewithtax() { |
|||
return fpricewithtax; |
|||
} |
|||
|
|||
public void setFentrytaxrate(int fentrytaxrate) { |
|||
this.fentrytaxrate = fentrytaxrate; |
|||
} |
|||
public int getFentrytaxrate() { |
|||
return fentrytaxrate; |
|||
} |
|||
|
|||
public void setFPmzcAssistant(FPmzcAssistant fPmzcAssistant) { |
|||
this.fPmzcAssistant = fPmzcAssistant; |
|||
} |
|||
public FPmzcAssistant getFPmzcAssistant() { |
|||
return fPmzcAssistant; |
|||
} |
|||
|
|||
public void setFPmzcBase(FPmzcBase fPmzcBase) { |
|||
this.fPmzcBase = fPmzcBase; |
|||
} |
|||
public FPmzcBase getFPmzcBase() { |
|||
return fPmzcBase; |
|||
} |
|||
|
|||
public void setFPmzcBase1(FPmzcBase1 fPmzcBase1) { |
|||
this.fPmzcBase1 = fPmzcBase1; |
|||
} |
|||
public FPmzcBase1 getFPmzcBase1() { |
|||
return fPmzcBase1; |
|||
} |
|||
|
|||
public void setFentrydiscountrate(int fentrydiscountrate) { |
|||
this.fentrydiscountrate = fentrydiscountrate; |
|||
} |
|||
public int getFentrydiscountrate() { |
|||
return fentrydiscountrate; |
|||
} |
|||
|
|||
public void setFdiscountamountfor(int fdiscountamountfor) { |
|||
this.fdiscountamountfor = fdiscountamountfor; |
|||
} |
|||
public int getFdiscountamountfor() { |
|||
return fdiscountamountfor; |
|||
} |
|||
|
|||
public void setFnotaxamountforD(double fnotaxamountforD) { |
|||
this.fnotaxamountforD = fnotaxamountforD; |
|||
} |
|||
public double getFnotaxamountforD() { |
|||
return fnotaxamountforD; |
|||
} |
|||
|
|||
public void setFtaxamountforD(double ftaxamountforD) { |
|||
this.ftaxamountforD = ftaxamountforD; |
|||
} |
|||
public double getFtaxamountforD() { |
|||
return ftaxamountforD; |
|||
} |
|||
|
|||
public void setFallamountforD(int fallamountforD) { |
|||
this.fallamountforD = fallamountforD; |
|||
} |
|||
public int getFallamountforD() { |
|||
return fallamountforD; |
|||
} |
|||
|
|||
public void setFincludecost(boolean fincludecost) { |
|||
this.fincludecost = fincludecost; |
|||
} |
|||
public boolean getFincludecost() { |
|||
return fincludecost; |
|||
} |
|||
|
|||
public void setFisoutstock(boolean fisoutstock) { |
|||
this.fisoutstock = fisoutstock; |
|||
} |
|||
public boolean getFisoutstock() { |
|||
return fisoutstock; |
|||
} |
|||
|
|||
public void setFisfree(boolean fisfree) { |
|||
this.fisfree = fisfree; |
|||
} |
|||
public boolean getFisfree() { |
|||
return fisfree; |
|||
} |
|||
|
|||
public void setFstockunitid(Fstockunitid fstockunitid) { |
|||
this.fstockunitid = fstockunitid; |
|||
} |
|||
public Fstockunitid getFstockunitid() { |
|||
return fstockunitid; |
|||
} |
|||
|
|||
public void setFstockqty(int fstockqty) { |
|||
this.fstockqty = fstockqty; |
|||
} |
|||
public int getFstockqty() { |
|||
return fstockqty; |
|||
} |
|||
|
|||
public void setFstockbaseqty(int fstockbaseqty) { |
|||
this.fstockbaseqty = fstockbaseqty; |
|||
} |
|||
public int getFstockbaseqty() { |
|||
return fstockbaseqty; |
|||
} |
|||
|
|||
public void setFpricebaseden(int fpricebaseden) { |
|||
this.fpricebaseden = fpricebaseden; |
|||
} |
|||
public int getFpricebaseden() { |
|||
return fpricebaseden; |
|||
} |
|||
|
|||
public void setFstockbasenum(int fstockbasenum) { |
|||
this.fstockbasenum = fstockbasenum; |
|||
} |
|||
public int getFstockbasenum() { |
|||
return fstockbasenum; |
|||
} |
|||
|
|||
} |
@ -1,40 +0,0 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.kingdeedata; |
|||
|
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
|
|||
/** |
|||
* Auto-generated: 2022-07-19 8:42:28 |
|||
* |
|||
* @author www.jsons.cn |
|||
* @website http://www.jsons.cn/json2java/
|
|||
*/ |
|||
public class Fentityplan { |
|||
|
|||
@JSONField(alternateNames ="FENDDATE") |
|||
private String fenddate; |
|||
@JSONField(alternateNames ="FPAYAMOUNTFOR") |
|||
private int fpayamountfor; |
|||
@JSONField(alternateNames ="FPAYRATE") |
|||
private int fpayrate; |
|||
public void setFenddate(String fenddate) { |
|||
this.fenddate = fenddate; |
|||
} |
|||
public String getFenddate() { |
|||
return fenddate; |
|||
} |
|||
|
|||
public void setFpayamountfor(int fpayamountfor) { |
|||
this.fpayamountfor = fpayamountfor; |
|||
} |
|||
public int getFpayamountfor() { |
|||
return fpayamountfor; |
|||
} |
|||
|
|||
public void setFpayrate(int fpayrate) { |
|||
this.fpayrate = fpayrate; |
|||
} |
|||
public int getFpayrate() { |
|||
return fpayrate; |
|||
} |
|||
|
|||
} |
@ -1,20 +0,0 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.kingdeedata; |
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
/** |
|||
* Auto-generated: 2022-07-19 8:42:28 |
|||
* 汇率类型:FEXCHANGETYPE |
|||
* @author www.jsons.cn |
|||
* @website http://www.jsons.cn/json2java/
|
|||
*/ |
|||
public class Fexchangetype { |
|||
|
|||
@JSONField(alternateNames ="FNumber") |
|||
private String fnumber; |
|||
public void setFnumber(String fnumber) { |
|||
this.fnumber = fnumber; |
|||
} |
|||
public String getFnumber() { |
|||
return fnumber; |
|||
} |
|||
|
|||
} |
@ -1,20 +0,0 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.kingdeedata; |
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
/** |
|||
* Auto-generated: 2022-07-19 8:42:28 |
|||
* 本位币:FMAINBOOKSTDCURRID |
|||
* @author www.jsons.cn |
|||
* @website http://www.jsons.cn/json2java/
|
|||
*/ |
|||
public class Fmainbookstdcurrid { |
|||
|
|||
@JSONField(alternateNames ="FNumber") |
|||
private String fnumber; |
|||
public void setFnumber(String fnumber) { |
|||
this.fnumber = fnumber; |
|||
} |
|||
public String getFnumber() { |
|||
return fnumber; |
|||
} |
|||
|
|||
} |
@ -1,22 +0,0 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.kingdeedata; |
|||
import java.util.Date; |
|||
|
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
/** |
|||
* Auto-generated: 2022-07-19 8:42:28 |
|||
* 物料编码:FMATERIALID |
|||
* @author www.jsons.cn |
|||
* @website http://www.jsons.cn/json2java/
|
|||
*/ |
|||
public class Fmaterialid { |
|||
|
|||
@JSONField(alternateNames ="FNumber") |
|||
private Date fnumber; |
|||
public void setFnumber(Date fnumber) { |
|||
this.fnumber = fnumber; |
|||
} |
|||
public Date getFnumber() { |
|||
return fnumber; |
|||
} |
|||
|
|||
} |
@ -1,20 +0,0 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.kingdeedata; |
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
/** |
|||
* Auto-generated: 2022-07-19 8:42:28 |
|||
* 订货方:FORDERID |
|||
* @author www.jsons.cn |
|||
* @website http://www.jsons.cn/json2java/
|
|||
*/ |
|||
public class Forderid { |
|||
|
|||
@JSONField(alternateNames = "FNumber") |
|||
private String fnumber; |
|||
public void setFnumber(String fnumber) { |
|||
this.fnumber = fnumber; |
|||
} |
|||
public String getFnumber() { |
|||
return fnumber; |
|||
} |
|||
|
|||
} |
@ -1,20 +0,0 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.kingdeedata; |
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
/** |
|||
* Auto-generated: 2022-07-19 8:42:28 |
|||
* 付款条件:FPayConditon |
|||
* @author www.jsons.cn |
|||
* @website http://www.jsons.cn/json2java/
|
|||
*/ |
|||
public class Fpayconditon { |
|||
|
|||
@JSONField(alternateNames ="FNumber") |
|||
private String fnumber; |
|||
public void setFnumber(String fnumber) { |
|||
this.fnumber = fnumber; |
|||
} |
|||
public String getFnumber() { |
|||
return fnumber; |
|||
} |
|||
|
|||
} |
@ -1,20 +0,0 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.kingdeedata; |
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
/** |
|||
* Auto-generated: 2022-07-19 8:42:28 |
|||
* 付款组织:FPAYORGID (必填项) |
|||
* @author www.jsons.cn |
|||
* @website http://www.jsons.cn/json2java/
|
|||
*/ |
|||
public class Fpayorgid { |
|||
|
|||
@JSONField(alternateNames ="FNumber") |
|||
private String fnumber; |
|||
public void setFnumber(String fnumber) { |
|||
this.fnumber = fnumber; |
|||
} |
|||
public String getFnumber() { |
|||
return fnumber; |
|||
} |
|||
|
|||
} |
@ -1,22 +0,0 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.kingdeedata; |
|||
|
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
|
|||
/** |
|||
* Auto-generated: 2022-07-19 8:42:28 |
|||
* 计价单位:FPRICEUNITID |
|||
* @author www.jsons.cn |
|||
* @website http://www.jsons.cn/json2java/
|
|||
*/ |
|||
public class Fpriceunitid { |
|||
|
|||
@JSONField(alternateNames ="FNumber") |
|||
private String fnumber; |
|||
public void setFnumber(String fnumber) { |
|||
this.fnumber = fnumber; |
|||
} |
|||
public String getFnumber() { |
|||
return fnumber; |
|||
} |
|||
|
|||
} |
@ -1,20 +0,0 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.kingdeedata; |
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
/** |
|||
* Auto-generated: 2022-07-19 8:42:28 |
|||
* 结算组织:FSETTLEORGID (必填项) |
|||
* @author www.jsons.cn |
|||
* @website http://www.jsons.cn/json2java/
|
|||
*/ |
|||
public class Fsettleorgid { |
|||
|
|||
@JSONField(alternateNames ="FNumber") |
|||
private String fnumber; |
|||
public void setFnumber(String fnumber) { |
|||
this.fnumber = fnumber; |
|||
} |
|||
public String getFnumber() { |
|||
return fnumber; |
|||
} |
|||
|
|||
} |
@ -1,20 +0,0 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.kingdeedata; |
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
/** |
|||
* Auto-generated: 2022-07-19 8:42:28 |
|||
* 库存单位:FStockUnitId |
|||
* @author www.jsons.cn |
|||
* @website http://www.jsons.cn/json2java/
|
|||
*/ |
|||
public class Fstockunitid { |
|||
|
|||
@JSONField(alternateNames ="FNumber") |
|||
private String fnumber; |
|||
public void setFnumber(String fnumber) { |
|||
this.fnumber = fnumber; |
|||
} |
|||
public String getFnumber() { |
|||
return fnumber; |
|||
} |
|||
|
|||
} |
@ -1,85 +0,0 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.kingdeedata; |
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
import com.yxt.anrui.fin.api.kingdee.kingdeedata.Fexchangetype; |
|||
import com.yxt.anrui.fin.api.kingdee.kingdeedata.Fmainbookstdcurrid; |
|||
|
|||
/** |
|||
* Auto-generated: 2022-07-19 8:42:28 |
|||
* |
|||
* @author www.jsons.cn |
|||
* @website http://www.jsons.cn/json2java/
|
|||
*/ |
|||
public class Fsubheadfinc { |
|||
/** |
|||
* 到期日计算日期:FACCNTTIMEJUDGETIME |
|||
*/ |
|||
@JSONField(alternateNames ="FACCNTTIMEJUDGETIME") |
|||
private String faccnttimejudgetime; |
|||
/** |
|||
* 本位币:FMAINBOOKSTDCURRID |
|||
*/ |
|||
@JSONField(alternateNames ="FMAINBOOKSTDCURRID") |
|||
private Fmainbookstdcurrid fmainbookstdcurrid; |
|||
/** |
|||
* 汇率类型:FEXCHANGETYPE |
|||
*/ |
|||
@JSONField(alternateNames ="FEXCHANGETYPE") |
|||
private Fexchangetype fexchangetype; |
|||
/** |
|||
* 汇率:FExchangeRate |
|||
*/ |
|||
@JSONField(alternateNames ="FExchangeRate") |
|||
private int fexchangerate; |
|||
/** |
|||
* 税额:FTaxAmountFor |
|||
*/ |
|||
@JSONField(alternateNames ="FTaxAmountFor") |
|||
private double ftaxamountfor; |
|||
/** |
|||
* 不含税金额:FNoTaxAmountFor |
|||
*/ |
|||
@JSONField(alternateNames ="FNoTaxAmountFor") |
|||
private double fnotaxamountfor; |
|||
public void setFaccnttimejudgetime(String faccnttimejudgetime) { |
|||
this.faccnttimejudgetime = faccnttimejudgetime; |
|||
} |
|||
public String getFaccnttimejudgetime() { |
|||
return faccnttimejudgetime; |
|||
} |
|||
|
|||
public void setFmainbookstdcurrid(Fmainbookstdcurrid fmainbookstdcurrid) { |
|||
this.fmainbookstdcurrid = fmainbookstdcurrid; |
|||
} |
|||
public Fmainbookstdcurrid getFmainbookstdcurrid() { |
|||
return fmainbookstdcurrid; |
|||
} |
|||
|
|||
public void setFexchangetype(Fexchangetype fexchangetype) { |
|||
this.fexchangetype = fexchangetype; |
|||
} |
|||
public Fexchangetype getFexchangetype() { |
|||
return fexchangetype; |
|||
} |
|||
|
|||
public void setFexchangerate(int fexchangerate) { |
|||
this.fexchangerate = fexchangerate; |
|||
} |
|||
public int getFexchangerate() { |
|||
return fexchangerate; |
|||
} |
|||
|
|||
public void setFtaxamountfor(double ftaxamountfor) { |
|||
this.ftaxamountfor = ftaxamountfor; |
|||
} |
|||
public double getFtaxamountfor() { |
|||
return ftaxamountfor; |
|||
} |
|||
|
|||
public void setFnotaxamountfor(double fnotaxamountfor) { |
|||
this.fnotaxamountfor = fnotaxamountfor; |
|||
} |
|||
public double getFnotaxamountfor() { |
|||
return fnotaxamountfor; |
|||
} |
|||
|
|||
} |
@ -1,39 +0,0 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.kingdeedata; |
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
|
|||
/** |
|||
* Auto-generated: 2022-07-19 8:42:28 |
|||
* |
|||
* @author www.jsons.cn |
|||
* @website http://www.jsons.cn/json2java/
|
|||
*/ |
|||
public class Fsubheadsuppiler { |
|||
|
|||
@JSONField(alternateNames ="FORDERID") |
|||
private Forderid forderid; |
|||
@JSONField(alternateNames ="FTRANSFERID") |
|||
private Ftransferid ftransferid; |
|||
@JSONField(alternateNames ="FChargeId") |
|||
private Fchargeid fchargeid; |
|||
public void setForderid(Forderid forderid) { |
|||
this.forderid = forderid; |
|||
} |
|||
public Forderid getForderid() { |
|||
return forderid; |
|||
} |
|||
|
|||
public void setFtransferid(Ftransferid ftransferid) { |
|||
this.ftransferid = ftransferid; |
|||
} |
|||
public Ftransferid getFtransferid() { |
|||
return ftransferid; |
|||
} |
|||
|
|||
public void setFchargeid(Fchargeid fchargeid) { |
|||
this.fchargeid = fchargeid; |
|||
} |
|||
public Fchargeid getFchargeid() { |
|||
return fchargeid; |
|||
} |
|||
|
|||
} |
@ -1,22 +0,0 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.kingdeedata; |
|||
|
|||
import com.alibaba.fastjson.annotation.JSONField; |
|||
|
|||
/** |
|||
* Auto-generated: 2022-07-19 8:42:28 |
|||
* 供货方:FTRANSFERID |
|||
* @author www.jsons.cn |
|||
* @website http://www.jsons.cn/json2java/
|
|||
*/ |
|||
public class Ftransferid { |
|||
|
|||
@JSONField(alternateNames ="FNumber") |
|||
private String fnumber; |
|||
public void setFnumber(String fnumber) { |
|||
this.fnumber = fnumber; |
|||
} |
|||
public String getFnumber() { |
|||
return fnumber; |
|||
} |
|||
|
|||
} |
@ -0,0 +1,214 @@ |
|||
package com.yxt.anrui.fin.api.kingdee.saloutstock; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.text.SimpleDateFormat; |
|||
import java.util.ArrayList; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
@Data |
|||
public class SalOutStock { |
|||
/** |
|||
* 日期:FDate (必填项) |
|||
*/ |
|||
@JsonProperty("FDate") |
|||
private String FDate; |
|||
/** |
|||
* 销售组织:FSaleOrgId (必填项) |
|||
*/ |
|||
@JsonProperty("FSaleOrgId") |
|||
private String FSaleOrgId; |
|||
/** |
|||
* 客户:FCustomerID (必填项) |
|||
*/ |
|||
@JsonProperty("FCustomerID") |
|||
private String FCustomerID; |
|||
/** |
|||
* 销售部门:FSaleDeptID (必填项) |
|||
*/ @JsonProperty("FSaleDeptID") |
|||
private String FSaleDeptID; |
|||
/** |
|||
* 发货组织:FStockOrgId (必填项) |
|||
*/ @JsonProperty("FStockOrgId") |
|||
private String FStockOrgId; |
|||
/** |
|||
* 收货方:FReceiverID 同 FCustomerID |
|||
*/ @JsonProperty("FReceiverID") |
|||
private String FReceiverID; |
|||
/** |
|||
* 结算方:FSettleID 同 FCustomerID |
|||
*/ @JsonProperty("FSettleID") |
|||
private String FSettleID; |
|||
/** |
|||
* 付款方:FPayerID 同 FCustomerID |
|||
*/ @JsonProperty("FPayerID") |
|||
private String FPayerID; |
|||
/** |
|||
* 项目类别:F_PAEZ_Assistant (必填项) |
|||
*/ @JsonProperty("F_PAEZ_Assistant") |
|||
private String F_PAEZ_Assistant; |
|||
/** |
|||
* 结算组织:FSettleOrgID (必填项) |
|||
*/ @JsonProperty("FSettleOrgID") |
|||
private String FSettleOrgID; |
|||
/** |
|||
* 物料列表 |
|||
*/ |
|||
@JsonProperty("FEntity") |
|||
private List<FEntity> FEntity=new ArrayList<>(); |
|||
@Data |
|||
public static class FEntity{ |
|||
/** |
|||
* 物料编码:FMaterialID |
|||
*/ |
|||
@JsonProperty("FMaterialID") |
|||
private String FMaterialID; |
|||
/** |
|||
* 库存单位:FUnitID (必填项) |
|||
*/ @JsonProperty("FUnitID") |
|||
private String FUnitID; |
|||
/** |
|||
* 实发数量:FRealQty |
|||
*/ @JsonProperty("FRealQty") |
|||
private double FRealQty; |
|||
/** |
|||
* 批号:FLot |
|||
*/ @JsonProperty("Flot") |
|||
private String Flot; |
|||
/** |
|||
* 货主:FOwnerID (必填项) |
|||
*/ @JsonProperty("FOwnerID") |
|||
private String FOwnerID; |
|||
/** |
|||
* 仓库:FStockID |
|||
*/ @JsonProperty("FStockID") |
|||
private String FStockID; |
|||
/** |
|||
* 库存状态:FStockStatusID |
|||
*/ @JsonProperty("FStockStatusID") |
|||
private String FStockStatusID; |
|||
/** |
|||
* 销售单位:FSalUnitID |
|||
*/ @JsonProperty("FSalUnitID") |
|||
private String FSalUnitID; |
|||
/** |
|||
* 销售数量:FSALUNITQTY |
|||
*/ @JsonProperty("FSALUNITQTY") |
|||
private double FSALUNITQTY; |
|||
/** |
|||
* 销售基本数量:FSALBASEQTY |
|||
*/ @JsonProperty("FSALBASEQTY") |
|||
private double FSALBASEQTY; |
|||
/** |
|||
* 计价基本数量:FPRICEBASEQTY |
|||
*/ @JsonProperty("FPRICEBASEQTY") |
|||
private double FPRICEBASEQTY; |
|||
/** |
|||
* 未关联应收数量(计价单位):FARNOTJOINQTY |
|||
*/ @JsonProperty("FARNOTJOINQTY") |
|||
private double FARNOTJOINQTY; |
|||
} |
|||
private final static SalOutStock salOutStock = new SalOutStock(); |
|||
|
|||
static { |
|||
SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
|||
Date date=new Date(); |
|||
/** |
|||
* 日期:FDate (必填项) |
|||
*/ |
|||
salOutStock.setFDate(sdf.format(date)); |
|||
/** |
|||
* 销售组织:FSaleOrgId (必填项) |
|||
*/ |
|||
salOutStock.setFSaleOrgId("101"); |
|||
/** |
|||
* 客户:FCustomerID (必填项) |
|||
*/ |
|||
salOutStock.setFCustomerID(" JXYXB"); |
|||
/** |
|||
* 销售部门:FSaleDeptID (必填项) |
|||
*/ |
|||
salOutStock.setFSaleDeptID("05.04"); |
|||
/** |
|||
* 发货组织:FStockOrgId (必填项) |
|||
*/ |
|||
salOutStock.setFStockOrgId("101"); |
|||
/** |
|||
* 收货方:FReceiverID 同 FCustomerID |
|||
*/ |
|||
salOutStock.setFReceiverID(" JXYXB"); |
|||
/** |
|||
* 结算方:FSettleID 同 FCustomerID |
|||
*/ |
|||
salOutStock.setFSettleID(" JXYXB"); |
|||
/** |
|||
* 付款方:FPayerID 同 FCustomerID |
|||
*/ |
|||
salOutStock.setFPayerID(" JXYXB"); |
|||
/** |
|||
* 项目类别:F_PAEZ_Assistant (必填项) |
|||
*/ |
|||
salOutStock.setF_PAEZ_Assistant("00"); |
|||
/** |
|||
* 结算组织:FSettleOrgID (必填项) |
|||
*/ |
|||
salOutStock.setFSettleOrgID("101"); |
|||
List<FEntity> fEntity=new ArrayList<>(); |
|||
FEntity fe= new FEntity(); |
|||
/** |
|||
* 物料编码:FMaterialID |
|||
*/ |
|||
fe.setFMaterialID(" JX091054"); |
|||
/** |
|||
* 库存单位:FUnitID (必填项) |
|||
*/ |
|||
fe.setFUnitID("liang"); |
|||
/** |
|||
* 实发数量:FRealQty |
|||
*/ |
|||
fe.setFRealQty(1.0); |
|||
/** |
|||
* 批号:FLot |
|||
*/ |
|||
fe.setFlot("1233321"); |
|||
/** |
|||
* 货主:FOwnerID (必填项) |
|||
*/ |
|||
fe.setFOwnerID("101"); |
|||
/** |
|||
* 仓库:FStockID |
|||
*/ |
|||
fe.setFStockID("CK001"); |
|||
/** |
|||
* 库存状态:FStockStatusID |
|||
*/ |
|||
fe.setFStockStatusID("KCZT01_SYS"); |
|||
/** |
|||
* 销售单位:FSalUnitID |
|||
*/ |
|||
fe.setFSalUnitID("liang"); |
|||
/** |
|||
* 销售数量:FSALUNITQTY |
|||
*/ |
|||
fe.setFSALUNITQTY(1.0); |
|||
/** |
|||
* 销售基本数量:FSALBASEQTY |
|||
*/ |
|||
fe.setFSALBASEQTY(1.0); |
|||
/** |
|||
* 计价基本数量:FPRICEBASEQTY |
|||
*/ |
|||
fe.setFPRICEBASEQTY(1.0); |
|||
/** |
|||
* 未关联应收数量(计价单位):FARNOTJOINQTY |
|||
*/ |
|||
fe.setFARNOTJOINQTY(1.0); |
|||
fEntity.add(fe); |
|||
salOutStock.setFEntity(fEntity); |
|||
} |
|||
public static SalOutStock createSalOutStock() { |
|||
return salOutStock; |
|||
} |
|||
} |
@ -0,0 +1,66 @@ |
|||
package com.yxt.anrui.fin.biz.kingdee.saloutstock; |
|||
|
|||
import com.alibaba.fastjson.JSON; |
|||
import com.alibaba.fastjson.JSONArray; |
|||
import com.alibaba.fastjson.JSONObject; |
|||
import com.alibaba.fastjson.parser.Feature; |
|||
import com.yxt.anrui.fin.biz.kingdee.KingDeeUtils; |
|||
import org.slf4j.Logger; |
|||
import org.slf4j.LoggerFactory; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.HashMap; |
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
/** |
|||
* 封装转换的类 |
|||
*/ |
|||
public class SalOutStockCastToKingDeeBillFields { |
|||
private static Logger log=LoggerFactory.getLogger(SalOutStockCastToKingDeeBillFields.class); |
|||
/** |
|||
* 构造金蝶需要的数据结构 并对字段赋值 |
|||
* |
|||
* @param map_fEntityModel_ |
|||
* @param vehicleList |
|||
* @return |
|||
*/ |
|||
public static String getKingDeeData(Map<String,String> map_fEntityModel_,List<Map<String,String>> vehicleList){ |
|||
/** |
|||
* 取模板 |
|||
*/ |
|||
String readJsonFile = KingDeeUtils.readJsonFile("com/yxt/anrui/fin/biz/kingdee/saloutstock/data.json"); |
|||
String fEntityData_ = KingDeeUtils.readJsonFile("com/yxt/anrui/fin/biz/kingdee/saloutstock/data_data.json"); |
|||
String fEntityModel_ = KingDeeUtils.readJsonFile("com/yxt/anrui/fin/biz/kingdee/saloutstock/data_model.json"); |
|||
String fEntity_ = KingDeeUtils.readJsonFile("com/yxt/anrui/fin/biz/kingdee/saloutstock/data_FEntity.json"); |
|||
log.info("readJsonFile:{}",readJsonFile); |
|||
log.info("fEntityData_:{}",fEntityData_); |
|||
log.info("fEntityModel_:{}",fEntityModel_); |
|||
log.info("fEntity_:{}",fEntity_); |
|||
|
|||
//模板字符创转json
|
|||
JSONObject jsonObj= JSONObject.parseObject(readJsonFile, Feature.OrderedField); |
|||
JSONObject jsonFEntityData_= JSONObject.parseObject(fEntityData_,Feature.OrderedField); |
|||
fEntityModel_ =KingDeeUtils.replaceTemplateParams(fEntityModel_, map_fEntityModel_); |
|||
JSONObject jsonFEntityModel_= JSONObject.parseObject(fEntityModel_,Feature.OrderedField); |
|||
|
|||
List<JSONObject> list_fEntityDetail_=new ArrayList<>(); |
|||
|
|||
//对模板字段赋值 根据传递进来的map数据的集合进行赋值
|
|||
for(int i=0;i<vehicleList.size();i++){ |
|||
Map<String,String> params=vehicleList.get(i); |
|||
Map<String,String> map_fEntityDetail_=new HashMap<>(); |
|||
for (Map.Entry<String, String> entry : params.entrySet()) { |
|||
map_fEntityDetail_.put(entry.getKey(),entry.getValue()); |
|||
} |
|||
fEntity_ =KingDeeUtils.replaceTemplateParams(fEntity_, map_fEntityDetail_); |
|||
list_fEntityDetail_.add(JSONObject.parseObject(fEntity_,Feature.OrderedField)); |
|||
} |
|||
|
|||
jsonFEntityModel_.put("FEntity", JSONArray.parseArray(JSON.toJSONString(list_fEntityDetail_))); |
|||
jsonFEntityData_.put("Model",JSONObject.parseObject(JSON.toJSONString(jsonFEntityModel_),Feature.OrderedField)); |
|||
jsonObj.put("data",jsonFEntityData_.toJSONString()); |
|||
|
|||
return jsonObj.toJSONString(); |
|||
} |
|||
} |
@ -0,0 +1,80 @@ |
|||
package com.yxt.anrui.fin.biz.kingdee.saloutstock; |
|||
|
|||
import cn.hutool.core.bean.BeanUtil; |
|||
import com.yxt.anrui.fin.api.kingdee.KingDeeBillId; |
|||
import com.yxt.anrui.fin.api.kingdee.saloutstock.SalOutStock; |
|||
import com.yxt.anrui.fin.biz.kingdee.FinKingDeeService; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.HashMap; |
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
/** |
|||
* 保存采购出库单 |
|||
*/ |
|||
@Service |
|||
public class SalOutStockService extends FinKingDeeService { |
|||
|
|||
/** |
|||
* 保存采购出库单 |
|||
* @param salOutStock |
|||
* @return |
|||
*/ |
|||
public ResultBean draftSalOutStock(SalOutStock salOutStock) { |
|||
// salOutStock=SalOutStock.createSalOutStock();
|
|||
ResultBean rb=ResultBean.fireFail(); |
|||
//业务表的主表数据集合
|
|||
Map<String,String> map_fEntityModel_=new HashMap<>(); |
|||
//业务日期
|
|||
Map<String, Object> stringObjectMap = BeanUtil.beanToMap(salOutStock); |
|||
List<SalOutStock.FEntity> fEntity = salOutStock.getFEntity(); |
|||
for (Map.Entry<String, Object> entry : stringObjectMap.entrySet()) { |
|||
if (entry.getValue() instanceof String) { |
|||
map_fEntityModel_.put(entry.getKey(), (String) entry.getValue()); |
|||
}else if(entry.getValue() instanceof Double){ |
|||
map_fEntityModel_.put(entry.getKey(), entry.getValue().toString()); |
|||
} |
|||
} |
|||
//准备 物料列表的数据 ForEntryBill
|
|||
ResultBean<List<Map<String, String>>> vehicleListMap = createVehicleListsFEntity(fEntity); |
|||
if(!vehicleListMap.getSuccess()){ |
|||
return rb.setMsg(vehicleListMap.getMsg()); |
|||
} |
|||
String kingDeeData = SalOutStockCastToKingDeeBillFields.getKingDeeData(map_fEntityModel_,vehicleListMap.getData()); |
|||
try { |
|||
return saveBill(KingDeeBillId.SAL_OUTSTOCK.getID(),kingDeeData); |
|||
} catch (Exception e) { |
|||
e.printStackTrace(); |
|||
} |
|||
return rb; |
|||
} |
|||
/** |
|||
* 准备 物料列表的数据 StkInStock |
|||
*/ |
|||
private ResultBean<List<Map<String, String>>> |
|||
createVehicleListsFEntity(List<SalOutStock.FEntity> vehicleList) { |
|||
ResultBean<List<Map<String, String>>> rb=ResultBean.fireFail(); |
|||
//物料的数组集合
|
|||
List<Map<String,String>> vehicleListMap=new ArrayList<>(); |
|||
for(int i = 0; i< vehicleList.size(); i++){ |
|||
SalOutStock.FEntity f= vehicleList.get(i); |
|||
Map<String,String> m=new HashMap<>(); |
|||
Map<String, Object> stringObjectMap = BeanUtil.beanToMap(f); |
|||
for (Map.Entry<String, Object> entry : stringObjectMap.entrySet()) { |
|||
if (entry.getValue() instanceof String) { |
|||
log.info("String key:{},value:{}",entry.getKey(),(String) entry.getValue()); |
|||
m.put(entry.getKey(), (String) entry.getValue()); |
|||
}else if(entry.getValue() instanceof Double){ |
|||
log.info("Double key:{},value:{}",entry.getKey(),entry.getValue()); |
|||
m.put(entry.getKey(), entry.getValue().toString()); |
|||
} |
|||
} |
|||
vehicleListMap.add(m); |
|||
} |
|||
return rb.success().setData(vehicleListMap); |
|||
} |
|||
|
|||
} |
@ -0,0 +1,4 @@ |
|||
{ |
|||
"formId": "SAL_OUTSTOCK", |
|||
"data": "@KD_data" |
|||
} |
@ -0,0 +1,33 @@ |
|||
{ |
|||
"FRowType": "Standard", |
|||
"FMaterialID": { |
|||
"FNumber": "@KD_FMaterialID" |
|||
}, |
|||
"FUnitID": { |
|||
"FNumber": "@KD_FUnitID" |
|||
}, |
|||
"FRealQty": @KD_FRealQty, |
|||
"FIsFree": false, |
|||
"FOwnerTypeID": "BD_OwnerOrg", |
|||
"Flot": { |
|||
"FNumber": "@KD_Flot" |
|||
}, |
|||
"FOwnerID": { |
|||
"FNumber": "@KD_FOwnerID" |
|||
}, |
|||
"FStockID": { |
|||
"FNumber": "@KD_FStockID" |
|||
}, |
|||
"FStockStatusID": { |
|||
"FNumber": "@KD_FStockStatusID" |
|||
}, |
|||
"FSalUnitID": { |
|||
"FNumber": "@KD_FSalUnitID" |
|||
}, |
|||
"FSALUNITQTY": @KD_FSALUNITQTY, |
|||
"FSALBASEQTY": @KD_FSALBASEQTY, |
|||
"FPRICEBASEQTY": @KD_FPRICEBASEQTY, |
|||
"FOUTCONTROL": false, |
|||
"FIsOverLegalOrg": false, |
|||
"FARNOTJOINQTY": @KD_FARNOTJOINQTY |
|||
} |
@ -0,0 +1,13 @@ |
|||
{ |
|||
"Creator": "", |
|||
"NeedUpDateFields": [], |
|||
"NeedReturnFields": [], |
|||
"IsDeleteEntry": "True", |
|||
"SubSystemId": "", |
|||
"IsVerifyBaseDataField": "false", |
|||
"IsEntryBatchFill": "True", |
|||
"ValidateFlag": "True", |
|||
"NumberSearch": "True", |
|||
"InterationFlags": "", |
|||
"Model": {} |
|||
} |
@ -0,0 +1,51 @@ |
|||
{ |
|||
"FID": 0, |
|||
"FBillTypeID": { |
|||
"FNUMBER": "XSCKD01_SYS" |
|||
}, |
|||
"FDate": "@KD_FDate", |
|||
"FSaleOrgId": { |
|||
"FNumber": "@KD_FSaleOrgId" |
|||
}, |
|||
"FCustomerID": { |
|||
"FNumber": "@KD_FCustomerID" |
|||
}, |
|||
"FSaleDeptID": { |
|||
"FNumber": "@KD_FSaleDeptID" |
|||
}, |
|||
"FStockOrgId": { |
|||
"FNumber": "@KD_FStockOrgId" |
|||
}, |
|||
"FReceiverID": { |
|||
"FNumber": "@KD_FReceiverID" |
|||
}, |
|||
"FSettleID": { |
|||
"FNumber": "@KD_FSettleID" |
|||
}, |
|||
"FPayerID": { |
|||
"FNumber": "@KD_FPayerID" |
|||
}, |
|||
"FOwnerTypeIdHead": "BD_OwnerOrg", |
|||
"FIsTotalServiceOrCost": false, |
|||
"F_PAEZ_Assistant": { |
|||
"FNumber": "@KD_F_PAEZ_Assistant" |
|||
}, |
|||
"SubHeadEntity": { |
|||
"FSettleCurrID": { |
|||
"FNumber": "PRE001" |
|||
}, |
|||
"FSettleOrgID": { |
|||
"FNumber": "@KD_FSettleOrgID" |
|||
}, |
|||
"FIsIncludedTax": true, |
|||
"FLocalCurrID": { |
|||
"FNumber": "PRE001" |
|||
}, |
|||
"FExchangeTypeID": { |
|||
"FNumber": "HLTX01_SYS" |
|||
}, |
|||
"FExchangeRate": 1.0, |
|||
"FIsPriceExcludeTax": true |
|||
}, |
|||
"FEntity": [] |
|||
} |
@ -0,0 +1,276 @@ |
|||
一、请求参数说明: |
|||
1.formid:业务对象表单Id,字符串类型(必录) |
|||
2.data:Json格式数据(详情参考Json格式数据)(必录) |
|||
2.1.Creator:创建者内码(非必录) |
|||
2.2.NeedUpDateFields:需要更新的字段,数组类型,格式:[key1,key2,...](非必录),注(更新单据体字段得加上单据体key) |
|||
2.3.NeedReturnFields:需返回结果的字段集合,数组类型,格式:[key,entitykey.key,...](非必录),注(返回单据体字段格式:entitykey.key) |
|||
2.4.IsDeleteEntry:是否删除已存在的分录,布尔类型,默认true(非必录) |
|||
2.5.SubSystemId:表单所在的子系统内码,字符串类型(非必录) |
|||
2.6.IsVerifyBaseDataField:是否验证所有的基础资料有效性,布尔类,默认false(非必录) |
|||
2.7.IsEntryBatchFill:是否批量填充分录,默认true(非必录) |
|||
2.8.ValidateFlag:是否验证标志,布尔类型,默认true(非必录) |
|||
2.9.NumberSearch:是否用编码搜索基础资料,布尔类型,默认true(非必录) |
|||
2.10.InterationFlags:交互标志集合,字符串类型,分号分隔,格式:"flag1;flag2;..."(非必录),例如(允许负库存标识:STK_InvCheckResult) |
|||
2.11.Model:表单数据包,Json类型(必录) |
|||
|
|||
五、字段说明: |
|||
基本单位:FBaseUnitID |
|||
到货确认:FArrivalStatus |
|||
基本单位应发数量:FBaseMustQty |
|||
是否赠品:FIsFree |
|||
累计开票数量(计价基本):FBaseSumInvoicedQty |
|||
检验确认人:FValidateConfirmor |
|||
计价单位:FPriceUnitId |
|||
检验确认:FValidateStatus |
|||
到货确认人:FArrivalConfirmor |
|||
检验日期:FValidateDate |
|||
勾稽金额:FJoinedAmount |
|||
未勾稽金额:FUnJoinAmount |
|||
未勾稽数量:FUNJOINQTY |
|||
有效期至:FExpiryDate |
|||
勾稽数量:FJoinedQty |
|||
保质期单位:FExpiryPeriodUnit |
|||
保质期:FExpiryPeriod |
|||
批号:FLot |
|||
完全勾稽:FFullyJoined |
|||
行勾稽状态:FJoinStatus |
|||
计价数量:FPriceUnitQty |
|||
税额:FEntryTaxAmount |
|||
税额(本位币):FTaxAmount_LC |
|||
金额(本位币):FAmount_LC |
|||
折扣额:FDiscount |
|||
金额:FAmount |
|||
关联应收数量(计价基本):FBaseARJoinQty |
|||
到货日期:FArrivalDate |
|||
净价:FTaxNetPrice |
|||
价税合计:FAllAmount |
|||
价税合计(本位币):FAllAmount_LC |
|||
税率%:FEntryTaxRate |
|||
价格系数:FPriceCoefficient |
|||
税组合:FTaxCombination |
|||
单价:FPrice |
|||
含税单价:FTaxPrice |
|||
折前价税合计:FBefDisAllAmt |
|||
折扣率%:FDiscountRate |
|||
折前金额:FBefDisAmt |
|||
系统定价:FSysPrice |
|||
最低限价:FLimitDownPrice |
|||
货主:FOwnerID (必填项) |
|||
保管者类型:FKeeperTypeID |
|||
货主类型:FOwnerTypeID |
|||
仓库:FStockID |
|||
库存状态:FStockStatusID |
|||
库存基本数量:FBaseUnitQty |
|||
库存辅单位:FAuxUnitID |
|||
BOM版本:FBomID |
|||
保管者:FKeeperID |
|||
备注:FEntrynote |
|||
物料编码:FMaterialID |
|||
物料名称:FMaterialName |
|||
客户物料名称:FCustMatName |
|||
收货人电话:FReceiverPhone |
|||
客户物料编码:FCustMatID |
|||
应发数量:FMustQty |
|||
实发数量:FRealQty |
|||
库存单位:FUnitID (必填项) |
|||
规格型号:FMateriaModel |
|||
物料类别:FMateriaType |
|||
库存辅单位数量:FAuxUnitQty |
|||
订单单号:FSoorDerno |
|||
辅助属性:FAuxPropId |
|||
库存更新标识:FStockFlag |
|||
关联退货数量(基本单位):FBaseReturnQty |
|||
关联开票数量(基本单位):FBaseInvoicedQty |
|||
仓位:FStockLocID |
|||
生产日期:FProduceDate |
|||
累计退货数量(基本单位):FBaseSumRetstockQty |
|||
累计退货通知数量(销售基本):FBaseSumRetNoticeQty |
|||
源单类型:FSrcType |
|||
关联退货数量:FReturnQty |
|||
累计退货通知数量:FSumRetNoticeQty |
|||
总成本(本位币):FCostAmount_LC |
|||
成本价(本位币):FCostPrice |
|||
总成本:FEntryCostAmount |
|||
累计开票金额:FSumInvoicedAMT |
|||
累计收款金额:FSumReceivedAMT |
|||
累计应收数量(销售):FSumInvoicedQty |
|||
累计退货数量:FSumRetStockQty |
|||
累计开票数量:FInvoicedQty |
|||
业务流程:FBFLowId |
|||
父项标识:FParentRowId |
|||
签收数量:FSignQty |
|||
行标识:FRowId |
|||
产品类型:FRowType |
|||
父项产品:FParentMatId |
|||
排放标准:F_PAEZ_BaseProperty2 |
|||
车辆类型:F_PAEZ_BaseProperty3 |
|||
返利金额:F_PAEZ_Decimal |
|||
第三方单据分录ID:FThirdEntryId |
|||
单价折扣:FPriceDiscount |
|||
库存请检单EntryID:FQmEntryID |
|||
库存状态转换单ENTRYID:FConvertEntryID |
|||
未关联应收数量(计价单位):FARNOTJOINQTY |
|||
关联入库数量(采购基本):FPURBASEJOININSTOCKQTY |
|||
行价目表:FPriceListEntry |
|||
拆单数量(计价):FDisPriceQty |
|||
拆单前原计价数量:FBeforeDisPriceQty |
|||
预留锁库EntryId:FReserveEntryId |
|||
B2C订单明细Id:FB2CORDERDETAILID |
|||
销售订单EntryId:FSOEntryId |
|||
物料分组:F_PAEZ_BaseProperty4 |
|||
备注:FSerialNote |
|||
物流公司:FLogComId |
|||
序列号:FSerialId |
|||
买方代扣代缴:FBuyerWithholding |
|||
序列号:FSerialNo |
|||
时间:FTraceTime |
|||
物流详情:FTraceDetail |
|||
发货时间:FDelTime |
|||
物流单号:FCarryBillNo (必填项) |
|||
物流状态:FTraceStatus |
|||
税率名称:FTaxRateId |
|||
税率%:FTaxRate |
|||
产品线:F_PAEZ_BaseProperty5 |
|||
销售折让:F_PAEZ_Decimal3 |
|||
赠送套餐:F_PAEZ_Decimal4 |
|||
增值税:FVAT |
|||
卖方代扣代缴:FSellerWithholding |
|||
计入成本金额:FCostAmount |
|||
税额:FTaxAmount |
|||
计入成本比例%:FCostPercent |
|||
拒收数量:FRefuseQty |
|||
补货数量:FRepairQty |
|||
项目编号:FProjectNo |
|||
序列号单位数量:FSNQty |
|||
计划跟踪号:FMtoNo |
|||
关联退货数量(辅单位):FSECRETURNQTY |
|||
消耗汇总:FIsConsumeSum |
|||
关联入库数量(辅单位):FSECJOININSTOCKQTY |
|||
是否补货:FIsRepair |
|||
捡货部门:FPickDeptId |
|||
服务上下文:FServiceContext |
|||
销售成本价:FSalCostPrice |
|||
累计应收金额:FARAMOUNT |
|||
累计应收数量(销售基本):FBASEARQTY |
|||
关联应收金额:FARJOINAMOUNT |
|||
关联入库数量:FJoinInStockQty |
|||
序列号单位:FSNUnitID |
|||
关联入库数量(基本单位):FBaseJoinInStockQty |
|||
源单编号:FSrcBillNo |
|||
实收数量:FActQty |
|||
关联应收数量:FARJoinQty |
|||
关联应收数量(库存基本):FStockBaseARJoinQty |
|||
携带的主业务单位:FSRCBIZUNITID |
|||
累计退货数量(库存基本):FStockBaseSumRetStockQty |
|||
库存基本分母:FStockBaseDen |
|||
关联退货数量(库存基本):FStockBaseReturnQty |
|||
明细结算组织客户:FESettleCustomerId |
|||
关联应收数量(销售基本):FSalBaseARJoinQty |
|||
组织间结算跨法人标识:FIsOverLegalOrg |
|||
是否生成产品档案:FIsCreateProDoc |
|||
明细货主供应商:FEOwnerSupplierId |
|||
当前库存:FInventoryQty |
|||
销售单位:FSalUnitID |
|||
实发数量(辅单位):FExtAuxUnitQty |
|||
控制出库数量:FOUTCONTROL |
|||
辅单位:FExtAuxUnitId |
|||
质量类型:FQualifyType |
|||
销售基本分子:FSalBaseNum |
|||
计价基本数量:FPRICEBASEQTY |
|||
销售数量:FSALUNITQTY |
|||
销售基本数量:FSALBASEQTY |
|||
单据类型:FBillTypeID (必填项) |
|||
货主类型:FOwnerTypeIdHead |
|||
货主:FOwnerIdHead |
|||
业务类型:FBussinessType |
|||
信用检查结果:FCreditCheckResult |
|||
收货方地址:FReceiveAddress |
|||
交货地点:FHeadLocationId |
|||
运输单号:FCarriageNO |
|||
收货方:FReceiverID |
|||
承运商:FCarrierID |
|||
销售组:FSalesGroupID |
|||
销售员:FSalesManID |
|||
最后修改人:FModifierId |
|||
最后修改日期:FModifyDate |
|||
创建日期:FCreateDate |
|||
结算方:FSettleID |
|||
付款方:FPayerID |
|||
日期:FDate (必填项) |
|||
发货组织:FStockOrgId (必填项) |
|||
销售组织:FSaleOrgId (必填项) |
|||
单据编号:FBillNo |
|||
单据状态:FDocumentStatus |
|||
库存组:FStockerGroupID |
|||
仓管员:FStockerID |
|||
销售部门:FSaleDeptID (必填项) |
|||
客户:FCustomerID (必填项) |
|||
发货部门:FDeliveryDeptID |
|||
创建人:FCreatorId |
|||
作废人:FCancellerID |
|||
作废日期:FCancelDate |
|||
作废状态:FCancelStatus |
|||
审核人:FApproverID |
|||
审核日期:FApproveDate |
|||
价目表:FPriceListId |
|||
税额:FBillTaxAmount |
|||
税额(本位币):FBillTaxAmount_LC |
|||
金额(本位币):FBillAmount_LC |
|||
价税合计(本位币):FBillAllAmount_LC |
|||
跨组织结算生成:FISGENFORIOS |
|||
结算组织客户:FSETTLECustomerID |
|||
是否含税:FIsIncludedTax |
|||
价税合计:FBillAllAmount |
|||
金额:FBillAmount |
|||
汇率类型:FExchangeTypeID |
|||
汇率:FExchangeRate |
|||
本位币:FLocalCurrID |
|||
打印次数:F_PAEZ_PrintTimes |
|||
结算组织:FSettleOrgID (必填项) |
|||
总成本(本位币):FBillCostAmount_LC |
|||
收款条件:FReceiptConditionID |
|||
总成本:FBillCostAmount |
|||
结算币别:FSettleCurrID (必填项) |
|||
结算方式:FSettleTypeID |
|||
货主供应商:FOwnerSupplierID |
|||
收货人:FReceiverName |
|||
收货人手机:FReceiverMobile |
|||
会员名称:FBuyerNick |
|||
第三方系统来源:FThirdSrcType |
|||
工作流信用逾期超标额度:FCreChkOverAmount |
|||
收货人地区:FReceiverDistrict |
|||
收货人地址:FReceiverAddress |
|||
收货人城市:FReceiverCity |
|||
收货人国家:FReceiverCountry |
|||
收货人省份:FReceiverState |
|||
工作流信用超标金额:FCreChkAmount |
|||
审批流信用压批月结检查:FCrePreBatAndMonStatus |
|||
工作流信用检查状态:FCreChkStatus |
|||
折扣表:FDiscountListId |
|||
工作流信用超标天数:FCreChkDays |
|||
第三方单据编号:FThirdBillNo |
|||
第三方单据内码:FThirdBillId |
|||
价外税:FIsPriceExcludeTax |
|||
信用压批超标:FCrePreBatchOver |
|||
信用月结超标:FCreMonControlOver |
|||
序列号上传:FScanBox |
|||
跨组织业务类型:FTransferBizType |
|||
对应组织:FCorrespondOrgId |
|||
组织间结算跨法人标识:FIsInterLegalPerson |
|||
收货方联系人:FReceiverContactID |
|||
销售省:F_PAEZ_BaseProperty |
|||
销售城市:F_PAEZ_BaseProperty1 |
|||
销售地:F_PAEZ_Base2 |
|||
中介单位:F_PAEZ_Base |
|||
业务员:F_PAEZ_Base1 |
|||
工时收入:F_PAEZ_Decimal1 |
|||
开票金额:F_PAEZ_Decimal2 |
|||
项目类别:F_PAEZ_Assistant (必填项) |
|||
发票号:F_PAEZ_Text |
|||
开票日期:F_PAEZ_Date |
|||
创建日期偏移量:FCDateOffsetValue |
|||
创建日期偏移单位:FCDateOffsetUnit |
|||
拆单新单标识:FDisassemblyFlag |
|||
备注:FNote |
|||
交货明细执行地址(后台用):FPlanRecAddress |
|||
整单服务或费用:FIsTotalServiceOrCost |
@ -0,0 +1 @@ |
|||
{\"Creator\":\"\",\"NeedUpDateFields\":[],\"NeedReturnFields\":[],\"IsDeleteEntry\":\"True\",\"SubSystemId\":\"\",\"IsVerifyBaseDataField\":\"false\",\"IsEntryBatchFill\":\"True\",\"ValidateFlag\":\"True\",\"NumberSearch\":\"True\",\"InterationFlags\":\"\",\"Model\":{\"FID\":0,\"FBillTypeID\":{\"FNUMBER\":\"XSCKD01_SYS\"},\"FDate\":\"2022-08-15 00:00:00\",\"FSaleOrgId\":{\"FNumber\":\"101\"},\"FCustomerID\":{\"FNumber\":\" JXYXB\"},\"FSaleDeptID\":{\"FNumber\":\"05.04\"},\"FStockOrgId\":{\"FNumber\":\"101\"},\"FReceiverID\":{\"FNumber\":\" JXYXB\"},\"FSettleID\":{\"FNumber\":\" JXYXB\"},\"FPayerID\":{\"FNumber\":\" JXYXB\"},\"FOwnerTypeIdHead\":\"BD_OwnerOrg\",\"FIsTotalServiceOrCost\":false,\"F_PAEZ_Assistant\":{\"FNumber\":\"00\"},\"SubHeadEntity\":{\"FSettleCurrID\":{\"FNumber\":\"PRE001\"},\"FSettleOrgID\":{\"FNumber\":\"101\"},\"FIsIncludedTax\":true,\"FLocalCurrID\":{\"FNumber\":\"PRE001\"},\"FExchangeTypeID\":{\"FNumber\":\"HLTX01_SYS\"},\"FExchangeRate\":1.0,\"FIsPriceExcludeTax\":true},\"FEntity\":[{\"FRowType\":\"Standard\",\"FMaterialID\":{\"FNumber\":\" JX091054\"},\"FUnitID\":{\"FNumber\":\"liang\"},\"FRealQty\":1.0,\"FIsFree\":false,\"FOwnerTypeID\":\"BD_OwnerOrg\",\"Flot\":{\"FNumber\":\"1233321\"},\"FOwnerID\":{\"FNumber\":\"101\"},\"FStockID\":{\"FNumber\":\"CK001\"},\"FStockStatusID\":{\"FNumber\":\"KCZT01_SYS\"},\"FSalUnitID\":{\"FNumber\":\"liang\"},\"FSALUNITQTY\":1.0,\"FSALBASEQTY\":1.0,\"FPRICEBASEQTY\":1.0,\"FOUTCONTROL\":false,\"FIsOverLegalOrg\":false,\"FARNOTJOINQTY\":1.0}]}} |
Binary file not shown.
@ -0,0 +1,335 @@ |
|||
<template> |
|||
<div class="app-container"> |
|||
<!-- Start 列表页面 --> |
|||
<div> |
|||
<button-bar view-title="车辆配件更换记录" ref="btnbar" :btndisabled="btndisabled" @btnhandle="btnHandle"/> |
|||
<div class="main-content" style="padding-top: 10px"> |
|||
<!-- <div class="searchcon">--> |
|||
<!-- <el-button size="small" class="searchbtn" @click="clicksearchShow">{{ searchxianshitit }}</el-button>--> |
|||
<!-- <div v-show="isSearchShow" class="search">--> |
|||
<!-- <el-form ref="listQueryform" :inline="true" :model="listQuery" label-width="110px" class="tab-header">--> |
|||
<!-- <el-form-item label="认款日期">--> |
|||
<!-- <div class="block" style="float: left;">--> |
|||
<!-- <el-date-picker v-model="listQuery.params.subscriptionStartDate" type="date" clearable value-format="yyyy-MM-dd" placeholder="选择日期"/>--> |
|||
<!-- </div>--> |
|||
<!-- <div style="float: left;margin: 0px 10px">至</div>--> |
|||
<!-- <div class="block" style="float: left;">--> |
|||
<!-- <el-date-picker v-model="listQuery.params.subscriptionEndDate" type="date" clearable value-format="yyyy-MM-dd" placeholder="选择日期"/>--> |
|||
<!-- </div>--> |
|||
<!-- </el-form-item>--> |
|||
<!-- <el-form-item label="申请编号">--> |
|||
<!-- <el-input v-model="listQuery.params.proSchAppNo" placeholder="请输入排产申请编号" clearable/>--> |
|||
<!-- </el-form-item>--> |
|||
<!-- </el-form>--> |
|||
<!-- <div class="btn" style="text-align: center;">--> |
|||
<!-- <el-button type="primary" icon="el-icon-search" @click="handleFilter" size="small">查询</el-button>--> |
|||
<!-- <el-button type="primary" icon="el-icon-refresh" @click="handleReset" size="small">重置</el-button>--> |
|||
<!-- </div>--> |
|||
<!-- </div>--> |
|||
<!-- </div>--> |
|||
<div class="listtop"> |
|||
<div class="tit">车辆配件更换记录列表</div> |
|||
<pageye v-show="list.length > 0" :total="listQuery.total" :page.sync="listQuery.current" :limit.sync="listQuery.size" class="pagination" @pagination="getList"/> |
|||
</div> |
|||
<div class=""> |
|||
<el-table :key="tableKey" v-loading="listLoading" :data="list" border style="width: 100%;"> |
|||
<el-table-column fixed width="60px" label="序号" type="index" :index="indexMethod" align="center"/> |
|||
<el-table-column label="来源车架号" align="center"> |
|||
<template slot-scope="scope"> |
|||
<span>{{ scope.row.sourceVinNo }}</span> |
|||
</template> |
|||
</el-table-column> |
|||
<el-table-column label="配件" align="center"> |
|||
<template slot-scope="scope"> |
|||
<span>{{ scope.row.partName }}</span> |
|||
</template> |
|||
</el-table-column> |
|||
<el-table-column label="安装至车架号" align="center"> |
|||
<template slot-scope="scope"> |
|||
<span>{{ scope.row.installVinNo }}</span> |
|||
</template> |
|||
</el-table-column> |
|||
<el-table-column label="费用" align="center"> |
|||
<template slot-scope="scope"> |
|||
<span>{{ scope.row.money }}</span> |
|||
</template> |
|||
</el-table-column> |
|||
<el-table-column label="备注" header-align="center" align="left"> |
|||
<template slot-scope="scope"> |
|||
<span>{{ scope.row.remarks }}</span> |
|||
</template> |
|||
</el-table-column> |
|||
</el-table> |
|||
</div> |
|||
<div class="pages"> |
|||
<!-- 翻页 --> |
|||
<pagination v-show="list.length > 0" :total="listQuery.total" :page.sync="listQuery.current" :limit.sync="listQuery.size" class="pagination" @pagination="getList"/> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<!-- End 列表页面 --> |
|||
<el-dialog center :visible.sync="dialogVisible" width="60%"> |
|||
<el-form v-model="formobj" ref="form_obj" class="formadd"> |
|||
<el-row style="border-top: 1px solid #E0E3EB"> |
|||
<el-col :span="4" class="tleftb"> |
|||
<span>来源车架号</span> |
|||
</el-col> |
|||
<el-col :span="8"> |
|||
<el-form-item><span>{{ formobj.sourceVinNo }}</span></el-form-item> |
|||
</el-col> |
|||
<el-col :span="4" class="tleftb"> |
|||
<span>配件</span> |
|||
</el-col> |
|||
<el-col :span="8"> |
|||
<el-form-item><el-input v-model="formobj.partName" placeholder="" clearable class="addinputw"/></el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb"> |
|||
<span>安装至车架号</span> |
|||
</el-col> |
|||
<el-col :span="8"> |
|||
<el-form-item> |
|||
<el-select v-model="formobj.installVinNo" class="addinputw" clearable placeholder="" @change="cahngeInstallVinNo" filterable> |
|||
<el-option v-for="item in installVinNo_list" :key="item.installSid" :label="item.installVinNo" :value="item.installVinNo"/> |
|||
</el-select> |
|||
</el-form-item> |
|||
</el-col> |
|||
<el-col :span="4" class="tleftb"> |
|||
<span>费用</span> |
|||
</el-col> |
|||
<el-col :span="8"> |
|||
<el-form-item><el-input v-model="formobj.money" placeholder="" clearable class="addinputw"/></el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="4" class="tleftb"> |
|||
<span>备注</span> |
|||
</el-col> |
|||
<el-col :span="20"> |
|||
<el-form-item><el-input v-model="formobj.remarks" placeholder="" clearable class="addinputw"/></el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
</el-form> |
|||
<div slot="footer" class="dialog-footer"> |
|||
<el-button @click="handleCancel" size="small">取 消</el-button> |
|||
<el-button type="primary" @click="handleConfirm" size="small">确 定</el-button> |
|||
</div> |
|||
</el-dialog> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
import { listPage, save } from '@/api/cheliang/basevehicle' |
|||
import { getPathSidByUserSid, fetchBySid, fetchVinNoAndVehSid } from '@/api/cheliang/dictcommons' |
|||
import Pagination from '@/components/pagination' |
|||
import pageye from '@/components/pagination/pageye' |
|||
import ButtonBar from '@/components/ButtonBar' |
|||
|
|||
export default { |
|||
name: 'changjiaxitongrenkuan', |
|||
components: { |
|||
Pagination, |
|||
pageye, |
|||
ButtonBar |
|||
}, |
|||
data() { |
|||
return { |
|||
btndisabled: false, |
|||
dialogVisible: false, |
|||
installVinNo_list: [], |
|||
formobj: { |
|||
createOrgName: '', |
|||
createOrgSid: '', |
|||
installSid: '', |
|||
installVinNo: '', |
|||
money: '', |
|||
partName: '', |
|||
sid: '', |
|||
sourceVehSid: '', |
|||
sourceVinNo: '', |
|||
useOrgName: '', |
|||
useOrgSid: '', |
|||
remarks: '' |
|||
}, |
|||
btnList: [ |
|||
{ |
|||
type: 'primary', |
|||
size: 'small', |
|||
icon: 'plus', |
|||
btnKey: 'toAdd', |
|||
btnLabel: '新增' |
|||
}, |
|||
{ |
|||
type: 'info', |
|||
size: 'small', |
|||
icon: 'cross', |
|||
btnKey: 'doClose', |
|||
btnLabel: '关闭' |
|||
} |
|||
], |
|||
isSearchShow: false, |
|||
searchxianshitit: '显示查询条件', |
|||
// 查询条件 ----------- |
|||
tableKey: 0, |
|||
list: [], |
|||
FormLoading: false, |
|||
listLoading: false, |
|||
listQuery: { |
|||
params: { |
|||
sourceVehSid: '', |
|||
createOrgSid: '' |
|||
}, |
|||
current: 1, |
|||
size: 5, |
|||
total: 0 |
|||
}, |
|||
rules: {} |
|||
} |
|||
}, |
|||
created() { |
|||
// 初始化变量 |
|||
this.init() |
|||
}, |
|||
mounted() { |
|||
this.$refs['btnbar'].setButtonList(this.btnList) |
|||
}, |
|||
methods: { |
|||
// 搜索条件效果 |
|||
clicksearchShow() { |
|||
this.isSearchShow = !this.isSearchShow |
|||
if (this.isSearchShow) { |
|||
this.searchxianshitit = '隐藏查询条件' |
|||
} else { |
|||
this.searchxianshitit = '显示查询条件' |
|||
} |
|||
}, |
|||
btnHandle(btnKey) { |
|||
console.log('XXXXXXXXXXXXXXX ' + btnKey) |
|||
switch (btnKey) { |
|||
case 'toAdd': |
|||
this.toAdd() |
|||
break |
|||
case 'doClose': |
|||
this.doClose() |
|||
break |
|||
default: |
|||
break |
|||
} |
|||
}, |
|||
init(value) { |
|||
if (value !== undefined && value !== null) { |
|||
for (var i = 0; i < value.length; i++) { |
|||
this.formobj.sourceVinNo = value[i].vinNo |
|||
this.formobj.sourceVehSid = value[i].sid |
|||
this.listQuery.params.sourceVehSid = value[i].sid |
|||
} |
|||
} |
|||
getPathSidByUserSid({ userSid: window.sessionStorage.getItem('userSid') }).then((res) => { |
|||
if (res.success) { |
|||
this.listQuery.params.createOrgSid = res.data |
|||
this.formobj.createOrgSid = res.data |
|||
this.formobj.useOrgSid = res.data |
|||
fetchVinNoAndVehSid(this.formobj.createOrgSid).then((response) => { |
|||
if (response.success) { |
|||
this.installVinNo_list = response.data |
|||
} |
|||
}) |
|||
fetchBySid(this.formobj.createOrgSid).then((resp) => { |
|||
if (resp.success) { |
|||
this.formobj.createOrgName = resp.data.name |
|||
this.formobj.useOrgName = resp.data.name |
|||
this.getList() |
|||
} |
|||
}) |
|||
} |
|||
}) |
|||
}, |
|||
// 序号 |
|||
indexMethod(index) { |
|||
var pagestart = (this.listQuery.current - 1) * this.listQuery.size |
|||
var pageindex = index + 1 + pagestart |
|||
return pageindex |
|||
}, |
|||
// 查询列表信息 |
|||
getList() { |
|||
this.listLoading = true |
|||
listPage(this.listQuery).then((response) => { |
|||
console.log('列表查询结果:', response) |
|||
this.listLoading = false |
|||
if ( |
|||
response.code === '200' && |
|||
response.data && |
|||
response.data.total > 0 |
|||
) { |
|||
this.list = response.data.records |
|||
this.listQuery.total = response.data.total |
|||
} else { |
|||
this.list = [] |
|||
this.listQuery.total = 0 |
|||
} |
|||
}) |
|||
}, |
|||
// 查询按钮 |
|||
handleFilter() { |
|||
this.listQuery.current = 1 |
|||
this.getList() |
|||
}, |
|||
handleReset() { |
|||
this.listQuery = { |
|||
params: { |
|||
state: 0, |
|||
paymentState: '', |
|||
subscriptionStartDate: '', |
|||
subscriptionEndDate: '', |
|||
proSchAppNo: '', |
|||
applyTypeKey: '', |
|||
createOrgSid: '' |
|||
}, |
|||
current: 1, |
|||
size: 5, |
|||
total: 0 |
|||
} |
|||
this.init() |
|||
}, |
|||
toAdd() { |
|||
this.dialogVisible = true |
|||
}, |
|||
cahngeInstallVinNo(value) { |
|||
let bb = null |
|||
this.installVinNo_list.forEach((e) => { |
|||
if (e.installVinNo === value) { |
|||
bb = { |
|||
value: e.installVinNo, |
|||
sid: e.installSid |
|||
} |
|||
} |
|||
}) |
|||
this.formobj.installVinNo = bb.value |
|||
this.formobj.installSid = bb.sid |
|||
}, |
|||
handleConfirm() { |
|||
save(this.formobj).then((resp) => { |
|||
if (resp.success) { |
|||
this.$message({ showClose: true,type: 'success', message: resp.msg }) |
|||
this.handleCancel() |
|||
this.getList() |
|||
} |
|||
}) |
|||
}, |
|||
handleCancel() { |
|||
this.dialogVisible = false |
|||
this.formobj.money = '' |
|||
this.formobj.partName = '' |
|||
this.formobj.installVinNo = '' |
|||
this.formobj.installSid = '' |
|||
this.formobj.remarks = '' |
|||
}, |
|||
doClose() { |
|||
this.$emit('doback') |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
<style scoped> |
|||
</style> |
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue