|
@@ -308,8 +308,8 @@ var ServiceMaterial={
|
|
// stockSum:"20"
|
|
// stockSum:"20"
|
|
// });
|
|
// });
|
|
|
|
|
|
- var materialList=MethodGetService.methodGet("/fbsMomOrder/fbsMomOrderdetail/getListByOrderSheet?type=3");
|
|
|
|
-
|
|
|
|
|
|
+ // var materialList=MethodGetService.methodGet("/fbsMomOrder/fbsMomOrderdetail/getListByOrderSheet?type=3");
|
|
|
|
+ var materialList=MethodGetService.methodGet("/fbsMomOrder/fbsMomOrderdetail/getListByOrderSheetNow?type=1");
|
|
materialList.forEach(element => {
|
|
materialList.forEach(element => {
|
|
element.orderSheetCode=element.mocode
|
|
element.orderSheetCode=element.mocode
|
|
element.materialCode=element.cinvcode
|
|
element.materialCode=element.cinvcode
|
|
@@ -367,13 +367,15 @@ var ServiceMaterial={
|
|
// stockSum:"20"
|
|
// stockSum:"20"
|
|
// });
|
|
// });
|
|
// var materialList=MethodGetService.methodGet("/fbsMomOrder/fbsMomOrderdetail/getListByOrderSheet?type=2");
|
|
// var materialList=MethodGetService.methodGet("/fbsMomOrder/fbsMomOrderdetail/getListByOrderSheet?type=2");
|
|
- var materialList=MethodGetService.methodGet("/fbsMomOrder/fbsMomOrderdetail/getListByOrderSheetNotEnough");
|
|
|
|
|
|
+ // var materialList=MethodGetService.methodGet("/fbsMomOrder/fbsMomOrderdetail/getListByOrderSheetNotEnough");
|
|
|
|
+
|
|
|
|
+ var materialList=MethodGetService.methodGet("/fbsMomOrder/fbsMomOrderdetail/getListByOrderSheetNow?type=3");
|
|
console.log(materialList)
|
|
console.log(materialList)
|
|
if(materialList){
|
|
if(materialList){
|
|
materialList.forEach(element => {
|
|
materialList.forEach(element => {
|
|
element.orderSheetCode=element.mocode
|
|
element.orderSheetCode=element.mocode
|
|
- element.materialCode=element.cinvcode
|
|
|
|
- element.materialName=element.cinvname
|
|
|
|
|
|
+ element.materialCode=element.mcinvcode
|
|
|
|
+ element.materialName=element.mcinvname
|
|
element.specs=""//element.cinvstd
|
|
element.specs=""//element.cinvstd
|
|
element.needSum=element.qtys
|
|
element.needSum=element.qtys
|
|
element.stockSum=element.issQty
|
|
element.stockSum=element.issQty
|
|
@@ -468,7 +470,8 @@ var ServiceMaterial={
|
|
// stockSum:"20"
|
|
// stockSum:"20"
|
|
// });
|
|
// });
|
|
|
|
|
|
- var materialList=MethodGetService.methodGet("/fbsMomOrder/fbsMomOrderdetail/getListByOrderSheet?type=1");
|
|
|
|
|
|
+ // var materialList=MethodGetService.methodGet("/fbsMomOrder/fbsMomOrderdetail/getListByOrderSheet?type=1");
|
|
|
|
+ var materialList=MethodGetService.methodGet("/fbsMomOrder/fbsMomOrderdetail/getListByOrderSheetNow?type=2");
|
|
|
|
|
|
materialList.forEach(element => {
|
|
materialList.forEach(element => {
|
|
element.orderSheetCode=element.mocode
|
|
element.orderSheetCode=element.mocode
|