修饰入库

This commit is contained in:
mashuai 2024-12-26 18:48:11 +08:00
parent 4e9aeb7ab4
commit 5ce7cef3c3
1 changed files with 29 additions and 29 deletions

View File

@ -19,7 +19,7 @@
clearable :maxlength="20"
style="width: 220px"
/>
</el-form-item>
</el-form-item>
<el-form-item label="物资名称" prop="typeName">
<el-input
v-model="queryParams.typeName"
@ -74,32 +74,32 @@
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="typeName" :show-overflow-tooltip="true"/>
<el-table-column label="规格型号" align="center" prop="typeModelName" :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="unit" :show-overflow-tooltip="true"/>
<el-table-column label="入库人员" align="center" prop="inputUser" :show-overflow-tooltip="true"></el-table-column>
<el-table-column label="入库时间" align="center" prop="inputTime" :show-overflow-tooltip="true"></el-table-column>
<el-table-column label="入库单号" align="center" prop="inputCode" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span class="clickText" v-if="scope.row.inputType=='新购入库'" @click="jumpInput(scope.row.inputCode)">{{ scope.row.inputCode }}</span>
<span class="clickText" v-if="scope.row.inputType=='修试入库'" @click="jumpRepairInput(scope.row.inputCode)">{{ scope.row.inputCode }}</span>
<span class="clickText" v-if="scope.row.inputType=='修试入库'" @click="jumpRepairInput(scope.row.inputCode)">{{ scope.row.inputCode }}</span>
</template>
</el-table-column>
</el-table-column>
<el-table-column label="入库类型" align="center" prop="inputType" :show-overflow-tooltip="true"></el-table-column>
<el-table-column label="入库方式" align="center" prop="inputStyle" :show-overflow-tooltip="true"/>
</el-table>
<el-table-column label="入库方式" align="center" prop="inputStyle" :show-overflow-tooltip="true"/>
</el-table>
<pagination
v-show="total > 0"
:total="total"
@ -107,14 +107,14 @@
:limit.sync="queryParams.pageSize"
:page-sizes="[5, 10, 15, 20, 30]"
@pagination="getList"
/>
/>
</div>
</template>
<script>
import {
getInputRecordListApi
} from '@/api/stquery/stquery';
} from '@/api/stquery/stquery';
export default {
name: '',
dicts: [],
@ -131,25 +131,25 @@ export default {
//
multiple: true,
//
showSearch: true,
inputTypeList:[{id:'新购入库',name:'新购入库'},{id:'修试入库',name:'修试入库'},{id:'盘点入库',name:'盘点入库'}],
showSearch: true,
inputTypeList:[{id:'新购入库',name:'新购入库'},{id:'修试入库',name:'修试入库'},{id:'盘点入库',name:'盘点入库'}],
//
total: 0,
//
tableList: [],
tableList: [],
//
queryParams: {
pageNum: 1,
pageSize: 10,
time: null,
keyWord: null,
typeName: null, //
typeModelName: null, //
},
typeName: null, //
typeModelName: null, //
},
}
},
created() {
created() {
this.getList()
},
methods: {
@ -178,7 +178,7 @@ export default {
// totalPrice: res.data.rows[0].projUsingDto.totalTotalPrice||0,
// isSltName:''
// }
// this.tableList.unshift(obj)
// this.tableList.unshift(obj)
}else{
this.tableList=[]
}
@ -188,13 +188,13 @@ export default {
handleQuery() {
this.queryParams.pageNum = 1
this.getList()
},
},
/** 重置按钮操作 */
resetQuery() {
resetQuery() {
this.queryParams.time=[]
this.resetForm('queryForm')
this.handleQuery()
},
},
/** 导出按钮操作 */
handleExport() {
this.download(
@ -211,7 +211,7 @@ export default {
},
//
jumpRepairInput(code){
this.$router.push({ path: "/repair/testedInBound", query: {'code':code} });
this.$router.push({ path: "/repair/testedInBound", query: {'code':code} });
},
},