Administrator 4 years ago
parent
commit
b2dc12b11b
  1. 21
      src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountImportDto.cs
  2. 6
      src/Modules/SettleAccount/src/SettleAccount.Application/Entities/UnSettleAccounts/UnSettleAccountAppService.cs
  3. 28
      src/Modules/SettleAccount/src/SettleAccount.Application/SettleAccountApplicationAutoMapperProfile.cs
  4. 6
      src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/UnSettleAccounts/UnSettleAccount.cs
  5. 33
      src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/UnSettleAccount/UnSettleAccountVersionRepository.cs
  6. 4
      src/Modules/SettleAccount/src/SettleAccount.Job/Services/UnSettleAccount/UnSettleAccountImportService.cs
  7. 5
      src/Modules/SettleAccount/src/SettleAccount.Job/SettleAccountJobModule.cs
  8. 2
      vue/src/router/modules/vwFisData.js
  9. 50
      vue/src/views/pg-fis/basedate/assemblyCfg/index.vue
  10. 137
      vue/src/views/pg-fis/basedate/m100BIll/index.vue
  11. 26
      vue/src/views/pg-fis/basedate/m100Online/index.vue
  12. 89
      vue/src/views/pg-fis/basedate/productLine/index.vue
  13. 26
      vue/src/views/pg-fis/basedate/r100Online/index.vue
  14. 7
      vue/src/views/ux/vw/dataInput/r3-open/index.vue
  15. 2
      vue/src/views/ux/vw/dataInput/r3/index.vue
  16. 10
      vue/static/tableFieldForSearch.json

21
src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountImportDto.cs

@ -1,4 +1,5 @@
using System; using Magicodes.ExporterAndImporter.Core;
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
@ -13,59 +14,69 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
/// <summary> /// <summary>
/// 期间 /// 期间
/// </summary> /// </summary>
public string Period { set; get; } // public string Period { set; get; }
/// <summary> /// <summary>
/// 年份 /// 年份
/// </summary> /// </summary>
[ImporterHeader(Name = "年份")]
public string SettleYear { set; get; } public string SettleYear { set; get; }
/// <summary> /// <summary>
/// 年份 /// 年份
/// </summary> /// </summary>
public virtual string Year { set; get; } //public virtual string Year { set; get; }
/// <summary> /// <summary>
/// KENEN号 /// KENEN号
/// </summary> /// </summary>
[ImporterHeader(Name = "KENN号")]
public virtual string KENNCode { set; get; } public virtual string KENNCode { set; get; }
/// <summary> /// <summary>
/// 底盘号 /// 底盘号
/// </summary> /// </summary>
[ImporterHeader(Name = "底盘号")]
public virtual string ChassisNumber { set; get; } public virtual string ChassisNumber { set; get; }
/// <summary> /// <summary>
/// 车型 /// 车型
/// </summary> /// </summary>
[ImporterHeader(Name = "车型")]
public virtual string Model { set; get; } public virtual string Model { set; get; }
/// <summary> /// <summary>
/// CP5A日期 /// CP5A日期
/// </summary> /// </summary>
[ImporterHeader(Name = "CP5A日期")]
public virtual DateTime CP5A { set; get; } public virtual DateTime CP5A { set; get; }
/// <summary> /// <summary>
/// CP7 /// CP7
/// </summary> /// </summary>
public virtual DateTime CP7 { set; get; } [ImporterHeader(Name = "CP7日期")]
public virtual DateTime? CP7 { set; get; }
/// <summary> /// <summary>
/// 零件号 /// 零件号
/// </summary> /// </summary>
[ImporterHeader(Name = "零件号",FixAllSpace =true)]
public virtual string MaterialCode { get; set; } public virtual string MaterialCode { get; set; }
/// <summary> /// <summary>
/// 数量 /// 数量
/// </summary> /// </summary>
[ImporterHeader(Name = "数量")]
public virtual decimal Qty { get; set; } public virtual decimal Qty { get; set; }
/// <summary> /// <summary>
/// 结算标识 /// 结算标识
/// </summary> /// </summary>
[ImporterHeader(Name = "结算标识")]
public virtual string SettlementID { get; set; } public virtual string SettlementID { get; set; }
/// <summary> /// <summary>
/// 结算供应商 /// 结算供应商
/// </summary> /// </summary>
[ImporterHeader(Name = "结算供应商")]
public virtual string SettlementSupplier { get; set; } public virtual string SettlementSupplier { get; set; }
/// <summary> /// <summary>
/// 未结算原因 /// 未结算原因
/// </summary> /// </summary>
[ImporterHeader(Name = "未结算原因")]
public string UnsettledReason { get; set; } public string UnsettledReason { get; set; }
} }
} }

6
src/Modules/SettleAccount/src/SettleAccount.Application/Entities/UnSettleAccounts/UnSettleAccountAppService.cs

@ -101,13 +101,15 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
[Route("ExcelImport")] [Route("ExcelImport")]
[DisableRequestSizeLimit] [DisableRequestSizeLimit]
//[Authorize(SettleAccountPermissions.SettleAccounts.Default)] //[Authorize(SettleAccountPermissions.SettleAccounts.Default)]
public async Task<string> UnSettleAccountUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode, string factory) public async Task<string> UnSettleAccountUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId,
string year, string period, string version, string customerCode, string factory)
{ {
List<CustomCondition> customConditionList = new List<CustomCondition>(); List<CustomCondition> customConditionList = new List<CustomCondition>();
customConditionList.Add(new CustomCondition() { Name = "Version", Value = version }); customConditionList.Add(new CustomCondition() { Name = "Version", Value = version });
customConditionList.Add(new CustomCondition() { Name = "CustomerCode", Value = customerCode }); customConditionList.Add(new CustomCondition() { Name = "CustomerCode", Value = customerCode });
customConditionList.Add(new CustomCondition() { Name = "Factory", Value = customerCode }); customConditionList.Add(new CustomCondition() { Name = "Year", Value = year });
customConditionList.Add(new CustomCondition() { Name = "Factory", Value = factory });
var _taskid = await _service.ImportEnqueueAsync<ImportTaskArgs>(files, "大众FIS未结算明细", CurrentUser, typeof(UnSettleAccountImportService), customConditionList, (rs) => { var _taskid = await _service.ImportEnqueueAsync<ImportTaskArgs>(files, "大众FIS未结算明细", CurrentUser, typeof(UnSettleAccountImportService), customConditionList, (rs) => {
}); });

28
src/Modules/SettleAccount/src/SettleAccount.Application/SettleAccountApplicationAutoMapperProfile.cs

@ -201,8 +201,10 @@ namespace Win.Sfs.SettleAccount
CreateMapScrapClaimsVersion(); CreateMapScrapClaimsVersion();
CreateMapSparePart(); CreateMapSparePart();
CreateMapSparePartVersion(); CreateMapSparePartVersion();
CreateMapSettleAccount(); CreateMapSettleAccount();
CreateMapSettleAccountVersion(); CreateMapSettleAccountVersion();
CreateMapUnSettleAccount(); CreateMapUnSettleAccount();
CreateMapUnSettleAccountVersion(); CreateMapUnSettleAccountVersion();
@ -353,27 +355,23 @@ namespace Win.Sfs.SettleAccount
/// </summary> /// </summary>
private void CreateMapUnSettleAccount() private void CreateMapUnSettleAccount()
{ {
CreateMap<Win.Sfs.SettleAccount.Entities.SettleAccounts.SettleAccount, Win.Sfs.SettleAccount.Entities.SettleAccounts.SettleAccountDto>().ReverseMap(); CreateMap<UnSettleAccount, UnSettleAccountDto>().ReverseMap();
CreateMap<Win.Sfs.SettleAccount.Entities.SettleAccounts.SettleAccount, Win.Sfs.SettleAccount.Entities.SettleAccounts.SettleAccountCreateDto>(); CreateMap<UnSettleAccount, UnSettleAccountCreateDto>();
CreateMap<Win.Sfs.SettleAccount.Entities.SettleAccounts.SettleAccount, Win.Sfs.SettleAccount.Entities.SettleAccounts.SettleAccountUpdateDto>(); CreateMap<UnSettleAccount, UnSettleAccountUpdateDto>();
CreateMap<UnSettleAccount,UnSettleAccountExportDto>();
CreateMap<Win.Sfs.SettleAccount.Entities.SettleAccounts.SettleAccount, Win.Sfs.SettleAccount.Entities.SettleAccounts.SettleAccountExportDto>(); CreateMap<UnSettleAccountCreateDto, UnSettleAccount>();
CreateMap<UnSettleAccountUpdateDto, UnSettleAccount>();
CreateMap<Win.Sfs.SettleAccount.Entities.SettleAccounts.SettleAccountCreateDto, Win.Sfs.SettleAccount.Entities.SettleAccounts.SettleAccount>();
CreateMap<Win.Sfs.SettleAccount.Entities.SettleAccounts.SettleAccountUpdateDto, Win.Sfs.SettleAccount.Entities.SettleAccounts.SettleAccount>();
} }
/// <summary> /// <summary>
/// 大众FIS未结算明细导入-版本 /// 大众FIS未结算明细导入-版本
/// </summary> /// </summary>
private void CreateMapUnSettleAccountVersion() private void CreateMapUnSettleAccountVersion()
{ {
CreateMap<Win.Sfs.SettleAccount.Entities.SettleAccounts.SettleAccountVersion, SettleAccountVersionDto>().ReverseMap(); CreateMap<UnSettleAccountVersion, UnSettleAccountVersionDto>().ReverseMap();
CreateMap<Win.Sfs.SettleAccount.Entities.SettleAccounts.SettleAccountVersion, SettleAccountVersionCreateDto>(); CreateMap<UnSettleAccountVersion, UnSettleAccountVersionCreateDto>();
CreateMap<Win.Sfs.SettleAccount.Entities.SettleAccounts.SettleAccountVersion, SettleAccountVersionUpdateDto>(); CreateMap<UnSettleAccountVersion, UnSettleAccountVersionUpdateDto>();
CreateMap<SettleAccountVersionCreateDto, Win.Sfs.SettleAccount.Entities.SettleAccounts.SettleAccount>(); CreateMap<UnSettleAccountVersionCreateDto, UnSettleAccount>();
CreateMap<SettleAccountVersionUpdateDto, Win.Sfs.SettleAccount.Entities.SettleAccounts.SettleAccount>(); CreateMap<UnSettleAccountVersionUpdateDto, UnSettleAccount>();
} }

6
src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/UnSettleAccounts/UnSettleAccount.cs

@ -47,9 +47,9 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
/// </summary> /// </summary>
public DateTime CP5A { set; get; } public DateTime CP5A { set; get; }
/// <summary> /// <summary>
/// CP7日期 /// CP7日期,可空
/// </summary> /// </summary>
public DateTime CP7 { set; get; } public DateTime? CP7 { set; get; }
/// <summary> /// <summary>
/// 零件号 /// 零件号
@ -102,7 +102,7 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
public UnSettleAccount( public UnSettleAccount(
Guid id, Guid id,
Guid branchId, Guid branchId,
string year, string kENNCode, string chassisNumber, string model, DateTime cP5A, DateTime cP7, string materialCode, decimal qty, string settlementID, string settlementSupplier, string period,string settleYear, Guid parentId,string version , DateTime creationTime, Guid guid,string reason) :base(id) string year, string kENNCode, string chassisNumber, string model, DateTime cP5A, DateTime? cP7, string materialCode, decimal qty, string settlementID, string settlementSupplier, string period,string settleYear, Guid parentId,string version , DateTime creationTime, Guid guid,string reason) :base(id)
{ {
BranchId = branchId; BranchId = branchId;
Year = year; Year = year;

33
src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/UnSettleAccount/UnSettleAccountVersionRepository.cs

@ -17,7 +17,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccount
{ {
public class UnSettleAccountVersionRepository : EfCoreRepository<SettleAccountDbContext, SettleAccountVersion>, ITransientDependency public class UnSettleAccountVersionRepository : EfCoreRepository<SettleAccountDbContext, UnSettleAccountVersion>, ITransientDependency
{ {
public UnSettleAccountVersionRepository(IDbContextProvider<SettleAccountDbContext> dbContextProvider) : base(dbContextProvider) public UnSettleAccountVersionRepository(IDbContextProvider<SettleAccountDbContext> dbContextProvider) : base(dbContextProvider)
{ {
@ -37,19 +37,18 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccount
} }
return true; return true;
} }
public virtual bool Insert(Guid guid, string p_version, string p_customCode, string p_factory)
public virtual bool Insert(string p_version,string p_customCode,string p_factory)
{ {
try try
{ {
DbContext.Database.SetCommandTimeout(1200); DbContext.Database.SetCommandTimeout(1200);
var _first= GetQueryable().FirstOrDefault(p => p.Version == p_version); var _first = GetQueryable().FirstOrDefault(p => p.Version == p_version);
if (_first == null) if (_first == null)
{ {
var version = new SettleAccountVersion(GuidGenerator.Create(), GuidGenerator.Create(), DateTime.Now.Year.ToString(), DateTime.Now.Month.ToString(), p_version, p_customCode, p_factory); var version = new UnSettleAccountVersion(guid, GuidGenerator.Create(), DateTime.Now.Year.ToString(), DateTime.Now.Month.ToString(), p_version, p_customCode, p_factory);
List<SettleAccountVersion> _ls = new List<SettleAccountVersion>(); List<UnSettleAccountVersion> _ls = new List<UnSettleAccountVersion>();
_ls.Add(version); _ls.Add(version);
DbContext.BulkInsert(_ls) ; DbContext.BulkInsert(_ls);
} }
} }
catch (Exception e) catch (Exception e)
@ -58,5 +57,25 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccount
} }
return true; return true;
} }
//public virtual bool Insert(string p_version,string p_customCode,string p_factory)
//{
// try
// {
// DbContext.Database.SetCommandTimeout(1200);
// var _first= GetQueryable().FirstOrDefault(p => p.Version == p_version);
// if (_first == null)
// {
// var version = new UnSettleAccountVersion(GuidGenerator.Create(), GuidGenerator.Create(), DateTime.Now.Year.ToString(), DateTime.Now.Month.ToString(), p_version, p_customCode, p_factory);
// List<UnSettleAccountVersion> _ls = new List<UnSettleAccountVersion>();
// _ls.Add(version);
// DbContext.BulkInsert(_ls) ;
// }
// }
// catch (Exception e)
// {
// throw e;
// }
// return true;
//}
} }
} }

