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

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

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

View File

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

View File

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

View File

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

View File

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