报备丢失
This commit is contained in:
parent
39ddcb68af
commit
1f5861e97c
|
|
@ -157,6 +157,7 @@ export default {
|
|||
{ label: '报备丢失单号', prop: 'code', showToolTip: true },
|
||||
{ label: '报备丢失单位', prop: 'lossUnitName', showToolTip: false },
|
||||
{ label: '报备丢失工程', prop: 'lossProName', showToolTip: false },
|
||||
{ label: '物资类型', prop: 'typeName', showToolTip: true },
|
||||
{ label: '状态', prop: 'status', showToolTip: true, width: '80' }
|
||||
],
|
||||
// 表格数据
|
||||
|
|
@ -258,8 +259,8 @@ export default {
|
|||
}
|
||||
|
||||
const currentTime = formatTime(new Date())
|
||||
let fileName = `直转记录_${currentTime}.xLsx`
|
||||
let url = '/material/directRotation/export'
|
||||
let fileName = `报备丢失记录_${currentTime}.xLsx`
|
||||
let url = '/material/LossAssign/export'
|
||||
const params = { ...this.queryParams }
|
||||
console.log('🚀 ~ 导出 ~ params:', params)
|
||||
this.download(url, params, fileName)
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
</el-row>
|
||||
|
||||
<el-table v-loading="loading" :data="projectList" @selection-change="handleSelectionChange" border :max-height="650">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<!-- <el-table-column type="selection" width="55" align="center" /> -->
|
||||
<el-table-column width="60" align="center" label="序号" type="index">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }}</span>
|
||||
|
|
@ -81,6 +81,12 @@
|
|||
<dict-tag :options="dict.type.bm_project_status" :value="scope.row.proStatus" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="是否结算" align="center" prop="isSlt" :show-overflow-tooltip="true">
|
||||
<template slot-scope="scope">
|
||||
<div v-if="scope.row.isSlt == 1" style="color: green">{{ '已结算' }}</div>
|
||||
<div v-if="scope.row.isSlt == 0" style="color: red">{{ '未结算' }}</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" width="140">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)">
|
||||
|
|
@ -261,6 +267,26 @@
|
|||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row :gutter="24">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="是否结算" prop="isSlt" v-if="title=='编辑工程'">
|
||||
<el-select
|
||||
v-model="form.isSlt"
|
||||
filterable
|
||||
placeholder="请选择是否结算"
|
||||
style="width: 100%"
|
||||
>
|
||||
<el-option
|
||||
v-for="(item, index) in sltStatusOpts"
|
||||
:key="index"
|
||||
:label="item.label"
|
||||
:value="item.value"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
</el-row>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="submitForm" :loading="isLoading">确 定</el-button>
|
||||
|
|
@ -331,6 +357,10 @@ export default {
|
|||
{ label: '完工未竣工', value: '3' },
|
||||
{ label: '竣工', value: '4' }
|
||||
],
|
||||
sltStatusOpts: [
|
||||
{ label: '未结算', value: 0 },
|
||||
{ label: '已结算', value: 1 }
|
||||
],
|
||||
typeList: [],
|
||||
impUnitList: [],
|
||||
projectStatuses: [],
|
||||
|
|
|
|||
Loading…
Reference in New Issue