|
@@ -171,7 +171,7 @@ export default {
|
|
|
const ret = []
|
|
|
list.map(item => {
|
|
|
// 有承担人员
|
|
|
- if (item.childDetailSplitList) {
|
|
|
+ if (item.childDetailSplitList && item.childDetailSplitList.length) {
|
|
|
item.childDetailSplitList.map(k => {
|
|
|
ret.push({
|
|
|
splitObjName: item.importSplitObjName,
|
|
@@ -214,7 +214,7 @@ export default {
|
|
|
// 确认导入
|
|
|
handleSubmit () {
|
|
|
if (this.paramsData.rightList.length == 0) {
|
|
|
- this.$message.warning('无可导入费用明细!')
|
|
|
+ this.$message.warning('没有可导入的费用明细!')
|
|
|
} else {
|
|
|
const data = this.paramsData.rightList
|
|
|
data.map(item => {
|
|
@@ -229,11 +229,11 @@ export default {
|
|
|
handleError () {
|
|
|
const _this = this
|
|
|
if (_this.paramsData.errorList.length < 1) {
|
|
|
- _this.$message.info('暂无可导出错误项~')
|
|
|
+ _this.$message.info('暂无错误项!')
|
|
|
return
|
|
|
}
|
|
|
_this.spinning = true
|
|
|
- hdExportExcel(expenseFailExcel, _this.paramsData.errorList, '费用明细导入错误项', function () {
|
|
|
+ hdExportExcel(expenseFailExcel, _this.paramsData.errorList, '费用明细导出错误项', function () {
|
|
|
_this.spinning = false
|
|
|
})
|
|
|
}
|