fixed bug
This commit is contained in:
@@ -812,16 +812,24 @@ export default {
|
||||
},
|
||||
{
|
||||
value: 1,
|
||||
label: '未询价'
|
||||
}, {
|
||||
label: '未分配'
|
||||
},
|
||||
{
|
||||
value: 2,
|
||||
label: '已询价',
|
||||
label: '已分配',
|
||||
children: [{
|
||||
value: 3,
|
||||
label: '未采购'
|
||||
label: '未询价'
|
||||
}, {
|
||||
value: 4,
|
||||
label: '已采购'
|
||||
label: '已询价',
|
||||
children: [{
|
||||
value: 5,
|
||||
label: '未采购'
|
||||
}, {
|
||||
value: 6,
|
||||
label: '已采购'
|
||||
}]
|
||||
}]
|
||||
}
|
||||
], // 物料状态
|
||||
|
||||
@@ -659,16 +659,24 @@ export default {
|
||||
},
|
||||
{
|
||||
value: 1,
|
||||
label: '未询价'
|
||||
}, {
|
||||
label: '未分配'
|
||||
},
|
||||
{
|
||||
value: 2,
|
||||
label: '已询价',
|
||||
label: '已分配',
|
||||
children: [{
|
||||
value: 3,
|
||||
label: '未采购'
|
||||
label: '未询价'
|
||||
}, {
|
||||
value: 4,
|
||||
label: '已采购'
|
||||
label: '已询价',
|
||||
children: [{
|
||||
value: 5,
|
||||
label: '未采购'
|
||||
}, {
|
||||
value: 6,
|
||||
label: '已采购'
|
||||
}]
|
||||
}]
|
||||
}
|
||||
], // 物料状态
|
||||
|
||||
@@ -28,11 +28,10 @@
|
||||
<el-table :data="tableData1" size="mini" style="max-height: 600px" height="600px" border stripe>
|
||||
<el-table-column align="center" label="采购情况" width="80px">
|
||||
<template slot-scope="scope">
|
||||
<el-tag v-if="scope.row.是否未通过" type="info" size="small">已作废</el-tag>
|
||||
<el-tag v-else-if="!scope.row.人员编号" type="primary" size="small">未分配</el-tag>
|
||||
<el-tag v-else-if="parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!==''" type="warning" size="small">未询价</el-tag>
|
||||
<el-tag v-else-if="parseInt(scope.row.询价状态编号)===3&&parseInt(scope.row.采购状态编号)!==3" type="success" size="small">已询价</el-tag>
|
||||
<el-tag v-else-if="parseInt(scope.row.询价状态编号)===3&&parseInt(scope.row.采购状态编号)===3" type="info" size="small">已采购</el-tag>
|
||||
<el-tag v-if="!scope.row.人员编号" type="primary" size="small">未分配</el-tag>
|
||||
<el-tag v-if="parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!==''" type="warning" size="small">未询价</el-tag>
|
||||
<el-tag v-if="parseInt(scope.row.询价状态编号)===3&&parseInt(scope.row.采购状态编号)!==3" type="success" size="small">已询价</el-tag>
|
||||
<el-tag v-if="parseInt(scope.row.询价状态编号)===3&&parseInt(scope.row.采购状态编号)===3" type="info" size="small">已采购</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="机床图号" width="100px">
|
||||
@@ -107,11 +106,10 @@
|
||||
<el-table :data="tableData2" size="mini" style="max-height: 600px" height="600px" border stripe>
|
||||
<el-table-column align="center" label="采购情况" width="80px">
|
||||
<template slot-scope="scope">
|
||||
<el-tag v-if="scope.row.是否未通过" type="info" size="small">已作废</el-tag>
|
||||
<el-tag v-else-if="!scope.row.人员编号" type="primary" size="small">未分配</el-tag>
|
||||
<el-tag v-else-if="parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!==''" type="warning" size="small">未询价</el-tag>
|
||||
<el-tag v-else-if="parseInt(scope.row.询价状态编号)===3&&parseInt(scope.row.采购状态编号)!==3" type="success" size="small">已询价</el-tag>
|
||||
<el-tag v-else-if="parseInt(scope.row.询价状态编号)===3&&parseInt(scope.row.采购状态编号)===3" type="info" size="small">已采购</el-tag>
|
||||
<el-tag v-if="!scope.row.人员编号" type="primary" size="small">未分配</el-tag>
|
||||
<el-tag v-if="parseInt(scope.row.询价状态编号)===1&&scope.row.人员编号!==''" type="warning" size="small">未询价</el-tag>
|
||||
<el-tag v-if="parseInt(scope.row.询价状态编号)===3&&parseInt(scope.row.采购状态编号)!==3" type="success" size="small">已询价</el-tag>
|
||||
<el-tag v-if="parseInt(scope.row.询价状态编号)===3&&parseInt(scope.row.采购状态编号)===3" type="info" size="small">已采购</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="机床图号" width="100px">
|
||||
|
||||
Reference in New Issue
Block a user