Commit f6d583ad by 李乾广
2 parents 81c7edc3 5f8cf73a
...@@ -896,6 +896,9 @@ export default { ...@@ -896,6 +896,9 @@ export default {
} }
} }
const formatProduct = function(val) { const formatProduct = function(val) {
if(val < 0){
return '无效'
}
return (productList.value.filter(v => v.value == val)[0] || {label:'--'}).label return (productList.value.filter(v => v.value == val)[0] || {label:'--'}).label
} }
const formatPosition = function(val) { const formatPosition = function(val) {
......
...@@ -660,6 +660,9 @@ export default { ...@@ -660,6 +660,9 @@ export default {
// return (personTypeList.value.filter(v => v.value == val)[0] || {label:'--'}).label // return (personTypeList.value.filter(v => v.value == val)[0] || {label:'--'}).label
} }
const formatProduct = function(val) { const formatProduct = function(val) {
if(val < 0){
return '无效'
}
return (productList.value.filter(v => v.value == val)[0] || {label:'--'}).label return (productList.value.filter(v => v.value == val)[0] || {label:'--'}).label
} }
const formatPosition = function(val) { const formatPosition = function(val) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!