From 034b83b6e84e502499f8931c4a6d95ddb817417e Mon Sep 17 00:00:00 2001
From: caill <815519168@qq.com>
Date: Mon, 17 Nov 2025 18:43:07 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/SecondPhase/slitting/PaperBind.vue | 51 ++++++++++++++++++++++--
utils/getData3.js | 4 ++
2 files changed, 52 insertions(+), 3 deletions(-)
diff --git a/pages/SecondPhase/slitting/PaperBind.vue b/pages/SecondPhase/slitting/PaperBind.vue
index 00ba03c..cf671b7 100644
--- a/pages/SecondPhase/slitting/PaperBind.vue
+++ b/pages/SecondPhase/slitting/PaperBind.vue
@@ -9,7 +9,7 @@
托盘号
-
+
@@ -41,6 +41,27 @@
+ 提示:{{tip}}
+
+
+
+
+
+ | 排数 |
+ 数量 |
+ 管芯信息 |
+
+
+
+
+ | {{e.row_num}} |
+ {{e.number}} |
+ {{e.tube}} |
+
+
+
+
+
@@ -55,7 +76,7 @@
import NavBar from '@/components/NavBar.vue'
import SearchBox from '@/components/SearchBox.vue'
import {queryPaperMaterial} from '@/utils/getData2.js'
- import {operateIvt, callCheckTube} from '@/utils/getData3.js'
+ import {seePalletTube, operateIvt, callCheckTube} from '@/utils/getData3.js'
export default {
components: {
NavBar,
@@ -74,7 +95,9 @@
index: '',
newoptions: [],
disabled: false,
- disabled1: false
+ disabled1: false,
+ tip: null,
+ tipData: []
};
},
onLoad (options) {
@@ -84,6 +107,26 @@
this._queryPaperMaterial()
},
methods: {
+ async _seePalletTube (e) {
+ try {
+ let res = await seePalletTube(e)
+ if (res.status === 200) {
+ if (res.flag === '1') {
+ this.tip = res.data
+ this.tipData = []
+ } else if (res.flag === '2') {
+ this.tip = null
+ this.tipData = [...res.data]
+ }
+ }
+ } catch (e) {
+ this.tip = null
+ this.tipData = []
+ }
+ },
+ handleChange1 (e) {
+ this._seePalletTube(e)
+ },
/**查询物料下拉框*/
async _queryPaperMaterial () {
let res = await queryPaperMaterial()
@@ -168,6 +211,8 @@
this.index2 = ''
this.index = ''
this.index1 = ''
+ this.tip = null
+ this.tipData = []
}
}
}
diff --git a/utils/getData3.js b/utils/getData3.js
index 11b7939..db47859 100644
--- a/utils/getData3.js
+++ b/utils/getData3.js
@@ -171,6 +171,10 @@ export const getPointInfo = (code) => request({
/**
* 纸管绑定
*/
+export const seePalletTube = (vcode) => request({
+ url:'api/bstIvtStockingivt/seePalletTube',
+ data: {vehicle_code: vcode}
+})
export const operateIvt = (type, vcode, num, qty, code, point) => request({
url:'api/bstIvtStockingivt/operateIvt',
data: {type: type, vehicle_code: vcode, row_num: num, qty: qty, material_code: code, point_code: point}