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:
commit
3afc6a5767
@ -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
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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("新增成功");
|
||||||
|
|||||||
@ -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'){
|
||||||
|
|||||||
@ -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'){
|
||||||
|
|||||||
@ -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'){
|
||||||
|
|||||||
@ -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'){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user