购置批次增加点击跳转
This commit is contained in:
parent
0cd1273e59
commit
1a9253c6a4
|
|
@ -70,11 +70,17 @@
|
||||||
<el-table-column label="设备编号" align="center" prop="maCode" sortable show-overflow-tooltip/>
|
<el-table-column label="设备编号" align="center" prop="maCode" sortable show-overflow-tooltip/>
|
||||||
<el-table-column label="设备状态" align="center" prop="statusName" sortable show-overflow-tooltip/>
|
<el-table-column label="设备状态" align="center" prop="statusName" sortable show-overflow-tooltip/>
|
||||||
<el-table-column label="固定资产编号" align="center" prop="assetsCode" sortable show-overflow-tooltip/>
|
<el-table-column label="固定资产编号" align="center" prop="assetsCode" sortable show-overflow-tooltip/>
|
||||||
<el-table-column label="设备原编号" align="center" prop="preCode" sortable show-overflow-tooltip/>
|
<el-table-column label="设备原值" align="center" prop="buyPrice" sortable show-overflow-tooltip/>
|
||||||
<el-table-column label="购置批次" align="center" prop="buyTask" sortable show-overflow-tooltip/>
|
<el-table-column label="购置批次" align="center" prop="buyTask" sortable show-overflow-tooltip>
|
||||||
|
<template slot-scope="{ row }">
|
||||||
|
<span style="color:blue; cursor: pointer" @click="handleViewBuyTask(row)">
|
||||||
|
{{ row.buyTask }}
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column label="绑定标签" align="center" prop="qrCode" sortable show-overflow-tooltip>
|
<el-table-column label="绑定标签" align="center" prop="qrCode" sortable show-overflow-tooltip>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="scope.row.qrCode!=null" style="color:blue" @click="handleViewQrCode(scope.row)">
|
<span v-if="scope.row.qrCode!=null" style="color:blue; cursor: pointer" @click="handleViewQrCode(scope.row)">
|
||||||
{{ "查看" }}
|
{{ "查看" }}
|
||||||
</span>
|
</span>
|
||||||
<span v-else>
|
<span v-else>
|
||||||
|
|
@ -82,7 +88,7 @@
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="所在仓库" align="center" prop="ownHouse" sortable show-overflow-tooltip/>
|
<!-- <el-table-column label="所在仓库" align="center" prop="ownHouse" sortable show-overflow-tooltip/> -->
|
||||||
<el-table-column label="操作" align="center" width="180">
|
<el-table-column label="操作" align="center" width="180">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
|
|
@ -692,6 +698,14 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
handleViewBuyTask(row) {
|
||||||
|
this.$router.push({
|
||||||
|
path: '/purchase/goodsEntry',
|
||||||
|
query: {
|
||||||
|
buyTask: row.buyTask
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// handleExport() {
|
// handleExport() {
|
||||||
|
|
|
||||||
|
|
@ -552,9 +552,9 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="6">
|
<el-col :span="6">
|
||||||
<el-form-item label="抽检比例(%)" prop="name11">
|
<el-form-item label="抽检比例(%)" prop="samplingRatio">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.name11"
|
v-model="form.samplingRatio"
|
||||||
type="number" :min="0"
|
type="number" :min="0"
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
maxlength="20"
|
maxlength="20"
|
||||||
|
|
|
||||||
|
|
@ -269,6 +269,9 @@ export default {
|
||||||
if (this.$route.query.code) {
|
if (this.$route.query.code) {
|
||||||
this.queryParams.keyWord = this.$route.query.code
|
this.queryParams.keyWord = this.$route.query.code
|
||||||
}
|
}
|
||||||
|
if (this.$route.query.buyTask) {
|
||||||
|
this.queryParams.keyWord = this.$route.query.buyTask
|
||||||
|
}
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue