Merge pull request 'develop' (#188) from develop into master

Reviewed-on: http://git.xdadan.loc/tanex/emis-frontend/pulls/188
This commit is contained in:
wuteng 2026-01-09 16:43:16 +08:00
commit 3afc6a5767
6 changed files with 18 additions and 13 deletions

View File

@ -27,7 +27,8 @@ export function parseExcelTime(dateString, isDateTime){
} }
// 处理包含 "23:59:17" 的日期字符串 // 处理包含 "23:59:17" 的日期字符串
if (dateString.includes("23:59:17")) { // if (dateString.includes("23:59:17")) {
if (dateString.includes("23:59")) {
dateString = dayjs(dateString) dateString = dayjs(dateString)
.add(isDateTime ? 43 : 1, isDateTime ? "second" : "day") .add(isDateTime ? 43 : 1, isDateTime ? "second" : "day")
.format(isDateTime ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD"); .format(isDateTime ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD");
@ -770,4 +771,3 @@ export function addExportAuditRecord(data) {
data: data data: data
}) })
} }

View File

@ -330,6 +330,11 @@ export default {
} else { } else {
if(this.isCopy){ if(this.isCopy){
this.form.id = null; this.form.id = null;
this.form.updateBy = null;
this.form.updateByName = null;
this.form.updateSite = null;
this.form.updateSiteName = null;
this.form.updateTime = null;
} }
addEmisTransProduct(this.form).then(response => { addEmisTransProduct(this.form).then(response => {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");

View File

@ -1225,10 +1225,10 @@ export default {
if (j === 'paymentType') { if (j === 'paymentType') {
return this.selectDictLabel(this.dict.type.emis_payment_type,v[j]); return this.selectDictLabel(this.dict.type.emis_payment_type,v[j]);
} }
if(j === 'waybillOther.salesSupport'){ if(j === 'waybillOther?.salesSupport'){
return v['waybillOther']['salesSupport']; return v['waybillOther']['salesSupport'];
} }
if(j === 'waybillOther.moneyCompany'){ if(j === 'waybillOther?.moneyCompany'){
return v['waybillOther']['moneyCompany']; return v['waybillOther']['moneyCompany'];
} }
if(j=== 'blIsQuestion'){ if(j=== 'blIsQuestion'){

View File

@ -1189,10 +1189,10 @@ export default {
if (j === 'paymentType') { if (j === 'paymentType') {
return this.selectDictLabel(this.dict.type.emis_payment_type,v[j]); return this.selectDictLabel(this.dict.type.emis_payment_type,v[j]);
} }
if(j === 'waybillOther.salesSupport'){ if(j === 'waybillOther?.salesSupport'){
return v['waybillOther']['salesSupport']; return v['waybillOther']['salesSupport'];
} }
if(j === 'waybillOther.moneyCompany'){ if(j === 'waybillOther?.moneyCompany'){
return v['waybillOther']['moneyCompany']; return v['waybillOther']['moneyCompany'];
} }
if(j=== 'blIsQuestion'){ if(j=== 'blIsQuestion'){

View File

@ -1268,10 +1268,10 @@ export default {
if (j === 'paymentType') { if (j === 'paymentType') {
return this.selectDictLabel(this.dict.type.emis_payment_type,v[j]); return this.selectDictLabel(this.dict.type.emis_payment_type,v[j]);
} }
if(j === 'waybillOther.salesSupport'){ if(j === 'waybillOther?.salesSupport'){
return v['waybillOther']['salesSupport']; return v['waybillOther']['salesSupport'];
} }
if(j === 'waybillOther.moneyCompany'){ if(j === 'waybillOther?.moneyCompany'){
return v['waybillOther']['moneyCompany']; return v['waybillOther']['moneyCompany'];
} }
if(j=== 'blIsQuestion'){ if(j=== 'blIsQuestion'){

View File

@ -1218,10 +1218,10 @@ export default {
if (j === 'paymentType') { if (j === 'paymentType') {
return this.selectDictLabel(this.dict.type.emis_payment_type,v[j]); return this.selectDictLabel(this.dict.type.emis_payment_type,v[j]);
} }
if(j === 'waybillOther.salesSupport'){ if(j === 'waybillOther?.salesSupport'){
return v['waybillOther']['salesSupport']; return v['waybillOther']['salesSupport'];
} }
if(j === 'waybillOther.moneyCompany'){ if(j === 'waybillOther?.moneyCompany'){
return v['waybillOther']['moneyCompany']; return v['waybillOther']['moneyCompany'];
} }
if(j=== 'blIsQuestion'){ if(j=== 'blIsQuestion'){