修改全局样式,收货确认全选

This commit is contained in:
蔡玲
2024-12-03 13:37:21 +08:00
parent dcc56b0a74
commit fdb0ee0ed5
7 changed files with 15 additions and 22 deletions

View File

@@ -1,12 +1,10 @@
/** 平板尺寸960*600 **/ /** 平板尺寸960*600 **/
page { page {
background-color: #0a2b57 !important; background-color: #0a2b57 !important;
min-height: 100% !important;
height: 100% !important; height: 100% !important;
} }
uni-page-body { uni-page-body {
background-color: #0a2b57 !important; background-color: #0a2b57 !important;
min-height: 100% !important;
height: 100% !important; height: 100% !important;
} }
uni-button:after { uni-button:after {
@@ -29,8 +27,8 @@ uni-toast .uni-toast {
.content{ .content{
width: 100%; width: 100%;
min-height: 100%; height: 100%;
background: top center / 100% auto url(./static/images/page_bg.jpg) repeat-y; background: top center / 100% 100% url(./static/images/page_bg.jpg) repeat-y;
/* background-color: #040d1e; */ /* background-color: #040d1e; */
} }
.footer{ .footer{
@@ -39,7 +37,7 @@ uni-toast .uni-toast {
} }
.search-confirm-wrap { .search-confirm-wrap {
width: calc(100% - 20px); width: calc(100% - 20px);
margin: 10px auto 0 auto; margin: 10px auto;
border-radius: 6px; border-radius: 6px;
padding: 10px; padding: 10px;
background-color: rgba(1, 114, 195, 40%); background-color: rgba(1, 114, 195, 40%);
@@ -126,9 +124,9 @@ uni-toast .uni-toast {
} }
.grid-wrap{ .grid-wrap{
width: calc(100% - 20px); width: calc(100% - 20px);
min-height: calc(100vh - 145px); height: calc(100% - 112px);
margin: 0 auto; margin: 0 auto;
padding: 10px 0; padding: 4px 0;
border: 1px solid #01c2f3; border: 1px solid #01c2f3;
border-radius: 4px; border-radius: 4px;
background-color: rgba(1, 114, 195, 40%); background-color: rgba(1, 114, 195, 40%);
@@ -137,9 +135,8 @@ uni-toast .uni-toast {
.zdrow-wrap { .zdrow-wrap {
width: 100%; width: 100%;
padding: 0 10px; padding: 0 10px;
/* height: calc(100% - 53px); */ height: calc(100% - 40px);
/* overflow-y: scroll; */ overflow-y: auto;
/* margin-bottom: 9px; */
} }
.table-wrap { .table-wrap {
width: 100%; width: 100%;

View File

@@ -172,7 +172,7 @@ input[type="button"], input[type="submit"], input[type="search"], input[type="re
padding: 0 !important; padding: 0 !important;
} }
.pd20 { .pd20 {
padding: 20px !important; padding: 10px 0 0 0 !important;
} }
.popshow { .popshow {
transform: translateY(-50%); transform: translateY(-50%);

View File

@@ -18,7 +18,6 @@
</view> </view>
</view> </view>
</view> </view>
<view class="zd-row jcflexstart table-title_wraper">调拨单</view>
<view class="grid-wrap"> <view class="grid-wrap">
<view class="zdrow-wrap"> <view class="zdrow-wrap">
<view class="zd-row sticky zd-th-wraper"> <view class="zd-row sticky zd-th-wraper">
@@ -273,7 +272,7 @@
let res = await allocationBillDetail(e.djid) let res = await allocationBillDetail(e.djid)
if (res.code === 1) { if (res.code === 1) {
res.result.map(el => { res.result.map(el => {
this.$set(el, 'subChecked', false) this.$set(el, 'checked', false)
}) })
this.dataList.map(el => { this.dataList.map(el => {
if (el.djid === e.djid) { if (el.djid === e.djid) {

View File

@@ -12,7 +12,6 @@
<button class="confirm-button" @tap="toSearch">查询</button> <button class="confirm-button" @tap="toSearch">查询</button>
</view> </view>
</view> </view>
<view class="zd-row jcflexstart table-title_wraper">盘点</view>
<view class="grid-wrap"> <view class="grid-wrap">
<view class="zdrow-wrap"> <view class="zdrow-wrap">
<view class="zd-row sticky zd-th-wraper"> <view class="zd-row sticky zd-th-wraper">
@@ -214,7 +213,7 @@
async _checkDtlByCheckCode (e) { async _checkDtlByCheckCode (e) {
let res = await checkDtlByCheckCode(e.id) let res = await checkDtlByCheckCode(e.id)
res.map(el => { res.map(el => {
this.$set(el, 'subChecked', false) this.$set(el, 'checked', false)
}) })
this.dataList.map(el => { this.dataList.map(el => {
if (el.djid === e.djid) { if (el.djid === e.djid) {

View File

@@ -1,6 +1,6 @@
<template> <template>
<view class="content"> <view class="content">
<nav-bar :title="crType === 'IN' ? '入库' : '出库'"></nav-bar> <nav-bar :title="title"></nav-bar>
<view class="search-confirm-wrap"> <view class="search-confirm-wrap">
<view class="zd-row"> <view class="zd-row">
<view class="zd-col-13 zd-row jcflexstart"> <view class="zd-col-13 zd-row jcflexstart">
@@ -21,7 +21,6 @@
</view> </view>
</view> </view>
</view> </view>
<view class="zd-row jcflexstart table-title_wraper">{{title}}</view>
<view class="grid-wrap"> <view class="grid-wrap">
<view class="zdrow-wrap"> <view class="zdrow-wrap">
<view class="zd-row sticky zd-th-wraper"> <view class="zd-row sticky zd-th-wraper">
@@ -339,7 +338,7 @@
let res = await easOutInBillDetailPage(e.djid, '1', '500') let res = await easOutInBillDetailPage(e.djid, '1', '500')
if (res.code === 1) { if (res.code === 1) {
res.result.map(el => { res.result.map(el => {
this.$set(el, 'subChecked', false) this.$set(el, 'checked', false)
}) })
this.dataList.map(el => { this.dataList.map(el => {
if (el.djid === e.djid) { if (el.djid === e.djid) {

View File

@@ -12,7 +12,6 @@
<button class="confirm-button" @tap="toSearch">查询</button> <button class="confirm-button" @tap="toSearch">查询</button>
</view> </view>
</view> </view>
<view class="zd-row jcflexstart table-title_wraper">移库</view>
<view class="grid-wrap"> <view class="grid-wrap">
<view class="zdrow-wrap"> <view class="zdrow-wrap">
<view class="zd-row sticky zd-th-wraper"> <view class="zd-row sticky zd-th-wraper">
@@ -207,7 +206,7 @@
async _moveDtlByMoveId (e) { async _moveDtlByMoveId (e) {
let res = await moveDtlByMoveId(e.id) let res = await moveDtlByMoveId(e.id)
res.map(el => { res.map(el => {
this.$set(el, 'subChecked', false) this.$set(el, 'checked', false)
}) })
this.dataList.map(el => { this.dataList.map(el => {
if (el.djid === e.djid) { if (el.djid === e.djid) {

View File

@@ -15,7 +15,6 @@
</view> </view>
</view> </view>
</view> </view>
<view class="zd-row jcflexstart table-title_wraper">收货确认</view>
<view class="grid-wrap"> <view class="grid-wrap">
<view class="zdrow-wrap"> <view class="zdrow-wrap">
<view class="zd-row sticky zd-th-wraper"> <view class="zd-row sticky zd-th-wraper">
@@ -336,13 +335,14 @@
let res = await receiptBillDetailPage(this.val2, e.djid, '1', '200') let res = await receiptBillDetailPage(this.val2, e.djid, '1', '200')
if (res.code === 1) { if (res.code === 1) {
res.result.map(el => { res.result.map(el => {
this.$set(el, 'subChecked', false) this.$set(el, 'checked', false)
}) })
this.dataList.map(el => { this.dataList.map(el => {
if (el.djid === e.djid) { if (el.djid === e.djid) {
el.subData = [...res.result] el.subData = [...res.result]
} }
}) })
this.toSubAllCheckbox(e)
} else { } else {
uni.showToast({ uni.showToast({
title: res.desc, title: res.desc,