This commit is contained in:
parent
54c4bad8cb
commit
12decf35ee
|
|
@ -17,13 +17,13 @@
|
||||||
placeholder="请输入领料单号"
|
placeholder="请输入领料单号"
|
||||||
clearable
|
clearable
|
||||||
maxlength="50"
|
maxlength="50"
|
||||||
style="width: 240px"
|
style="width: 240px"
|
||||||
disabled
|
disabled
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="备注:" prop="remark">
|
<el-form-item label="备注:" prop="remark">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="maForm.remark"
|
v-model="maForm.remark"
|
||||||
clearable
|
clearable
|
||||||
maxlength="200"
|
maxlength="200"
|
||||||
style="width: 240px"
|
style="width: 240px"
|
||||||
|
|
@ -61,8 +61,8 @@
|
||||||
<el-table-column label="序号" align="center" type="index" />
|
<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="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="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="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="preNum" :show-overflow-tooltip="true"></el-table-column>
|
||||||
<el-table-column label="审核状态" align="center" prop="status" :show-overflow-tooltip="true">
|
<el-table-column label="审核状态" align="center" prop="status" :show-overflow-tooltip="true">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div v-if="scope.row.status == '0'" style="color: #e6a23c">
|
<div v-if="scope.row.status == '0'" style="color: #e6a23c">
|
||||||
|
|
@ -109,7 +109,7 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
getPartLeaseByTaskIdApi,auditApi
|
getPartLeaseByTaskIdApi,auditApi
|
||||||
} from "@/api/part/partLease";
|
} from "@/api/part/partLease";
|
||||||
|
|
@ -219,7 +219,7 @@ export default {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//单个通过
|
//单个通过
|
||||||
handlePass(row) {
|
handlePass(row) {
|
||||||
let param={
|
let param={
|
||||||
taskId:this.taskId,
|
taskId:this.taskId,
|
||||||
taskStatus:1,
|
taskStatus:1,
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
:show-count="true" style="width: 240px" :disable-branch-nodes="true"
|
:show-count="true" style="width: 240px" :disable-branch-nodes="true"
|
||||||
noChildrenText="没有数据了" noOptionsText="没有数据" noResultsText="没有搜索结果"
|
noChildrenText="没有数据了" noOptionsText="没有数据" noResultsText="没有搜索结果"
|
||||||
placeholder="请选择往来单位" @select="unitChange"
|
placeholder="请选择往来单位" @select="unitChange"
|
||||||
/>
|
/>
|
||||||
<!-- <el-cascader v-model="unitId"
|
<!-- <el-cascader v-model="unitId"
|
||||||
:show-all-levels="false"
|
:show-all-levels="false"
|
||||||
:options="unitList"
|
:options="unitList"
|
||||||
|
|
@ -103,16 +103,16 @@
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleExport"
|
@click="handleExport"
|
||||||
>导出</el-button
|
>导出</el-button
|
||||||
>
|
>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||||
<el-table v-loading="loading" :data="tableList" border>
|
<el-table v-loading="loading" :data="tableList" border>
|
||||||
<el-table-column label="序号" align="center" width="80" type="index">
|
<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>
|
<span>{{ (queryParams.pageNum - 1) * 10 + scope.$index+1 }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="协议号" align="center" prop="agreementCode" :show-overflow-tooltip="true"/>
|
<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="proName" :show-overflow-tooltip="true"/>
|
||||||
<el-table-column label="往来单位" align="center" prop="unitName" :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="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="typeName" :show-overflow-tooltip="true"/>
|
||||||
<el-table-column label="规格型号" align="center" prop="typeModelName" :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="unit" :show-overflow-tooltip="true"/>
|
||||||
<el-table-column label="设备编码" align="center" prop="maCode" :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="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="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="backDate" :show-overflow-tooltip="true"></el-table-column>
|
||||||
<el-table-column label="当前状态" align="center" prop="statusName" :show-overflow-tooltip="true"/>
|
<el-table-column label="当前状态" align="center" prop="statusName" :show-overflow-tooltip="true"/>
|
||||||
</el-table>
|
</el-table>
|
||||||
<pagination
|
<pagination
|
||||||
v-show="total > 0"
|
v-show="total > 0"
|
||||||
:total="total"
|
:total="total"
|
||||||
|
|
@ -135,7 +135,7 @@
|
||||||
:limit.sync="queryParams.pageSize"
|
:limit.sync="queryParams.pageSize"
|
||||||
:page-sizes="[5, 10, 15, 20, 30]"
|
:page-sizes="[5, 10, 15, 20, 30]"
|
||||||
@pagination="getList"
|
@pagination="getList"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -143,9 +143,9 @@
|
||||||
import {
|
import {
|
||||||
getMachineHistoryRecordListApi
|
getMachineHistoryRecordListApi
|
||||||
} from '@/api/stquery/stquery';
|
} from '@/api/stquery/stquery';
|
||||||
import {
|
import {
|
||||||
getProjectList,
|
getProjectList,
|
||||||
getUnitList,
|
getUnitList,
|
||||||
} from '@/api/back/index.js'
|
} from '@/api/back/index.js'
|
||||||
import Treeselect from "@riophae/vue-treeselect";
|
import Treeselect from "@riophae/vue-treeselect";
|
||||||
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
||||||
|
|
@ -178,11 +178,11 @@ export default {
|
||||||
projectId: null,
|
projectId: null,
|
||||||
unitList: [],
|
unitList: [],
|
||||||
proList: [],
|
proList: [],
|
||||||
statusList:[{id:'在用',name:'在用'},{id:'在退',name:'在退'}],
|
statusList:[{id:'在用',name:'在用'},{id:'已退',name:'已退'}],
|
||||||
// 总条数
|
// 总条数
|
||||||
total: 0,
|
total: 0,
|
||||||
// 主表格数据
|
// 主表格数据
|
||||||
tableList: [],
|
tableList: [],
|
||||||
// 查询参数
|
// 查询参数
|
||||||
queryParams: {
|
queryParams: {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
|
|
@ -191,9 +191,9 @@ export default {
|
||||||
unitId: null,
|
unitId: null,
|
||||||
proId: null,
|
proId: null,
|
||||||
keyWord: null,
|
keyWord: null,
|
||||||
typeName: null, //物资名称
|
typeName: null, //物资名称
|
||||||
statusName: null //状态
|
statusName: null //状态
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|
@ -215,7 +215,7 @@ export default {
|
||||||
label: node.name,
|
label: node.name,
|
||||||
children: node.children,
|
children: node.children,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
// 获取 来往单位 列表数据
|
// 获取 来往单位 列表数据
|
||||||
async GetUnitData() {
|
async GetUnitData() {
|
||||||
const params = {
|
const params = {
|
||||||
|
|
@ -233,8 +233,8 @@ export default {
|
||||||
// this.GetProData()
|
// this.GetProData()
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
this.GetProData()
|
this.GetProData()
|
||||||
},500)
|
},500)
|
||||||
},
|
},
|
||||||
// 获取 工程名称 列表数据
|
// 获取 工程名称 列表数据
|
||||||
async GetProData() {
|
async GetProData() {
|
||||||
const params = { unitId: this.queryParams.unitId}
|
const params = { unitId: this.queryParams.unitId}
|
||||||
|
|
@ -281,15 +281,15 @@ export default {
|
||||||
handleQuery() {
|
handleQuery() {
|
||||||
this.queryParams.pageNum = 1
|
this.queryParams.pageNum = 1
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
/** 重置按钮操作 */
|
/** 重置按钮操作 */
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
this.queryParams.time=[]
|
this.queryParams.time=[]
|
||||||
this.unitId=[]
|
this.unitId=[]
|
||||||
this.projectId=[]
|
this.projectId=[]
|
||||||
this.resetForm('queryForm')
|
this.resetForm('queryForm')
|
||||||
this.handleQuery()
|
this.handleQuery()
|
||||||
},
|
},
|
||||||
/** 导出按钮操作 */
|
/** 导出按钮操作 */
|
||||||
handleExport() {
|
handleExport() {
|
||||||
this.download(
|
this.download(
|
||||||
|
|
@ -299,7 +299,7 @@ export default {
|
||||||
},
|
},
|
||||||
`综合查询_设备使用追溯_${new Date().getTime()}.xlsx`,
|
`综合查询_设备使用追溯_${new Date().getTime()}.xlsx`,
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue