This commit is contained in:
mashuai 2025-02-10 16:20:14 +08:00
parent 54c4bad8cb
commit 12decf35ee
2 changed files with 32 additions and 32 deletions

View File

@ -17,13 +17,13 @@
placeholder="请输入领料单号"
clearable
maxlength="50"
style="width: 240px"
style="width: 240px"
disabled
/>
</el-form-item>
<el-form-item label="备注:" prop="remark">
<el-input
v-model="maForm.remark"
v-model="maForm.remark"
clearable
maxlength="200"
style="width: 240px"
@ -61,8 +61,8 @@
<el-table-column label="序号" align="center" type="index" />
<el-table-column label="配件类型" align="center" prop="partType" :show-overflow-tooltip="true"/>
<el-table-column label="配件名称" align="center" prop="partName" :show-overflow-tooltip="true"></el-table-column>
<el-table-column label="规格型号" align="center" prop="partModel" :show-overflow-tooltip="true"/>
<el-table-column label="预领数量" align="center" prop="preNum" :show-overflow-tooltip="true"></el-table-column>
<el-table-column label="规格型号" align="center" prop="partModel" :show-overflow-tooltip="true"/>
<el-table-column label="预领数量" align="center" prop="preNum" :show-overflow-tooltip="true"></el-table-column>
<el-table-column label="审核状态" align="center" prop="status" :show-overflow-tooltip="true">
<template slot-scope="scope">
<div v-if="scope.row.status == '0'" style="color: #e6a23c">
@ -109,7 +109,7 @@
</div>
</template>
<script>
<script>
import {
getPartLeaseByTaskIdApi,auditApi
} from "@/api/part/partLease";
@ -219,7 +219,7 @@ export default {
});
},
//
handlePass(row) {
handlePass(row) {
let param={
taskId:this.taskId,
taskStatus:1,

View File

@ -27,7 +27,7 @@
:show-count="true" style="width: 240px" :disable-branch-nodes="true"
noChildrenText="没有数据了" noOptionsText="没有数据" noResultsText="没有搜索结果"
placeholder="请选择往来单位" @select="unitChange"
/>
/>
<!-- <el-cascader v-model="unitId"
:show-all-levels="false"
:options="unitList"
@ -103,16 +103,16 @@
size="mini"
@click="handleExport"
>导出</el-button
>
>
</el-form-item>
</el-form>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
<el-table v-loading="loading" :data="tableList" border>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
<el-table v-loading="loading" :data="tableList" border>
<el-table-column label="序号" align="center" width="80" type="index">
<template scope="scope">
<template scope="scope">
<span>{{ (queryParams.pageNum - 1) * 10 + scope.$index+1 }}</span>
</template>
</el-table-column>
</template>
</el-table-column>
<el-table-column label="协议号" align="center" prop="agreementCode" :show-overflow-tooltip="true"/>
<el-table-column label="工程名称" align="center" prop="proName" :show-overflow-tooltip="true"/>
<el-table-column label="往来单位" align="center" prop="unitName" :show-overflow-tooltip="true"/>
@ -120,14 +120,14 @@
<el-table-column label="合同主体" align="center" prop="contractPart" width="150px" :show-overflow-tooltip="true"/>
<el-table-column label="物资名称" align="center" prop="typeName" :show-overflow-tooltip="true"/>
<el-table-column label="规格型号" align="center" prop="typeModelName" :show-overflow-tooltip="true"/>
<el-table-column label="计量单位" align="center" prop="unit" :show-overflow-tooltip="true"/>
<el-table-column label="设备编码" align="center" prop="maCode" :show-overflow-tooltip="true"/>
<el-table-column label="计量单位" align="center" prop="unit" :show-overflow-tooltip="true"/>
<el-table-column label="设备编码" align="center" prop="maCode" :show-overflow-tooltip="true"/>
<el-table-column label="领用人员" align="center" prop="leaseMan" :show-overflow-tooltip="true"></el-table-column>
<el-table-column label="领用时间" align="center" prop="leaseDate" :show-overflow-tooltip="true"></el-table-column>
<el-table-column label="退料人员" align="center" prop="backMan" :show-overflow-tooltip="true"></el-table-column>
<el-table-column label="退料人员" align="center" prop="backMan" :show-overflow-tooltip="true"></el-table-column>
<el-table-column label="退料时间" align="center" prop="backDate" :show-overflow-tooltip="true"></el-table-column>
<el-table-column label="当前状态" align="center" prop="statusName" :show-overflow-tooltip="true"/>
</el-table>
<el-table-column label="当前状态" align="center" prop="statusName" :show-overflow-tooltip="true"/>
</el-table>
<pagination
v-show="total > 0"
:total="total"
@ -135,7 +135,7 @@
:limit.sync="queryParams.pageSize"
:page-sizes="[5, 10, 15, 20, 30]"
@pagination="getList"
/>
/>
</div>
</template>
@ -143,9 +143,9 @@
import {
getMachineHistoryRecordListApi
} from '@/api/stquery/stquery';
import {
import {
getProjectList,
getUnitList,
getUnitList,
} from '@/api/back/index.js'
import Treeselect from "@riophae/vue-treeselect";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
@ -178,11 +178,11 @@ export default {
projectId: null,
unitList: [],
proList: [],
statusList:[{id:'在用',name:'在用'},{id:'在退',name:'在退'}],
statusList:[{id:'在用',name:'在用'},{id:'已退',name:'已退'}],
//
total: 0,
//
tableList: [],
tableList: [],
//
queryParams: {
pageNum: 1,
@ -191,9 +191,9 @@ export default {
unitId: null,
proId: null,
keyWord: null,
typeName: null, //
typeName: null, //
statusName: null //
},
},
}
},
created() {
@ -215,7 +215,7 @@ export default {
label: node.name,
children: node.children,
};
},
},
//
async GetUnitData() {
const params = {
@ -233,8 +233,8 @@ export default {
// this.GetProData()
setTimeout(()=>{
this.GetProData()
},500)
},
},500)
},
//
async GetProData() {
const params = { unitId: this.queryParams.unitId}
@ -281,15 +281,15 @@ export default {
handleQuery() {
this.queryParams.pageNum = 1
this.getList()
},
},
/** 重置按钮操作 */
resetQuery() {
resetQuery() {
this.queryParams.time=[]
this.unitId=[]
this.projectId=[]
this.resetForm('queryForm')
this.handleQuery()
},
},
/** 导出按钮操作 */
handleExport() {
this.download(
@ -299,7 +299,7 @@ export default {
},
`综合查询_设备使用追溯_${new Date().getTime()}.xlsx`,
)
},
},
},
}