4
src/Modules/SettleAccount/src/SettleAccount.Job/Services/UnSettleAccount/UnSettleAccountImportService.cs

@ -42,7 +42,7 @@ namespace TaskJob.Services
var version = customConditions.Where(p => p.Name == "Version").FirstOrDefault().Value; var version = customConditions.Where(p => p.Name == "Version").FirstOrDefault().Value;
var customerCode = customConditions.Where(p => p.Name == "CustomerCode").FirstOrDefault().Value; var customerCode = customConditions.Where(p => p.Name == "CustomerCode").FirstOrDefault().Value;
var year = customConditions.Where(p => p.Name == "Year").FirstOrDefault().Value; var year = customConditions.Where(p => p.Name == "Year").FirstOrDefault().Value;
var period = customConditions.Where(p => p.Name == "Period").FirstOrDefault().Value; //var period = customConditions.Where(p => p.Name == "Period").FirstOrDefault().Value;
var factory = customConditions.Where(p => p.Name == "Factory").FirstOrDefault().Value; var factory = customConditions.Where(p => p.Name == "Factory").FirstOrDefault().Value;
//_versionRepository.Delete(version); //_versionRepository.Delete(version);
//_repository.Delete(version); //_repository.Delete(version);
@ -85,7 +85,7 @@ namespace TaskJob.Services
where g.Count() > 1 where g.Count() > 1
select g; select g;
_repository.Insert(_setls); _repository.Insert(_setls);
_versionRepository.Insert(version, customerCode, customerCode); _versionRepository.Insert(_id, version, customerCode, customerCode);
#region #region

5
src/Modules/SettleAccount/src/SettleAccount.Job/SettleAccountJobModule.cs

