diff --git a/common/style/layout.styl b/common/style/layout.styl index af0d223..c5961d5 100644 --- a/common/style/layout.styl +++ b/common/style/layout.styl @@ -283,8 +283,11 @@ uni-button:after { border-radius: 10rpx; } .button-primary { + display: grid; + place-items: center; /* 垂直和水平居中 */ font-size: 34rpx; - line-height: 88rpx; + line-height: 34rpx; + height: 88rpx; color: #fff; text-align: center; letter-spacing: 4rpx; diff --git a/components/NumberInput.vue b/components/NumberInput.vue new file mode 100644 index 0000000..5a3e3f5 --- /dev/null +++ b/components/NumberInput.vue @@ -0,0 +1,34 @@ + + + diff --git a/main.js b/main.js index 1abc647..dd5f2e7 100644 --- a/main.js +++ b/main.js @@ -25,6 +25,10 @@ Vue.directive('enterNumber', { } }); +Vue.prototype.$getStatusText = function(statusMap, status) { + return statusMap[status] || ''; +}; + import store from '@/vuex/store.js' const app = new Vue({ diff --git a/pages.json b/pages.json index bd8cf31..7b92ee0 100644 --- a/pages.json +++ b/pages.json @@ -306,6 +306,14 @@ } } + ,{ + "path" : "pages/entry/check-to-store", + "style" : + { + "navigationStyle": "custom" + } + + } ], "globalStyle": { // "pageOrientation": "landscape", diff --git a/pages/entry/check-to-store.vue b/pages/entry/check-to-store.vue new file mode 100644 index 0000000..55fb9db --- /dev/null +++ b/pages/entry/check-to-store.vue @@ -0,0 +1,204 @@ + + + + + diff --git a/pages/entry/mater-group-to-store.vue b/pages/entry/mater-group-to-store.vue index eb73625..0393b4c 100644 --- a/pages/entry/mater-group-to-store.vue +++ b/pages/entry/mater-group-to-store.vue @@ -33,7 +33,7 @@ 单位 - + @@ -41,7 +41,7 @@ 物料单重 - + @@ -57,7 +57,7 @@ 物料数量 - + @@ -89,11 +89,13 @@