Commit 8ea3868d authored by Hagsn3's avatar Hagsn3

修改代码

parent 326798d3
......@@ -93,12 +93,12 @@
</el-table-column>
<el-table-column label="ptype" prop="ptype" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span v-if="scope.row.ptype.trim() === '1'">jb</span>
<span v-else-if="scope.row.ptype.trim() === '2'">label</span>
<span v-else-if="scope.row.ptype.trim() === '3'">wd</span>
<span v-else-if="scope.row.ptype.trim() === '4'">sl</span>
<span v-else-if="scope.row.ptype.trim() === '5'">zd</span>
<span v-else-if="scope.row.ptype.trim() === '20'">jl</span>
<span v-if="scope.row.ptype === '1'">jb</span>
<span v-else-if="scope.row.ptype === '2'">label</span>
<span v-else-if="scope.row.ptype === '3'">wd</span>
<span v-else-if="scope.row.ptype === '4'">sl</span>
<span v-else-if="scope.row.ptype === '5'">zd</span>
<span v-else-if="scope.row.ptype === '20'">jl</span>
<span v-else>-</span>
</template>
</el-table-column>
......@@ -314,10 +314,6 @@ export default {
{
dictLabel: 'zd',
dictValue: '5'
},
{
dictLabel: 'jl',
dictValue: '20'
}
],
addTypeOption: [
......
......@@ -369,6 +369,10 @@ export default {
{
dictLabel: 'zd',
dictValue: '5'
},
{
dictLabel: 'jl',
dictValue: '20'
}
],
addTypeOption: [
......@@ -387,6 +391,10 @@ export default {
{
dictLabel: 'zd',
dictValue: '5'
},
{
dictLabel: 'jl',
dictValue: '20'
}
],
ioTypeSelect: [
......
......@@ -102,6 +102,7 @@
<span v-else-if="scope.row.ptype === '3'">wd</span>
<span v-else-if="scope.row.ptype === '4'">sl</span>
<span v-else-if="scope.row.ptype === '5'">zd</span>
<span v-else-if="scope.row.ptype === '20'">jl</span>
<span v-else>-</span>
</template>
</el-table-column>
......@@ -252,6 +253,10 @@ export default {
{
dictLabel: 'zd',
dictValue: '5'
},
{
dictLabel: 'jl',
dictValue: '20'
}
],
// 查询参数
......
......@@ -332,10 +332,6 @@ export default {
{
dictLabel: 'zd',
dictValue: '5'
},
{
dictLabel: 'jl',
dictValue: '20'
}
],
addTypeOption: [
......@@ -354,10 +350,6 @@ export default {
{
dictLabel: 'zd',
dictValue: '5'
},
{
dictLabel: 'jl',
dictValue: '20'
}
],
// 查询参数
......
......@@ -651,7 +651,7 @@ export default {
const qbj = {
pn: this.form.pn,
lot: this.form.lot,
ptype: this.form.ptype.trim()
ptype: this.form.ptype
}
console.log('qbj', qbj)
// 发送请求并处理返回结果
......@@ -847,7 +847,7 @@ export default {
this.reset()
const id = row.businessId
getOutcomeWmsJbapplyTemp(id).then(response => {
response.data.ptype = response.data.ptype.trim()
response.data.ptype = response.data.ptype
this.form = response.data
this.open = true
this.title = '修改检查申请'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment