侧边栏壁纸
  • 累计撰写 793 篇文章
  • 累计创建 1 个标签
  • 累计收到 1 条评论
标签搜索

目 录CONTENT

文章目录

文档

Dettan
2021-04-10 / 0 评论 / 0 点赞 / 196 阅读 / 20,997 字
温馨提示:
本文最后更新于 2021-04-10,若内容或图片失效,请留言反馈。部分素材来自网络,若不小心影响到您的利益,请联系我们删除。
http://localhost:8080/account/update?id=21
1.
id: 21
2.
Form Dataview sourceview URL encoded
1.
info: {"name":"fdasda","serialNo":"fsasd","initialAmount":"0.00","currentAmount":"0.00","remark":"asd"}
{"code":200,"data":{"message":"成功"}}

http://localhost:8080/account/batchDeleteAccountByIds
ids: 19
{"msg":"操作成功","code":200}

http://localhost:8080/account/updateAmountIsDefault
1.
accountId: 19
2.
isDefault: true
{"code":200,"data":{"message":"成功"}}

http://localhost:8080/account/list?search={"name"%3A""%2C"serialNo"%3A""%2C"remark"%3A""}¤tPage=1&pageSize=15
1.
search: {"name":"","serialNo":"","remark":""}
2.
currentPage: 1
3.
pageSize: 15
{"code":200,"data":{"page":{"rows":[{"currentamount":754637.000000,"deleteFlag":"0","id":17,"initialamount":0.000000,"isdefault":true,"name":"农商银行","remark":"","serialno":"zzz111","tenantId":63,"thismonthamount":"754637.0"},{"currentamount":-5998.000000,"deleteFlag":"0","id":18,"initialamount":0.000000,"isdefault":false,"name":"建设银行","remark":"","serialno":"1234131324","tenantId":63,"thismonthamount":"-5998.0"},{"currentamount":1.000000,"deleteFlag":"0","id":19,"initialamount":1.000000,"isdefault":false,"name":"欧洲","remark":"111","serialno":"sda","tenantId":63,"thismonthamount":"0"}],"total":3},"message":"成功"}}
http://localhost:8080/account/list?search={"name"%3A""%2C"serialNo"%3A""%2C"remark"%3A""}¤tPage=1&pageSize=15
{"code":200,"data":{"page":{"rows":[{"currentamount":754637.000000,"deleteFlag":"0","id":17,"initialamount":0.000000,"isdefault":true,"name":"农商银行","remark":"","serialno":"zzz111","tenantId":63,"thismonthamount":"754637.0"},{"currentamount":-5998.000000,"deleteFlag":"0","id":18,"initialamount":0.000000,"isdefault":false,"name":"建设银行","remark":"","serialno":"1234131324","tenantId":63,"thismonthamount":"-5998.0"}],"total":2},"message":"成功"}}
供应商
[{"supplier":"天威","id":68},{"supplier":"华信","id":57}]
http://localhost:8080/depotHead/findInDetail?currentPage=1&pageSize=15&organId=&projectId=&depotIds=14%2C15&beginTime=2019-12-01+00%3A00%3A00&endTime=2019-12-11+14%3A47%3A28&type=出库 客户
{"code":200,"data":{"total":10,"rows":[{"tenantId":null,"number":"XSCK00000000341","mname":"华信远光灯","unitPrice":140.000000,"operNumber":100.000000,"allPrice":14000.000000,"sname":"中国和谐修车","dname":"门市","newType":"销售出库","operTime":"2019-12-07","model":"11-1"},{"tenantId":null,"number":"XSCK00000000340","mname":"华信电瓶","unitPrice":900.000000,"operNumber":38.000000,"allPrice":34200.000000,"sname":"黑牛修车","dname":"门市","newType":"销售出库","operTime":"2019-12-06","model":"11-1"},{"tenantId":null,"number":"XSCK00000000333","mname":"天威 刹车灯","unitPrice":19.000000,"operNumber":100.000000,"allPrice":1900.000000,"sname":"小林修车","dname":"门市","newType":"销售出库","operTime":"2019-12-06","model":"11-2"},{"tenantId":null,"number":"XSCK00000000333","mname":"华信远光灯","unitPrice":140.000000,"operNumber":100.000000,"allPrice":14000.000000,"sname":"小林修车","dname":"门市","newType":"销售出库","operTime":"2019-12-06","model":"11-1"},{"tenantId":null,"number":"XSCK00000000333","mname":"华信电瓶","unitPrice":900.000000,"operNumber":40.000000,"allPrice":36000.000000,"sname":"小林修车","dname":"门市","newType":"销售出库","operTime":"2019-12-06","model":"11-1"},{"tenantId":null,"number":"XSCK00000000333","mname":"华信启动器","unitPrice":850.000000,"operNumber":40.000000,"allPrice":34000.000000,"sname":"小林修车","dname":"门市","newType":"销售出库","operTime":"2019-12-06","model":"11-1"},{"tenantId":null,"number":"XSCK00000000332","mname":"华信电瓶","unitPrice":900.000000,"operNumber":20.000000,"allPrice":18000.000000,"sname":"黑牛修车","dname":"门市","newType":"销售出库","operTime":"2019-12-06","model":"11-1"},{"tenantId":null,"number":"XSCK00000000331","mname":"华信启动器","unitPrice":850.000000,"operNumber":10.000000,"allPrice":8500.000000,"sname":"中国和谐修车","dname":"门市","newType":"销售出库","operTime":"2019-12-06","model":"11-1"},{"tenantId":null,"number":"QTCK00000000336","mname":"华信电瓶","unitPrice":900.000000,"operNumber":1.000000,"allPrice":900.000000,"sname":"小林修车","dname":"门市","newType":"其它出库","operTime":"2019-12-06","model":"11-1"},{"tenantId":null,"number":"CGTH00000000328","mname":"华信远光灯","unitPrice":140.000000,"operNumber":3.000000,"allPrice":420.000000,"sname":"华信","dname":"门市","newType":"采购退货出库","operTime":"2019-12-06","model":"11-1"}]}}
账户流水
{"code":200,"data":{"total":10,"rows":[{"number":"CGRK00000000342","type":"采购入库","supplierName":"华信","changeAmount":-680.000000,"balance":-39600.000000,"operTime":"2019-12-07 15:14:24","aList":"","amList":"","tenantId":null},{"number":"XSCK00000000341","type":"销售出库","supplierName":"中国和谐修车","changeAmount":10000.000000,"balance":-38920.000000,"operTime":"2019-12-07 15:02:53","aList":"","amList":"","tenantId":null},{"number":"XSCK00000000340","type":"销售出库","supplierName":"黑牛修车","changeAmount":34200.000000,"balance":-48920.000000,"operTime":"2019-12-06 09:16:34","aList":"","amList":"","tenantId":null},{"number":"XSTH00000000334","type":"销售退货入库","supplierName":"小林修车","changeAmount":-720.000000,"balance":-83120.000000,"operTime":"2019-12-06 09:12:01","aList":"","amList":"","tenantId":null},{"number":"XSCK00000000333","type":"销售出库","supplierName":"小林修车","changeAmount":85900.000000,"balance":-82400.000000,"operTime":"2019-12-06 09:11:17","aList":"","amList":"","tenantId":null},{"number":"XSCK00000000332","type":"销售出库","supplierName":"黑牛修车","changeAmount":18000.000000,"balance":-168300.000000,"operTime":"2019-12-06 09:11:04","aList":"","amList":"","tenantId":null},{"number":"XSCK00000000331","type":"销售出库","supplierName":"中国和谐修车","changeAmount":8500.000000,"balance":-186300.000000,"operTime":"2019-12-06 09:10:48","aList":"","amList":"","tenantId":null},{"number":"CGTH00000000328","type":"采购退货出库","supplierName":"华信","changeAmount":470.400000,"balance":-194800.000000,"operTime":"2019-12-06 09:09:18","aList":"","amList":"","tenantId":null},{"number":"CGRK00000000327","type":"采购入库","supplierName":"天威","changeAmount":-5270.400000,"balance":-195270.400000,"operTime":"2019-12-06 09:08:43","aList":"","amList":"","tenantId":null},{"number":"CGRK00000000326","type":"采购入库","supplierName":"华信","changeAmount":-190000.000000,"balance":-190000.000000,"operTime":"2019-12-06 09:06:08","aList":"","amList":"","tenantId":null}]}}
仓库
{"code":200,"data":[{"id":14,"name":"门市","address":"","warehousing":null,"truckage":null,"type":0,"sort":"","remark":"","principal":63,"tenantId":63,"deleteFlag":"0","isDefault":true},{"id":15,"name":"青州仓库","address":"","warehousing":null,"truckage":null,"type":0,"sort":"","remark":"","principal":131,"tenantId":63,"deleteFlag":"0","isDefault":false}]}
库存状况
{"code":200,
"data":
	{"total":1,
		"rows":[
						{"prevSum":9900.000000,"InSum":0.000000,"MaterialModel":"dsp1","UnitPrice":11.00,"unitName":"个","thisSum":9900.000000,"MaterialOther":"","MaterialColor":"","OutSum":0.000000,"MaterialName":"商品1","thisAllPrice":108900.00000000}
					]
	}
}
total 是总条数 , 分页用,$("#tableData").datagrid('loadData', res.data);就直接用了.

