diff --git a/common/style/layout.styl b/common/style/layout.styl index c5961d5..d1cf7c4 100644 --- a/common/style/layout.styl +++ b/common/style/layout.styl @@ -85,6 +85,11 @@ uni-button:after { white-space: pre-wrap; overflow-wrap: break-word; } +.filter_picker { + line-height: 80rpx; + font-size: 28rpx; + color: #606266; +} .filter_input_disabled { background-color: #eee; } @@ -98,6 +103,11 @@ uni-button:after { justify-content: flex-start; align-items: center; } +.filter_unit { + font-size: 28rpx; + color: #ff6a00; + font-weight: bold; +} .tab-line { _wh(32rpx, 10rpx) background-color #fff @@ -272,8 +282,11 @@ uni-button:after { box-shadow: 0 0 20rpx 0 rgba(160,160,160,0.7); } .button-default { + display: grid; + place-items: center; /* 垂直和水平居中 */ font-size: 34rpx; - line-height: 88rpx; + line-height: 34rpx; + height: 88rpx; color: #ff6a00; text-align: center; letter-spacing: 4rpx; diff --git a/pages/General/distribution-box.vue b/pages/General/distribution-box.vue index 239d03a..8bd8659 100644 --- a/pages/General/distribution-box.vue +++ b/pages/General/distribution-box.vue @@ -1,19 +1,159 @@ - - + \ No newline at end of file diff --git a/pages/General/line-transfer.vue b/pages/General/line-transfer.vue index 239d03a..8100e49 100644 --- a/pages/General/line-transfer.vue +++ b/pages/General/line-transfer.vue @@ -1,19 +1,99 @@ - - + \ No newline at end of file diff --git a/pages/General/machine-order.vue b/pages/General/machine-order.vue index 239d03a..9548808 100644 --- a/pages/General/machine-order.vue +++ b/pages/General/machine-order.vue @@ -1,19 +1,157 @@ - - + \ No newline at end of file diff --git a/pages/General/material.vue b/pages/General/material.vue index 239d03a..c622f10 100644 --- a/pages/General/material.vue +++ b/pages/General/material.vue @@ -1,19 +1,131 @@ - - + \ No newline at end of file diff --git a/pages/General/operation.vue b/pages/General/operation.vue index 239d03a..bae061e 100644 --- a/pages/General/operation.vue +++ b/pages/General/operation.vue @@ -1,19 +1,176 @@ - + \ No newline at end of file diff --git a/pages/General/ops-mgmt.vue b/pages/General/ops-mgmt.vue index 239d03a..d551341 100644 --- a/pages/General/ops-mgmt.vue +++ b/pages/General/ops-mgmt.vue @@ -1,19 +1,109 @@ - - + \ No newline at end of file diff --git a/pages/General/pick-place-goods.vue b/pages/General/pick-place-goods.vue index 239d03a..092ab41 100644 --- a/pages/General/pick-place-goods.vue +++ b/pages/General/pick-place-goods.vue @@ -1,19 +1,162 @@ - - + \ No newline at end of file diff --git a/pages/General/pt-update.vue b/pages/General/pt-update.vue index 239d03a..fbe6b08 100644 --- a/pages/General/pt-update.vue +++ b/pages/General/pt-update.vue @@ -1,19 +1,158 @@ - - + \ No newline at end of file diff --git a/pages/General/supplier.vue b/pages/General/supplier.vue index 239d03a..5bc6734 100644 --- a/pages/General/supplier.vue +++ b/pages/General/supplier.vue @@ -1,19 +1,125 @@ - - + \ No newline at end of file diff --git a/pages/General/warehouse-box.vue b/pages/General/warehouse-box.vue index 228d94e..db7e2d6 100644 --- a/pages/General/warehouse-box.vue +++ b/pages/General/warehouse-box.vue @@ -5,131 +5,104 @@ - - 入库单类型 + + 载具编码 - - + + - 单据编码 + 物料编码 - - + + - + 物料名称 - + - 物料规格 + 供应商编码 + + + + + + + + + 供应商名称 - + - 单位 + 批次 - + - 物料批次 + 生产日期 - - + + + {{date}} + - 物料数量 + 重量 - - + + + KG - 载具编码 - - - - - - - - 仓库编码 + 品质类型 - - + + + + + + 烘干次数 + + + - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
序号物料编码物料名称物料数量单位单据状态物料批次
{{i+1}}{{e.material_code}}{{e.material_name}}{{e.qty}}{{e.unit_name}}{{e.bill_status}}{{e.pcsn}}
-
-
-
- - - - -
-
- - + \ No newline at end of file diff --git a/pages/home/home.vue b/pages/home/home.vue index 0d6f19d..b001c83 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -46,7 +46,6 @@ {title: '入库组箱', path: '/pages/General/warehouse-box'}, {title: '配送组箱', path: '/pages/General/distribution-box'}, {title: '点对点转运', path: '/pages/General/line-transfer'}, - {title: '点对点转运', path: '/pages/General/line-transfer'}, {title: '确认取放货', path: '/pages/General/pick-place-goods'}, {title: '作业管理', path: '/pages/General/ops-mgmt'}, {title: '点位更新', path: '/pages/General/pt-update'} diff --git a/utils/utils.js b/utils/utils.js index 6f94817..a28107e 100644 --- a/utils/utils.js +++ b/utils/utils.js @@ -36,4 +36,23 @@ export const dateFtt = date => { } return new Date(Date.parse(date)) } + + /** + * 获取当前日期 + */ + export const getDate = type => { + const date = new Date(); + let year = date.getFullYear(); + let month = date.getMonth() + 1; + let day = date.getDate(); + + if (type === 'start') { + year = year - 10; + } else if (type === 'end') { + year = year + 10; + } + month = month > 9 ? month : '0' + month; + day = day > 9 ? day : '0' + day; + return `${year}-${month}-${day}`; + } \ No newline at end of file