|
@@ -6,60 +6,63 @@
|
|
|
var ServiceProduct = {
|
|
|
// 待发货成品
|
|
|
getWatingSendList: function () {
|
|
|
- const productList = [];
|
|
|
- productList.push({
|
|
|
- warehouseName: "A仓库",
|
|
|
- materialCode: "10001",
|
|
|
- materialName: "物料A",
|
|
|
- specs: "3*4",
|
|
|
- sendSum: "10",
|
|
|
- planSendDate: "09月18日"
|
|
|
- });
|
|
|
- productList.push({
|
|
|
- warehouseName: "A仓库",
|
|
|
- materialCode: "10002",
|
|
|
- materialName: "物料B",
|
|
|
- specs: "3*4",
|
|
|
- sendSum: "20",
|
|
|
- planSendDate: "09月18日"
|
|
|
- });
|
|
|
- productList.push({
|
|
|
- warehouseName: "A仓库",
|
|
|
- materialCode: "10003",
|
|
|
- materialName: "物料C",
|
|
|
- specs: "3*4",
|
|
|
- sendSum: "30",
|
|
|
- planSendDate: "09月18日"
|
|
|
- });
|
|
|
- productList.push({
|
|
|
- warehouseName: "B仓库",
|
|
|
- materialCode: "10004",
|
|
|
- materialName: "物料D",
|
|
|
- specs: "3*4",
|
|
|
- sendSum: "40",
|
|
|
- planSendDate: "09月18日"
|
|
|
- });
|
|
|
- productList.push({
|
|
|
- warehouseName: "B仓库",
|
|
|
- materialCode: "10005",
|
|
|
- materialName: "物料E",
|
|
|
- specs: "3*4",
|
|
|
- sendSum: "50",
|
|
|
- planSendDate: "09月18日"
|
|
|
- });
|
|
|
- productList.push({
|
|
|
- warehouseName: "B仓库",
|
|
|
- materialCode: "10006",
|
|
|
- materialName: "物料F",
|
|
|
- specs: "3*4",
|
|
|
- sendSum: "60",
|
|
|
- planSendDate: "09月18日"
|
|
|
- });
|
|
|
- return productList;
|
|
|
+ return getService.methodGet("/fbsDispatchList/fbsDispatchList/getWatingSendList");
|
|
|
+ // const productList = [];
|
|
|
+ // productList.push({
|
|
|
+ // warehouseName: "A仓库",
|
|
|
+ // materialCode: "10001",
|
|
|
+ // materialName: "物料A",
|
|
|
+ // specs: "3*4",
|
|
|
+ // sendSum: "10",
|
|
|
+ // planSendDate: "09月18日"
|
|
|
+ // });
|
|
|
+ // productList.push({
|
|
|
+ // warehouseName: "A仓库",
|
|
|
+ // materialCode: "10002",
|
|
|
+ // materialName: "物料B",
|
|
|
+ // specs: "3*4",
|
|
|
+ // sendSum: "20",
|
|
|
+ // planSendDate: "09月18日"
|
|
|
+ // });
|
|
|
+ // productList.push({
|
|
|
+ // warehouseName: "A仓库",
|
|
|
+ // materialCode: "10003",
|
|
|
+ // materialName: "物料C",
|
|
|
+ // specs: "3*4",
|
|
|
+ // sendSum: "30",
|
|
|
+ // planSendDate: "09月18日"
|
|
|
+ // });
|
|
|
+ // productList.push({
|
|
|
+ // warehouseName: "B仓库",
|
|
|
+ // materialCode: "10004",
|
|
|
+ // materialName: "物料D",
|
|
|
+ // specs: "3*4",
|
|
|
+ // sendSum: "40",
|
|
|
+ // planSendDate: "09月18日"
|
|
|
+ // });
|
|
|
+ // productList.push({
|
|
|
+ // warehouseName: "B仓库",
|
|
|
+ // materialCode: "10005",
|
|
|
+ // materialName: "物料E",
|
|
|
+ // specs: "3*4",
|
|
|
+ // sendSum: "50",
|
|
|
+ // planSendDate: "09月18日"
|
|
|
+ // });
|
|
|
+ // productList.push({
|
|
|
+ // warehouseName: "B仓库",
|
|
|
+ // materialCode: "10006",
|
|
|
+ // materialName: "物料F",
|
|
|
+ // specs: "3*4",
|
|
|
+ // sendSum: "60",
|
|
|
+ // planSendDate: "09月18日"
|
|
|
+ // });
|
|
|
+ // return productList;
|
|
|
},
|
|
|
// 已入库数量
|
|
|
getSendSum: function () {
|
|
|
- return 9;
|
|
|
+ return getService.methodPost("/fbsDispatchList/fbsDispatchList/getSendSum");
|
|
|
+
|
|
|
+ // return 9;
|
|
|
},
|
|
|
// 月成品出货统计,根据成品维度
|
|
|
getMonthSend: function () {
|