结算账户
{"code":200,"data":{"page":{"rows":[{"currentamount":-99000.000000,"deleteFlag":"0","id":16,"initialamount":0.000000,"isdefault":true,"name":"账户1","remark":"","serialno":"1231241244","tenantId":115,"thismonthamount":"0"}],"total":1},"message":"成功"}}

进货统计
{"code":200,"data":{"total":1,"rows":[{"InSum":0.000000,"OutSumPrice":0.000000,"MaterialModel":"dsp1","UName":null,"InSumPrice":0.000000,"MaterialOther":"","MaterialColor":"","OutSum":0.000000,"MaterialUnit":"个","MaterialName":"商品1"}]}}


销售统计
{"code":200,"data":{"total":1,"rows":[{"OutInSumPrice":0.000000,"InSum":0.000000,"OutSumPrice":0.000000,"MaterialModel":"dsp1","UName":null,"InSumPrice":0.000000,"MaterialOther":"","MaterialColor":"","OutSum":0.000000,"MaterialUnit":"个","MaterialName":"商品1"}]}}


入库明细
{"code":200,"data":{"total":1,"rows":[{"tenantId":null,"number":"CGRK00000000317","operTime":"2019-11-29","allPrice":110000.000000,"unitPrice":11.000000,"mname":"商品1","model":"dsp1","operNumber":10000.000000,"sname":"供应商1","dname":"仓库1","newType":"采购入库"}]}}