@ -56,7 +56,10 @@ namespace Win.Sfs.SettleAccount
{ {
return implementationFactory.GetService<SettleAccountImportService>(); return implementationFactory.GetService<SettleAccountImportService>();
} }
if (key.Equals(typeof(UnSettleAccountImportService).FullName))
{
return implementationFactory.GetService<UnSettleAccountImportService>();
}
if (key.Equals(typeof(InvoiceImportService).FullName)) if (key.Equals(typeof(InvoiceImportService).FullName))
{ {
return implementationFactory.GetService<InvoiceImportService>(); return implementationFactory.GetService<InvoiceImportService>();

2
vue/src/router/modules/vwFisData.js

@ -17,7 +17,7 @@ const vwFisDataRouter = {
}, },
children: [ children: [
{ {
path: '/settleAccount', path: '/unSettleAccount',
component: () => import('@/views/ux/vw/dataInput/r3-open'), component: () => import('@/views/ux/vw/dataInput/r3-open'),
name: 'SettleAccount',//命名路由 name: 'SettleAccount',//命名路由
meta: { meta: {

50
vue/src/views/pg-fis/basedate/assemblyCfg/index.vue

@ -41,8 +41,11 @@
style="margin-right: 15px" style="margin-right: 15px"
@change="valueselectChange" @change="valueselectChange"
> >
<el-option label="结算" value="R0003"></el-option> <el-option
<el-option label="二配" value="R0001"></el-option> v-for="item in vehicleModelList"
:key="item.id"
:label="item.dicItemName"
:value="item.dicItemCode"/>
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -221,7 +224,7 @@
</el-col> </el-col>
</el-row> </el-row>
<el-row> <!-- <el-row>
<el-col :span="4"> <el-col :span="4">
<el-form-item label="总成类型:" required /> <el-form-item label="总成类型:" required />
</el-col> </el-col>
@ -234,7 +237,7 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row> -->
<el-row> <el-row>
<el-col :span="4"> <el-col :span="4">
@ -242,11 +245,17 @@
</el-col> </el-col>
<el-col :span="20"> <el-col :span="20">
<el-form-item prop="vehicleModel"> <el-form-item prop="vehicleModel">
<el-input <el-select
style="width: 200px" style="width: 200px"
v-model="form.model" v-model="form.vehicleModel"
:disabled="isEdit" :disabled="isEdit"
/> >
<el-option
v-for="item in vehicleModelList"
:key="item.id"
:label="item.dicItemName"
:value="item.dicItemCode"/>
</el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -428,6 +437,9 @@ export default {
erpAssemblyCode: undefined, erpAssemblyCode: undefined,
erpAssemblyName: undefined, erpAssemblyName: undefined,
}, },
vehicleModelQuery:{
dicTypeName:"派格车型",
},
form:{ form:{
details:[] details:[]
}, },
@ -444,7 +456,8 @@ export default {
dialogFormVisible: false, dialogFormVisible: false,
tableHeight: document.documentElement.clientHeight - 280, tableHeight: document.documentElement.clientHeight - 280,
detailTableHeight:250, detailTableHeight:250,
details:[] // details:[], //
vehicleModelList:[],//list
}; };
}, },
mounted() { mounted() {
@ -458,6 +471,7 @@ export default {
}); });
}, },
created() { created() {
this.getvehicleModel();
this.getList(); this.getList();
}, },
computed: { computed: {
@ -548,6 +562,7 @@ export default {
this.isEdit = false; this.isEdit = false;
this.form = {}; this.form = {};
this.details = []; this.details = [];
//this.getvehicleModel();
this.dialogFormVisible = true; this.dialogFormVisible = true;
}, },
/** 修改 */ /** 修改 */
@ -555,6 +570,7 @@ export default {
this.formTitle = "修改"; this.formTitle = "修改";
this.isEdit = true; this.isEdit = true;
this.details = []; this.details = [];
//this.getvehicleModel();
if (this.multipleSelection.length != 1) { if (this.multipleSelection.length != 1) {
this.$message({ this.$message({
message: "编辑必须选择单行", message: "编辑必须选择单行",
@ -661,7 +677,9 @@ export default {
this.listQuery.ErpAssemblyName = ""; this.listQuery.ErpAssemblyName = "";
this.listQuery.ErpAssemblyCode = ""; this.listQuery.ErpAssemblyCode = "";
this.listQuery.vehicleModelCode = ""; this.listQuery.vehicleModelCode = "";
this.getvehicleModel();
this.handleQuery(); this.handleQuery();
}, },
/** 搜索按钮操作 */ /** 搜索按钮操作 */
handleQuery() { handleQuery() {
@ -690,7 +708,9 @@ export default {
} }
}, },
/*添加明细空行*/
handleAddDetails() { handleAddDetails() {
this.$forceUpdate();
if (this.form.details === undefined) { if (this.form.details === undefined) {
this.form.details = []; this.form.details = [];
//console.log(679); //console.log(679);
@ -815,6 +835,20 @@ export default {
this.$refs.multipleTable.clearSelection(); this.$refs.multipleTable.clearSelection();
this.$refs.multipleTable.toggleRowSelection(row); this.$refs.multipleTable.toggleRowSelection(row);
}, },
getvehicleModel()
{
this.$axios
.gets(
"/api/newjit/dic/list",this.vehicleModelQuery
)
.then((response) => {
//console.log(response);
this.vehicleModelList = response.item;
//console.log()
})
.catch(() => {
});
},
}, },
}; };
</script> </script>

137
vue/src/views/pg-fis/basedate/m100BIll/index.vue

@ -19,9 +19,11 @@
style="margin-right: 15px" style="margin-right: 15px"
@change="ptypeselectChange" @change="ptypeselectChange"
> >
<el-option label="0" value="0"></el-option> <el-option
<el-option label="1" value="1"></el-option> v-for="item in productTypeList"
<el-option label="2" value="2"></el-option> :key="item.id"
:label="item.name"
:value="item.id" />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="" prop="productLine"> <el-form-item label="" prop="productLine">
@ -34,10 +36,10 @@
@change="valueselectChange" @change="valueselectChange"
> >
<el-option <el-option
v-for="item in PLList" v-for="item in PLChildList"
:key="item.productLineCode" :key="item.id"
:label="item.productLineName" :label="item.productLineName"
:value="item.productLineCode"/> :value="item.id"/>
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -269,10 +271,10 @@
> >
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="KNR:" prop="erpAssemblyCode" required > <el-form-item label="KNR:" prop="knr" required >
<el-input <el-input
style="width: 350px" style="width: 350px"
v-model="form.erpAssemblyCode" v-model="form.knr"
:disabled="isEdit" :disabled="isEdit"
placeholder="请选择添加M100信息对应的KNR号" placeholder="请选择添加M100信息对应的KNR号"
/> />
@ -282,19 +284,25 @@
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="车型:" prop="vehicleModel" required > <el-form-item label="车型:" prop="vehicleModelCode" required >
<el-select <el-select
style="width: 350px" style="width: 350px"
v-model="form.model" v-model="form.vehicleModelCode"
:disabled="isEdit" :disabled="isEdit"
/> >
<el-option
v-for="item in vehicleModelList"
:key="item.id"
:label="item.dicItemName"
:value="item.dicItemCode"/>
</el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="底盘号:" prop="erpAssemblyCode" required > <el-form-item label="底盘号:" prop="vin" required >
<el-input <el-input
style="width: 350px" style="width: 350px"
v-model="form.erpAssemblyCode" v-model="form.vin"
:disabled="isEdit" :disabled="isEdit"
/> />
</el-form-item> </el-form-item>
@ -303,10 +311,10 @@
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="大众顺序号:" prop="vehicleModel" required > <el-form-item label="大众顺序号:" prop="hostSN" required >
<el-input <el-input
style="width: 350px" style="width: 350px"
v-model="form.model" v-model="form.hostSN"
:disabled="isEdit" :disabled="isEdit"
/> />
</el-form-item> </el-form-item>
@ -341,7 +349,7 @@
element-loading-text="拼命加载中..." element-loading-text="拼命加载中..."
element-loading-spinner="el-icon-loading" element-loading-spinner="el-icon-loading"
class="cr-table" class="cr-table"
:data="form.details" :data="form.leftdetails"
:height="detailTableHeight" :height="detailTableHeight"
:cell-style="cellStyle" :cell-style="cellStyle"
:header-cell-style="headerRowStyle" :header-cell-style="headerRowStyle"
@ -353,15 +361,15 @@
@row-click="handleRowClick" @row-click="handleRowClick"
> >
<!-- <el-table-column type="selection" width="44px"></el-table-column> --> <!-- <el-table-column type="selection" width="44px"></el-table-column> -->
<el-table-column prop="partCode" label="ERP总成编号" width="150px" > <el-table-column prop="erpAssemblyCode" label="ERP总成编号" width="150px" >
<template slot-scope="scope"> <!-- <template slot-scope="scope">
<el-input v-model="scope.row.partCode" size="mini" style="width:135px"></el-input> <el-input v-model="scope.row.erpAssemblyCode" size="mini" style="width:135px"></el-input>
</template> </template> -->
</el-table-column> </el-table-column>
<el-table-column prop="partName" label="ERP总成名称"> <el-table-column prop="erpAssemblyName" label="ERP总成名称">
<template slot-scope="scope"> <!-- <template slot-scope="scope">
<el-input v-model="scope.row.partName" size="mini"></el-input> <el-input v-model="scope.row.erpAssemblyName" size="mini"></el-input>
</template> </template> -->
</el-table-column> </el-table-column>
<el-table-column prop="description" width="35px"> <el-table-column prop="description" width="35px">
<template slot="header"> <template slot="header">
@ -375,7 +383,7 @@
</el-row> </el-row>
<el-divider class="divider2" content-position="left">添加ERP总成</el-divider> <el-divider class="divider2" content-position="left">添加ERP总成</el-divider>
<el-row> <el-row>
<el-form-item label="ERP总成编码:" prop="erpAssemblyCode" required > <el-form-item label="ERP总成编码:" prop="erpAssemblyCode" >
<el-input <el-input
style="width: 315px" style="width: 315px"
v-model="form.erpAssemblyCode" v-model="form.erpAssemblyCode"
@ -385,7 +393,7 @@
</el-form-item> </el-form-item>
</el-row> </el-row>
<el-row> <el-row>
<el-form-item label="ERP总成名称:" prop="erpAssemblyName" required > <el-form-item label="ERP总成名称:" prop="erpAssemblyName" >
<el-input <el-input
style="width: 315px" style="width: 315px"
v-model="form.erpAssemblyName" v-model="form.erpAssemblyName"
@ -395,17 +403,23 @@
</el-form-item> </el-form-item>
</el-row> </el-row>
<el-row> <el-row>
<el-form-item label="车型:" prop="erpAssemblyName" required > <el-form-item label="车型:" prop="vehicleModel" >
<el-select <el-select
style="width: 315px" style="width: 315px"
v-model="form.erpAssemblyName" v-model="form.vehicleModel"
:disabled="isEdit" :disabled="isEdit"
placeholder="请输入总成名称" placeholder="请输入总成名称"
/> >
<el-option
v-for="item in vehicleModelList"
:key="item.id"
:label="item.dicItemName"
:value="item.dicItemCode"/>
</el-select>
</el-form-item> </el-form-item>
</el-row> </el-row>
<div style="text-align:center;margin: 0px;margin-bottom: 15px;"> <div style="text-align:center;margin: 0px;margin-bottom: 15px;">
<el-button type="primary">添加总成</el-button> <el-button type="primary" @click="leftclick">添加总成</el-button>
</div> </div>
</div> </div>
</el-col> </el-col>
@ -423,7 +437,7 @@
element-loading-text="拼命加载中..." element-loading-text="拼命加载中..."
element-loading-spinner="el-icon-loading" element-loading-spinner="el-icon-loading"
class="cr-table" class="cr-table"
:data="form.details" :data="form.rightdetails"
:height="detailTableHeight" :height="detailTableHeight"
:cell-style="cellStyle" :cell-style="cellStyle"
:header-cell-style="headerRowStyle" :header-cell-style="headerRowStyle"
@ -462,27 +476,27 @@
</el-row> </el-row>
<el-divider class="divider2" content-position="left">添加ERP结算件</el-divider> <el-divider class="divider2" content-position="left">添加ERP结算件</el-divider>
<el-row> <el-row>
<el-form-item label="客户零件代码:" prop="customerPartCode" required > <el-form-item label="客户零件代码:" prop="customerPartCode" >
<el-input <el-input
style="width: 315px" style="width: 315px"
v-model="form.erpAssemblyCode" v-model="form.customerPartCode"
:disabled="isEdit" :disabled="isEdit"
placeholder="请输入客户零件代码" placeholder="请输入客户零件代码"
/> />
</el-form-item> </el-form-item>
</el-row> </el-row>
<el-row> <el-row>
<el-form-item label="客户零件名称:" prop="customerPartName" required > <el-form-item label="客户零件名称:" prop="customerPartName" >
<el-input <el-input
style="width: 315px" style="width: 315px"
v-model="form.erpAssemblyName" v-model="form.customerPartName"
:disabled="isEdit" :disabled="isEdit"
placeholder="请输入总成名称" placeholder="请输入总成名称"
/> />
</el-form-item> </el-form-item>
</el-row> </el-row>
<el-row> <el-row>
<el-form-item label="数量:" prop="partQty" required > <el-form-item label="数量:" prop="partQty" >
<el-input-number <el-input-number
style="width: 315px" style="width: 315px"
v-model="form.partQty" v-model="form.partQty"
@ -634,11 +648,12 @@ export default {
erpAssemblyName: undefined, erpAssemblyName: undefined,
}, },
listPLQuery:{ listPLQuery:{
BillType: 1, BillType: 2,
//UserId: "00000000-0000-0000-0000-000000000000", //UserId: "00000000-0000-0000-0000-000000000000",
}, },
form:{ form:{
details:[] leftdetails:[],
rightdetails:[],
}, },
page: 1, page: 1,
// //
@ -654,6 +669,12 @@ export default {
detailTableHeight:250, detailTableHeight:250,
details:[], // details:[], //
PLList:[],//线 PLList:[],//线
PLChildList:[],//线
vehicleModelQuery:{
dicTypeName:"派格车型",
},
vehicleModelList:[],//list
productTypeList:[{id:1,name:'门板'},{id:2,name:'柱护板'}]
}; };
}, },
mounted() { mounted() {
@ -790,6 +811,7 @@ export default {
this.isEdit = false; this.isEdit = false;
this.form = {}; this.form = {};
this.details = []; this.details = [];
this.getvehicleModel();
this.dialogFormVisible = true; this.dialogFormVisible = true;
}, },
/** 修改 */ /** 修改 */
@ -797,6 +819,7 @@ export default {
this.formTitle = "修改"; this.formTitle = "修改";
this.isEdit = true; this.isEdit = true;
this.details = []; this.details = [];
this.getvehicleModel();
if (this.multipleSelection.length != 1) { if (this.multipleSelection.length != 1) {
this.$message({ this.$message({
message: "编辑必须选择单行", message: "编辑必须选择单行",
@ -987,7 +1010,7 @@ export default {
this.listLoading = true; this.listLoading = true;
this.listQuery.SkipCount = (this.page - 1) * 10; this.listQuery.SkipCount = (this.page - 1) * 10;
this.$axios this.$axios
.gets("/api/newjit/assembly-cfg-erp/list", this.listQuery) .gets("/api/newjit/bill-r100/list", this.listQuery)
.then((response) => { .then((response) => {
this.list = response.items; this.list = response.items;
this.totalCount = response.totalCount; this.totalCount = response.totalCount;
@ -1080,6 +1103,7 @@ export default {
.then((response) => { .then((response) => {
//console.log(response); //console.log(response);
this.PLList = response.item; this.PLList = response.item;
this.PLChildList = this.PLList.filter(u => u.productType === parseInt(this.listQuery.productType));
//console.log(this.PLList); //console.log(this.PLList);
}) })
.catch(() => { .catch(() => {
@ -1088,10 +1112,43 @@ export default {
//线 //线
ptypeselectChange() ptypeselectChange()
{ {
this.$forceUpdate();
this.listQuery.productLine = "";
//console.log(this.listQuery.productType); //console.log(this.listQuery.productType);
this.PLList = this.PLList.filter(u => u.productType === this.listQuery.productType); //console.log(this.PLChildList)
this.PLChildList = this.PLList.filter(u => u.productType === parseInt(this.listQuery.productType));
//console.log(this.PLList) //console.log(this.PLList)
//console.log(this.listQuery.productType)
//console.log(this.PLChildList)
},
getvehicleModel()
{
this.$axios
.gets(
"/api/newjit/dic/list",this.vehicleModelQuery
)
.then((response) => {
//console.log(response);
this.vehicleModelList = response.item;
//console.log()
})
.catch(() => {
});
},
leftclick()
{
this.$forceUpdate();
let obj = {};
obj.erpAssemblyCode = this.form.erpAssemblyCode;
obj.erpAssemblyName = this.form.erpAssemblyName;
obj.vehicleModel = this.form.vehicleModel;
if (this.form.leftdetails === undefined) {
this.form.leftdetails = [];
}
this.form.leftdetails.push(obj);
}, },
rightclick(){},
}, },
}; };
</script> </script>

26
vue/src/views/pg-fis/basedate/m100Online/index.vue

@ -19,9 +19,11 @@
style="margin-right: 15px" style="margin-right: 15px"
@change="ptypeselectChange" @change="ptypeselectChange"
> >
<el-option label="0" value="0"></el-option> <el-option
<el-option label="1" value="1"></el-option> v-for="item in productTypeList"
<el-option label="2" value="2"></el-option> :key="item.id"
:label="item.name"
:value="item.id" />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="" prop="productLine"> <el-form-item label="" prop="productLine">
@ -34,10 +36,10 @@
@change="valueselectChange" @change="valueselectChange"
> >
<el-option <el-option
v-for="item in PLList" v-for="item in PLChildList"
:key="item.productLineCode" :key="item.id"
:label="item.productLineName" :label="item.productLineName"
:value="item.productLineCode"/> :value="item.id"/>
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -402,7 +404,7 @@ export default {
erpAssemblyName: undefined, erpAssemblyName: undefined,
}, },
listPLQuery:{ listPLQuery:{
BillType: 1, BillType: 2,
//UserId: "00000000-0000-0000-0000-000000000000", //UserId: "00000000-0000-0000-0000-000000000000",
}, },
form:{ form:{
@ -422,6 +424,8 @@ export default {
detailTableHeight:250, detailTableHeight:250,
details:[], // details:[], //
PLList:[],//线 PLList:[],//线
PLChildList:[],//线
productTypeList:[{id:1,name:'门板'},{id:2,name:'柱护板'}]
}; };
}, },
mounted() { mounted() {
@ -436,6 +440,7 @@ export default {
}, },
created() { created() {
this.getList(); this.getList();
this.getProductLine();
}, },
computed: { computed: {
getDefaultField() { getDefaultField() {
@ -643,7 +648,7 @@ export default {
this.listLoading = true; this.listLoading = true;
this.listQuery.SkipCount = (this.page - 1) * 10; this.listQuery.SkipCount = (this.page - 1) * 10;
this.$axios this.$axios
.gets("/api/newjit/assembly-cfg-erp/list", this.listQuery) .gets("/api/newjit/bill-m100/list", this.listQuery)
.then((response) => { .then((response) => {
this.list = response.items; this.list = response.items;
this.totalCount = response.totalCount; this.totalCount = response.totalCount;
@ -739,6 +744,7 @@ export default {
.then((response) => { .then((response) => {
//console.log(response); //console.log(response);
this.PLList = response.item; this.PLList = response.item;
this.PLChildList = this.PLList.filter(u => u.productType === parseInt(this.listQuery.productType));
//console.log(this.PLList) //console.log(this.PLList)
}) })
.catch(() => { .catch(() => {
@ -747,8 +753,10 @@ export default {
//线 //线
ptypeselectChange() ptypeselectChange()
{ {
this.$forceUpdate();
//console.log(this.listQuery.productType); //console.log(this.listQuery.productType);
this.PLList = this.PLList.filter(u => u.productType === this.listQuery.productType); this.listQuery.productLine = "";
this.PLChildList = this.PLList.filter(u => u.productType === parseInt(this.listQuery.productType));
//console.log(this.PLList) //console.log(this.PLList)
}, },
}, },

89
vue/src/views/pg-fis/basedate/productLine/index.vue

@ -20,31 +20,31 @@
></XhJSSelect> --> ></XhJSSelect> -->
<el-form-item label="操作员登录名:" prop="userName"> <el-form-item label="操作员登录名" prop="userName">
<el-input <el-input
v-model="listQuery.userName" v-model="listQuery.userName"
clearable clearable
size="small" size="small"
placeholder="" placeholder=""
style="width: 200px" style="width: 180px"
class="search-container" class="search-container"
@keyup.enter.native="handleFilter" @keyup.enter.native="handleFilter"
/> />
</el-form-item> </el-form-item>
<el-form-item label="操作员真实名称:" prop="name"> <el-form-item label="操作员真实名称" prop="name">
<el-input <el-input
v-model="listQuery.name" v-model="listQuery.name"
clearable clearable
size="small" size="small"
placeholder="" placeholder=""
style="width: 200px" style="width: 180px"
class="search-container" class="search-container"
@keyup.enter.native="handleFilter" @keyup.enter.native="handleFilter"
/> />
</el-form-item> </el-form-item>
<el-form-item label="部门:" prop="dep"> <!-- <el-form-item label="部门:" prop="dep">
<el-select <el-select
v-model="listQuery.dep" v-model="listQuery.dep"
clearable clearable
@ -56,9 +56,9 @@
<el-option label="结算" value="R0003"></el-option> <el-option label="结算" value="R0003"></el-option>
<el-option label="二配" value="R0001"></el-option> <el-option label="二配" value="R0001"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item> -->
<el-form-item label="生产线:" prop="productLineCode"> <el-form-item label="生产线" prop="productLineCode">
<el-select <el-select
v-model="listQuery.productLineCode" v-model="listQuery.productLineCode"
clearable clearable
@ -69,7 +69,7 @@
> >
<el-option <el-option
v-for="item in PLList" v-for="item in PLList"
:key="item.productLineCode" :key="item.id"
:label="item.productLineName" :label="item.productLineName"
:value="item.productLineCode"/> :value="item.productLineCode"/>
</el-select> </el-select>
@ -177,6 +177,9 @@
<template slot="header" slot-scope="scope"> <template slot="header" slot-scope="scope">
{{ scope.column.label }} {{ scope.column.label }}
</template> </template>
<template slot-scope="scope">
{{scope.row[item.prop]}}
</template>
</el-table-column> </el-table-column>
</el-table> </el-table>
</el-col> </el-col>
@ -233,6 +236,9 @@
<template slot="header" slot-scope="scope"> <template slot="header" slot-scope="scope">
{{ scope.column.label }} {{ scope.column.label }}
</template> </template>
<template slot-scope="scope">
{{scope.row[item.prop]}}
</template>
</el-table-column> </el-table-column>
</el-table> </el-table>
</el-col> </el-col>
@ -409,11 +415,11 @@ export default {
userId: "", userId: "",
}, },
listPLQuery:{ listPLQuery:{
BillType: 1, BillType: 0,
//UserId: "00000000-0000-0000-0000-000000000000", //UserId: "00000000-0000-0000-0000-000000000000",
}, },
saveQuery:{ saveQuery:{
userId: 1, userId: "",
productLineIdList:[], productLineIdList:[],
}, },
showSearch: true, showSearch: true,
@ -467,30 +473,25 @@ export default {
prop: "name", prop: "name",
width: 140 width: 140
}); });
tempsTabs.push({ // tempsTabs.push({
label: "部门", // label: "",
prop: "dep", // prop: "dep",
width: 120, // width: 120,
}); // });
return tempsTabs; return tempsTabs;
}, },
/** 列表字段 */ /** 列表字段 */
getChildDefaultField() { getChildDefaultField() {
var tempsTabs = []; var tempsTabs = [];
tempsTabs.push({
label: "序号",
prop: "seq",
width: 50,
});
tempsTabs.push({ tempsTabs.push({
label: "生产线编码", label: "生产线编码",
prop: "workLineCode", prop: "productLineCode",
width: 100, width: 100,
}); });
tempsTabs.push({ tempsTabs.push({
label: "生产线名称", label: "生产线名称",
prop: "workLineName", prop: "productLineName",
width: 170 width: 170
}); });
return tempsTabs; return tempsTabs;
@ -671,6 +672,7 @@ export default {
// //
this.listLoading = false; this.listLoading = false;
}, 500); }, 500);
this.detaillist = this.list.filter(u => u.id === this.multipleSelection[0].id)[0].productLineList;
}) })
.catch(() => { .catch(() => {
this.listLoading = false; this.listLoading = false;
@ -834,6 +836,7 @@ export default {
handleRowClick(row, column, event) { handleRowClick(row, column, event) {
this.$refs.multipleTable.clearSelection(); this.$refs.multipleTable.clearSelection();
this.$refs.multipleTable.toggleRowSelection(row); this.$refs.multipleTable.toggleRowSelection(row);
console.log(row)
this.detaillist = row.productLineList; this.detaillist = row.productLineList;
//console.log(this.detaillist) //console.log(this.detaillist)
}, },
@ -891,47 +894,57 @@ export default {
this.form.worklines = []; this.form.worklines = [];
var templist = this.PLList; var templist = this.PLList;
this.multipleSelection[0].productLineList.forEach(element => { this.multipleSelection[0].productLineList.forEach(element => {
templist = this.templist.filter(u => u.productLineCode !== element.productLineCode); templist = templist.filter(u => u.id !== element.id);
}); });
templist.forEach(element => {
this.form.worklines.push(
parseInt(element.productLineCode));
});
//console.log(this.form.worklines)
this.PLList.forEach(element => { this.PLList.forEach(element => {
this.UsePLList.push( this.UsePLList.push(
{ {
key:parseInt(element.productLineCode), key:this.PLList.indexOf(element), //parseInt(element.productLineCode),
label:element.productLineName, label:element.productLineName,
id:"", id:element.id,
productLineCode:element.productLineCode,
disabled:false, disabled:false,
} }
); );
}); });
templist.forEach(element => {
var key = this.UsePLList.filter(u => u.id === element.id)[0].key;//线key
this.form.worklines.push(key);
});
console.log(this.form.worklines);
this.form.userName = this.multipleSelection[0].userName; this.form.userName = this.multipleSelection[0].userName;
}, },
// //
save() save()
{ {
console.log(this.form.worklines);
console.log(this.UsePLList);
var templist = this.UsePLList; var templist = this.UsePLList;
this.form.worklines.forEach(element => { this.form.worklines.forEach(element => {
templist = templist.filter(u => u.key !== element); templist = templist.filter(u => u.key !== element);
}); });
console.log(918); //console.log(933);
console.log(templist); //console.log(templist);
this.saveQuery.userId = [];
this.saveQuery.productLineIdList = [];
//console.log(this.multipleSelection[0]);
this.saveQuery.userId = this.multipleSelection[0].id;
templist.forEach(element => {
this.saveQuery.productLineIdList.push(element.id)
});
//console.log(this.saveQuery);
this.$axios this.$axios
.gets( .puts(
"/api/newjit/product-line-authority/do-authority",this.listPLQuery "/api/newjit/product-line-authority/do-authority",this.saveQuery
) )
.then((response) => { .then((response) => {
console.log(response); console.log(response);
this.PLList = response.item; this.dialogFormVisible = false;
//console.log() this.getList();
console.log(948)
this.detaillist = this.list.filter(u => u.id === this.multipleSelection[0].id)[0].productLineList;
}) })
.catch(() => { .catch(() => {
}); });

26
vue/src/views/pg-fis/basedate/r100Online/index.vue

@ -19,9 +19,11 @@
style="margin-right: 15px" style="margin-right: 15px"
@change="ptypeselectChange" @change="ptypeselectChange"
> >
<el-option label="0" value="0"></el-option> <el-option
<el-option label="1" value="1"></el-option> v-for="item in productTypeList"
<el-option label="2" value="2"></el-option> :key="item.id"
:label="item.name"
:value="item.id" />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="" prop="productLine"> <el-form-item label="" prop="productLine">
@ -34,10 +36,10 @@
@change="valueselectChange" @change="valueselectChange"
> >
<el-option <el-option
v-for="item in PLList" v-for="item in PLChildList"
:key="item.productLineCode" :key="item.id"
:label="item.productLineName" :label="item.productLineName"
:value="item.productLineCode"/> :value="item.id"/>
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -385,6 +387,8 @@ export default {
tableHeight: document.documentElement.clientHeight - 335, tableHeight: document.documentElement.clientHeight - 335,
detailTableHeight:250, detailTableHeight:250,
details:[], // details:[], //
PLChildList:[],//线
productTypeList:[{id:1,name:'门板'},{id:2,name:'柱护板'}]
}; };
}, },
mounted() { mounted() {
@ -399,6 +403,7 @@ export default {
}, },
created() { created() {
this.getList(); this.getList();
this.getProductLine();
}, },
computed: { computed: {
getDefaultField() { getDefaultField() {
@ -600,7 +605,7 @@ export default {
this.listLoading = true; this.listLoading = true;
this.listQuery.SkipCount = (this.page - 1) * 10; this.listQuery.SkipCount = (this.page - 1) * 10;
this.$axios this.$axios
.gets("/api/newjit/assembly-cfg-erp/list", this.listQuery) .gets("/api/newjit/bill-m100/list", this.listQuery)
.then((response) => { .then((response) => {
this.list = response.items; this.list = response.items;
this.totalCount = response.totalCount; this.totalCount = response.totalCount;
@ -694,7 +699,8 @@ export default {
.then((response) => { .then((response) => {
//console.log(response); //console.log(response);
this.PLList = response.item; this.PLList = response.item;
//console.log(this.PLList); this.PLChildList = this.PLList.filter(u => u.productType === parseInt(this.listQuery.productType));
//console.log(this.PLList)
}) })
.catch(() => { .catch(() => {
}); });
@ -702,8 +708,10 @@ export default {
//线 //线
ptypeselectChange() ptypeselectChange()
{ {
this.$forceUpdate();
//console.log(this.listQuery.productType); //console.log(this.listQuery.productType);
this.PLList = this.PLList.filter(u => u.productType === this.listQuery.productType); this.listQuery.productLine = "";
this.PLChildList = this.PLList.filter(u => u.productType === parseInt(this.listQuery.productType));
//console.log(this.PLList) //console.log(this.PLList)
}, },
}, },

7
vue/src/views/ux/vw/dataInput/r3-open/index.vue

@ -394,7 +394,7 @@ export default {
} }
console.log("R3已结导出:" + JSON.stringify(this.versionValueVerson)); console.log("R3已结导出:" + JSON.stringify(this.versionValueVerson));
this.$axios this.$axios
.gets("/api/settleaccount/UnSettleAccount/Export", { .posts("/api/settleaccount/UnSettleAccount/Export", {
version: this.versionValueVerson, version: this.versionValueVerson,
}) })
.then((res) => { .then((res) => {
@ -429,7 +429,10 @@ export default {
} }
this.listLoading = false; this.listLoading = false;
}); });
}); })
.catch(() => {
this.listLoading = false;
});;
}, },
getList() { getList() {
this.listLoading = true; this.listLoading = true;

2
vue/src/views/ux/vw/dataInput/r3/index.vue

@ -416,7 +416,7 @@ export default {
} }
console.log("R3已结导出:" + JSON.stringify(this.versionValueVerson)); console.log("R3已结导出:" + JSON.stringify(this.versionValueVerson));
this.$axios this.$axios
.gets("/api/settleaccount/SettleAccount/Export", { .posts("/api/settleaccount/SettleAccount/Export", {
version: this.versionValueVerson, version: this.versionValueVerson,
}) })
.then((res) => { .then((res) => {

10
vue/static/tableFieldForSearch.json

@ -1898,17 +1898,17 @@
{ {
"fieldId": 0, "fieldId": 0,
"formType": "text", "formType": "text",
"name": "物料凭证", "name": "工厂",
"type": 1, "type": 1,
"value": "", "value": "",
"fieldType": 1, "fieldType": 1,
"fieldName": "textCode", "fieldName": "factory",
"setting": [] "setting": []
}, },
{ {
"fieldId": 1, "fieldId": 1,
"formType": "text", "formType": "text",
"name": "物料号", "name": "物料号",
"type": 1, "type": 1,
"value": "", "value": "",
"fieldType": 1, "fieldType": 1,
@ -1918,11 +1918,11 @@
{ {
"fieldId": 1, "fieldId": 1,
"formType": "text", "formType": "text",
"name": "工厂", "name": "零件名称",
"type": 1, "type": 1,
"value": "", "value": "",
"fieldType": 1, "fieldType": 1,
"fieldName": "factory", "fieldName": "materialDesc",
"setting": [] "setting": []
} }
] ]

Loading…
Cancel
Save