From adb36d095ad035070331cfed4f952e1b83535df9 Mon Sep 17 00:00:00 2001
From: caill <815519168@qq.com>
Date: Fri, 28 Mar 2025 17:20:00 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AD=90=E5=8D=B7=E5=85=A5=E5=BA=93=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/SecondPhase/production/ZjInStore.vue | 18 ++++++++++++++++--
utils/getData3.js | 4 ++--
2 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/pages/SecondPhase/production/ZjInStore.vue b/pages/SecondPhase/production/ZjInStore.vue
index b617424..d2637b3 100644
--- a/pages/SecondPhase/production/ZjInStore.vue
+++ b/pages/SecondPhase/production/ZjInStore.vue
@@ -12,6 +12,15 @@
+
+
+
+
+
+
+ 直接入库
+
+
@@ -72,7 +81,8 @@
val1: '',
arr1: [],
dataList: [],
- disabled: false
+ disabled: false,
+ isV: '0'
};
},
onPageScroll(e) {
@@ -82,6 +92,9 @@
this.title = options.title
},
methods: {
+ isVirtual () {
+ this.isV = this.isV === '0' ? '1' : '0'
+ },
handleChange (e) {
let flag = this.arr1.includes(e)
if (!flag) {
@@ -102,6 +115,7 @@
this.arr1 = []
this.dataList = []
this.disabled = false
+ this.isV = '0'
},
async _zjInBoundConfirm () {
this.disabled = true
@@ -110,7 +124,7 @@
return
}
try {
- let res = await zjInBoundConfirm(this.arr1.join(','))
+ let res = await zjInBoundConfirm(this.arr1.join(','), this.isV)
uni.showToast({
title: res.message,
icon: 'none'
diff --git a/utils/getData3.js b/utils/getData3.js
index e12d3ad..042a237 100644
--- a/utils/getData3.js
+++ b/utils/getData3.js
@@ -337,9 +337,9 @@ export const zjInBound = (code) => request({
url:'api/pdmBiSubpackagerelation/zjInBound',
data: {container_name: code}
})
-export const zjInBoundConfirm = (code) => request({
+export const zjInBoundConfirm = (code, inb) => request({
url:'api/pdmBiSubpackagerelation/zjInBoundConfirm',
- data: {search: code}
+ data: {search: code, inbound: inb}
})
/**
* 分切呼叫送轴(分切管理)