出库明细
{"code":200,"data":{"total":1,"rows":[{"tenantId":null,"number":"XSCK00000000318","operTime":"2019-11-29","allPrice":11000.000000,"unitPrice":110.000000,"mname":"商品1","model":"dsp1","operNumber":100.000000,"sname":"客户666","dname":"仓库1","newType":"销售出库"}]}}


入库汇总
{"code":200,"data":{"total":1,"rows":[{"mName":"商品1","categoryName":null,"numSum":10000.000000,"priceSum":110000.000000,"tenantId":null,"model":"dsp1","materialId":567}]}}


出库汇总
{"code":200,"data":{"total":1,"rows":[{"mName":"商品1","categoryName":null,"numSum":100.000000,"priceSum":11000.000000,"tenantId":null,"model":"dsp1","materialId":567}]}}


客户对账
{"code":200,"data":{"total":1,"rows":[{"number":"XSCK00000000318","type":"销售出库","discountLastMoney":11000.000000,"changeAmount":11000.000000,"allPrice":0.0,"supplierName":"客户666","oTime":"2019-11-29 16:30:17","tenantId":null}]}}

"number":"XSCK00000000318",
"type":"销售出库",
"discountLastMoney":11000,
"changeAmount":11000,
"allPrice":0,
"supplierName":"客户666",
"oTime":"2019-11-29 16:30:17",
"tenantId":null


供应商对账
{"code":200,"data":{"total":1,"rows":[{"number":"CGRK00000000317","type":"采购入库","discountLastMoney":110000.000000,"changeAmount":110000.000000,"allPrice":0.0,"supplierName":"供应商1","oTime":"2019-11-29 16:28:30","tenantId":null}]}}

"number":"CGRK00000000317",
"type":"采购入库",
"discountLastMoney":110000,
"changeAmount":110000,
"allPrice":0,
"supplierName":"供应商1",
"oTime":"2019-11-29 16:28:30",
"tenantId":null


库存预警
{"code":200,"data":{"total":1,"rows":[{"categoryName":null,"safetystock":0.000000,"materialUnit":"个","materialName":"商品1","materialModel":"dsp1","materialOther":"()()","basicInNumber":10000.000000,"basicNumber":9900.000000,"basicOutNumber":100.000000,"basicLinjieNumber":9900.000000}]}}

0

评论区