Commit 34b82676 authored by 李苏's avatar 李苏 💬

调整

parent 97e09b7d
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
return { return {
config: { config: {
/* 基本配置*/ /* 基本配置*/
url: 'cxfx/crtz', url: 'cxfx/zkwp',
tableTitle: [ tableTitle: [
{ {
title: "序列号", title: "序列号",
...@@ -74,12 +74,13 @@ ...@@ -74,12 +74,13 @@
title: "物品状态", title: "物品状态",
field: "wpzt", field: "wpzt",
formatter(a, b, c) { formatter(a, b, c) {
let v=parseInt(c)
let map = { let map = {
0: '未入库', 0: '未入库',
1: '在库', 1: '在库',
2: '出库' 2: '出库'
} }
return map[c] return map[v]
} }
}, },
{ {
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
</template> </template>
<script> <script>
import Edit from './edit.vue' // import Edit from './edit.vue'
export default { export default {
data() { data() {
return { return {
...@@ -219,7 +219,7 @@ ...@@ -219,7 +219,7 @@
// } // }
}, },
components: { components: {
Edit // Edit
} }
} }
......
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