|
@@ -449,7 +449,7 @@
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
<el-select
|
|
<el-select
|
|
- v-if="options2.length > 0"
|
|
|
|
|
|
+ v-if="carstatus && options2.length > 0"
|
|
filterable
|
|
filterable
|
|
:filter-method="dataFilter2"
|
|
:filter-method="dataFilter2"
|
|
v-model="deptBudgetList.carNo"
|
|
v-model="deptBudgetList.carNo"
|
|
@@ -1278,7 +1278,11 @@ export default {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
if (!this.deptBudgetList.cost) {
|
|
if (!this.deptBudgetList.cost) {
|
|
- this.deptBudgetList.cost=0
|
|
|
|
|
|
+ this.$message({
|
|
|
|
+ message: '未获取到成本,请编辑后提交',
|
|
|
|
+ type: 'warning',
|
|
|
|
+ })
|
|
|
|
+ return
|
|
}
|
|
}
|
|
if (
|
|
if (
|
|
this.deptBudgetList.cost < 0 ||
|
|
this.deptBudgetList.cost < 0 ||
|