|
@@ -321,7 +321,15 @@
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<!-- 填报日期 -->
|
|
<!-- 填报日期 -->
|
|
- <div style="display: inline-block;padding-left: 15px">
|
|
|
|
|
|
+ <div style="display: inline-block;">
|
|
|
|
+ <el-form-item :label="'项目'">
|
|
|
|
+ <el-select v-model="selectProject" size="small" style="width: 162px" clearable>
|
|
|
|
+ <el-option v-for="item in projectList" :label="item.projectName" :value="item.id">
|
|
|
|
+ <span style="float: left">{{ item.projectName }}</span>
|
|
|
|
+ <span style="float: right; color: #8492a6;">{{ item.projectCode }}</span>
|
|
|
|
+ </el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
<el-form-item :label="$t('fillinthedate')">
|
|
<el-form-item :label="$t('fillinthedate')">
|
|
<el-date-picker v-model="date" type="daterange" value-format="yyyy-MM-dd" size="small"
|
|
<el-date-picker v-model="date" type="daterange" value-format="yyyy-MM-dd" size="small"
|
|
:range-separator="$t('other.to')" :start-placeholder="$t('time.startDate')"
|
|
:range-separator="$t('other.to')" :start-placeholder="$t('time.startDate')"
|
|
@@ -1192,6 +1200,8 @@ export default {
|
|
}, // 发放数据
|
|
}, // 发放数据
|
|
sendStateList: [], // 发放状态列表
|
|
sendStateList: [], // 发放状态列表
|
|
dialogVisibleRelease: false, // 发放弹出框
|
|
dialogVisibleRelease: false, // 发放弹出框
|
|
|
|
+
|
|
|
|
+ selectProject: null, // 项目选择
|
|
};
|
|
};
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
@@ -1915,6 +1925,7 @@ export default {
|
|
endDate: end,
|
|
endDate: end,
|
|
ownerId: this.ownerId,
|
|
ownerId: this.ownerId,
|
|
type: this.queryExpenseMainType,
|
|
type: this.queryExpenseMainType,
|
|
|
|
+ projectId: this.selectProject ? this.selectProject : null,
|
|
};
|
|
};
|
|
if (this.isAuditList) {
|
|
if (this.isAuditList) {
|
|
param.status = 1;
|
|
param.status = 1;
|
|
@@ -2033,7 +2044,10 @@ export default {
|
|
|
|
|
|
// 获取查看单据的数据
|
|
// 获取查看单据的数据
|
|
getParticulars(id) {
|
|
getParticulars(id) {
|
|
- this.http.post('/expense-sheet/getDetail', { id: id },
|
|
|
|
|
|
+ this.http.post('/expense-sheet/getDetail', {
|
|
|
|
+ id: id,
|
|
|
|
+ projectId: this.selectProject ? this.selectProject : '',
|
|
|
|
+ },
|
|
res => {
|
|
res => {
|
|
if (res.code == "ok") {
|
|
if (res.code == "ok") {
|
|
this
|
|
this
|