From 5809f61cced2d21288e3c13f9856f430bbbc9f9c Mon Sep 17 00:00:00 2001 From: zhang_li Date: Thu, 29 May 2025 14:53:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20SBBJ-1177=E6=A8=A1=E5=85=B7=E3=80=81?= =?UTF-8?q?=E8=AE=BE=E5=A4=87=E6=A3=80=E4=BF=AE=E5=B7=A5=E5=8D=95=EF=BC=8C?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=A4=87=E4=BB=B6=EF=BC=8C=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=B2=A1=E5=8F=8D=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/item/slectItemList.vue | 15 +- src/pages/overhaulOrder/addServiceRecord.vue | 1361 +++++++++--------- 2 files changed, 687 insertions(+), 689 deletions(-) diff --git a/src/components/item/slectItemList.vue b/src/components/item/slectItemList.vue index d3bc90b..60de1fc 100644 --- a/src/components/item/slectItemList.vue +++ b/src/components/item/slectItemList.vue @@ -3,7 +3,7 @@ 选择备件 - + @@ -104,7 +104,18 @@ watch( } } ) - +watch( + () => props.singleColumnList, + (newValue, oldValue) => { + if (newValue) { + currentPage.value = 1 + showTableData() + } + }, + { + deep: true + } +) const { proxy } = getCurrentInstance() const repairOrderList = ref([]) const itemList = ref([]) diff --git a/src/pages/overhaulOrder/addServiceRecord.vue b/src/pages/overhaulOrder/addServiceRecord.vue index 21500ff..591dfe1 100644 --- a/src/pages/overhaulOrder/addServiceRecord.vue +++ b/src/pages/overhaulOrder/addServiceRecord.vue @@ -1,694 +1,681 @@ \ No newline at end of file +.add-form-container { + min-height: calc(100vh - 140rpx); + background: white; + padding: 0px 30rpx 140rpx; +} + +.footer { + position: fixed; + bottom: 0px; + left: 0px; + width: 100%; + z-index: 22; +} + +.btns { + display: flex; + + button { + flex: 1; + } + + .sure { + background: #409eff; + color: white; + border-radius: 0px; + + &::after { + border: 1px solid #409eff; + border-radius: 0px; + } + } + + .reset { + background: #f5f5f5; + border-radius: 0px; + + &::after { + border-radius: 0px; + } + } +} + +.right-button { + background: #409eff; + color: white; + padding: 0rpx 30rpx; + border-radius: 16rpx; + text-align: center; + font-size: 28rpx; +} + +.select { + display: flex; + align-items: center; + height: 72rpx; + width: 100%; + + .input { + flex: 1; + font-size: 28rpx; + color: #000000; + } + + .placeholder { + flex: 1; + font-size: 28rpx; + color: rgb(192, 196, 204); + } +} + +.title { + padding: 32rpx 0px; + position: relative; + + span { + position: absolute; + left: -16rpx; + color: #fa3534; + padding-top: 6rpx; + } +} + +.list { + .item { + display: flex; + margin-bottom: 20rpx; + + .item-box { + background: #f5f5f5; + border-radius: 12rpx; + flex: 1; + width: 0rpx; + } + + .spare-title { + padding: 20rpx 30rpx; + border-bottom: 1px solid #e4e4e4; + + .title-txt { + color: #409eff; + font-size: 30rpx; + font-weight: bold; + } + } + + .dec { + color: #9c9c9c; + padding: 20rpx 30rpx 20rpx; + } + } +} + +.add-btn { + display: flex; + justify-content: flex-start; + align-items: center; +} + +.popup-title { + text-align: center; + font-size: 32rpx; + font-weight: bold; + color: #409eff; + padding: 30rpx 30rpx 0px; +} + +.popup { + width: 600rpx; + padding: 30rpx 60rpx 30rpx; +} + +.popup-footer { + display: flex; + border-top: 1px solid #e4e4e4; + + view { + line-height: 100rpx; + flex: 1; + text-align: center; + + &.sure { + color: #409eff; + } + } +} + +::v-deep .u-checkbox-group { + display: grid !important; +} +