Compare commits
2 Commits
80e281515c
...
75c936cd08
Author | SHA1 | Date | |
---|---|---|---|
75c936cd08 | |||
368b3bdb52 |
@ -59,7 +59,7 @@ public class ProductionMaterialsManagementService : IDynamicApiController, ITran
|
|||||||
public async Task<SqlSugarPagedList<ProductionMaterialsManagementOutput>> Page(PageProductionMaterialsManagementInput input)
|
public async Task<SqlSugarPagedList<ProductionMaterialsManagementOutput>> Page(PageProductionMaterialsManagementInput input)
|
||||||
{
|
{
|
||||||
var query = await _obj112Rep.AsQueryable()
|
var query = await _obj112Rep.AsQueryable()
|
||||||
.Where(x => x.CheckedStatus == 7 && x.deleted == false && x.IsLatestVersion == true && x.fld004973=="发布")
|
.Where(x => (x.CheckedStatus == 7 || x.CheckedStatus == 8) && x.deleted == false && x.IsLatestVersion == true && x.fld004973 == "发布")
|
||||||
.WhereIF(!string.IsNullOrWhiteSpace(input._System_objNBS), u => u._System_objNBS.Contains(input._System_objNBS.Trim()))
|
.WhereIF(!string.IsNullOrWhiteSpace(input._System_objNBS), u => u._System_objNBS.Contains(input._System_objNBS.Trim()))
|
||||||
.WhereIF(!string.IsNullOrWhiteSpace(input.fld004598), u => u.fld004598.Contains(input.fld004598.Trim()))
|
.WhereIF(!string.IsNullOrWhiteSpace(input.fld004598), u => u.fld004598.Contains(input.fld004598.Trim()))
|
||||||
.WhereIF(input.fld004609Range != null && input.fld004609Range.Length == 2, u => u.fld004609 >= input.fld004609Range[0] && u.fld004609 <= input.fld004609Range[1])
|
.WhereIF(input.fld004609Range != null && input.fld004609Range.Length == 2, u => u.fld004609 >= input.fld004609Range[0] && u.fld004609 <= input.fld004609Range[1])
|
||||||
@ -204,7 +204,7 @@ public class ProductionMaterialsManagementService : IDynamicApiController, ITran
|
|||||||
});
|
});
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (input[i].fld004607 != "A" || input[i].fld004607 != "M" || input[i].fld004607 == null)
|
if (input[i].fld004607 != "A" || input[i].fld004607 != "M" || input[i].fld004607 == null)
|
||||||
{
|
{
|
||||||
SapOutputList.Add(new SapOutput()
|
SapOutputList.Add(new SapOutput()
|
||||||
{
|
{
|
||||||
@ -292,7 +292,7 @@ public class ProductionMaterialsManagementService : IDynamicApiController, ITran
|
|||||||
public async Task<List<SapOutput>> TimingSyncToSAP()
|
public async Task<List<SapOutput>> TimingSyncToSAP()
|
||||||
{
|
{
|
||||||
var input = await _obj112Rep.AsQueryable()
|
var input = await _obj112Rep.AsQueryable()
|
||||||
.Where(x => x.CheckedStatus == 7 && x.deleted == false && x.IsLatestVersion == true&&(x.fld004607=="A"||x.fld004607 == "M") && x.fld004973 == "发布")
|
.Where(x => (x.CheckedStatus == 7 || x.CheckedStatus == 8) && x.deleted == false && x.IsLatestVersion == true && (x.fld004607 == "A" || x.fld004607 == "M") && x.fld004973 == "发布")
|
||||||
.ToListAsync();
|
.ToListAsync();
|
||||||
const string lengthError = "物料描述长度大于40,请检查!";
|
const string lengthError = "物料描述长度大于40,请检查!";
|
||||||
var SapOutputList = new List<SapOutput>();
|
var SapOutputList = new List<SapOutput>();
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</el-button-group>
|
</el-button-group>
|
||||||
<el-button icon="ele-Coin" @click="openJobCluster" plain> 集群控制 </el-button>
|
<el-button icon="ele-Coin" @click="openJobCluster" plain> 集群控制 </el-button>
|
||||||
<el-button icon="ele-Grid" @click="openJobDashboard" plain> 任务看板 </el-button>
|
<el-button icon="ele-Grid" @click="openJobDashboard" plain style="display: none;"> 任务看板 </el-button>
|
||||||
<el-button-group style="padding-left: 12px">
|
<el-button-group style="padding-left: 12px">
|
||||||
<el-button type="primary" icon="ele-Expand" @click="handleExpand"> 全部展开 </el-button>
|
<el-button type="primary" icon="ele-Expand" @click="handleExpand"> 全部展开 </el-button>
|
||||||
<el-button type="primary" icon="ele-Fold" @click="handleFold"> 全部折叠 </el-button>
|
<el-button type="primary" icon="ele-Fold" @click="handleFold"> 全部折叠 </el-button>
|
||||||
|
Loading…
Reference in New Issue
Block a user