Commit 8ea3868d authored by Hagsn3's avatar Hagsn3

修改代码

parent 326798d3
...@@ -93,12 +93,12 @@ ...@@ -93,12 +93,12 @@
</el-table-column> </el-table-column>
<el-table-column label="ptype" prop="ptype" :show-overflow-tooltip="true"> <el-table-column label="ptype" prop="ptype" :show-overflow-tooltip="true">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.ptype.trim() === '1'">jb</span> <span v-if="scope.row.ptype === '1'">jb</span>
<span v-else-if="scope.row.ptype.trim() === '2'">label</span> <span v-else-if="scope.row.ptype === '2'">label</span>
<span v-else-if="scope.row.ptype.trim() === '3'">wd</span> <span v-else-if="scope.row.ptype === '3'">wd</span>
<span v-else-if="scope.row.ptype.trim() === '4'">sl</span> <span v-else-if="scope.row.ptype === '4'">sl</span>
<span v-else-if="scope.row.ptype.trim() === '5'">zd</span> <span v-else-if="scope.row.ptype === '5'">zd</span>
<span v-else-if="scope.row.ptype.trim() === '20'">jl</span> <span v-else-if="scope.row.ptype === '20'">jl</span>
<span v-else>-</span> <span v-else>-</span>
</template> </template>
</el-table-column> </el-table-column>
...@@ -314,10 +314,6 @@ export default { ...@@ -314,10 +314,6 @@ export default {
{ {
dictLabel: 'zd', dictLabel: 'zd',
dictValue: '5' dictValue: '5'
},
{
dictLabel: 'jl',
dictValue: '20'
} }
], ],
addTypeOption: [ addTypeOption: [
......
...@@ -369,6 +369,10 @@ export default { ...@@ -369,6 +369,10 @@ export default {
{ {
dictLabel: 'zd', dictLabel: 'zd',
dictValue: '5' dictValue: '5'
},
{
dictLabel: 'jl',
dictValue: '20'
} }
], ],
addTypeOption: [ addTypeOption: [
...@@ -387,6 +391,10 @@ export default { ...@@ -387,6 +391,10 @@ export default {
{ {
dictLabel: 'zd', dictLabel: 'zd',
dictValue: '5' dictValue: '5'
},
{
dictLabel: 'jl',
dictValue: '20'
} }
], ],
ioTypeSelect: [ ioTypeSelect: [
......
...@@ -102,6 +102,7 @@ ...@@ -102,6 +102,7 @@
<span v-else-if="scope.row.ptype === '3'">wd</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 === '4'">sl</span>
<span v-else-if="scope.row.ptype === '5'">zd</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> <span v-else>-</span>
</template> </template>
</el-table-column> </el-table-column>
...@@ -252,6 +253,10 @@ export default { ...@@ -252,6 +253,10 @@ export default {
{ {
dictLabel: 'zd', dictLabel: 'zd',
dictValue: '5' dictValue: '5'
},
{
dictLabel: 'jl',
dictValue: '20'
} }
], ],
// 查询参数 // 查询参数
......
...@@ -332,10 +332,6 @@ export default { ...@@ -332,10 +332,6 @@ export default {
{ {
dictLabel: 'zd', dictLabel: 'zd',
dictValue: '5' dictValue: '5'
},
{
dictLabel: 'jl',
dictValue: '20'
} }
], ],
addTypeOption: [ addTypeOption: [
...@@ -354,10 +350,6 @@ export default { ...@@ -354,10 +350,6 @@ export default {
{ {
dictLabel: 'zd', dictLabel: 'zd',
dictValue: '5' dictValue: '5'
},
{
dictLabel: 'jl',
dictValue: '20'
} }
], ],
// 查询参数 // 查询参数
......
...@@ -651,7 +651,7 @@ export default { ...@@ -651,7 +651,7 @@ export default {
const qbj = { const qbj = {
pn: this.form.pn, pn: this.form.pn,
lot: this.form.lot, lot: this.form.lot,
ptype: this.form.ptype.trim() ptype: this.form.ptype
} }
console.log('qbj', qbj) console.log('qbj', qbj)
// 发送请求并处理返回结果 // 发送请求并处理返回结果
...@@ -847,7 +847,7 @@ export default { ...@@ -847,7 +847,7 @@ export default {
this.reset() this.reset()
const id = row.businessId const id = row.businessId
getOutcomeWmsJbapplyTemp(id).then(response => { getOutcomeWmsJbapplyTemp(id).then(response => {
response.data.ptype = response.data.ptype.trim() response.data.ptype = response.data.ptype
this.form = response.data this.form = response.data
this.open = true this.open = true
this.title = '修改检查申请' 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