From ceb57b4c12eb18b32b849edb37f2d63ca2a5d0c5 Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期三, 04 二月 2026 17:00:06 +0800
Subject: [PATCH] #
---
/dev/null | 234 --------
pages/inspect/check.vue | 4
pages/other/workInfo/locInfo.vue | 336 +++++++++++
pages.json | 805 +++++++++++++-------------
pages/other/workInfo/stationInfo.vue | 334 +++++++++++
pages/other/workInfo/taskInfo.vue | 2
6 files changed, 1,075 insertions(+), 640 deletions(-)
diff --git a/pages.json b/pages.json
index e650f20..bdbb5a5 100644
--- a/pages.json
+++ b/pages.json
@@ -1,405 +1,404 @@
-{
- "pages": [
- {
- "path": "pages/login/index",
- "style": {
- "navigationBarTitleText": "%page.login%",
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/home/index",
- "style": {
- "navigationBarTitleText": "%page.index%"
- }
+{
+ "pages": [{
+ "path": "pages/login/index",
+ "style": {
+ "navigationBarTitleText": "%page.login%",
+ "navigationStyle": "custom"
+ }
},
- {
- "path": "pages/icon",
- "style": {
- "navigationBarTitleText": "鍗曟嵁鍒楄〃"
- }
- },
- {
- "path": "pages/other/transferView/orderList",
- "style": {
- "navigationBarTitleText": "鍗曟嵁鍒楄〃"
- }
- },
- {
- "path": "pages/other/transferView/orderDetlList",
- "style": {
- "navigationBarTitleText": "鍗曟嵁鏄庣粏鍒楄〃",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/outbound/orderOut/order_out_type",
- "style": {
- "navigationBarTitleText": "鍗曟嵁绫诲瀷"
- }
- },
- {
- "path": "pages/outbound/orderOut/orderList",
- "style": {
- "navigationBarTitleText": "鍗曟嵁鍒楄〃",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/outbound/orderOut/orderDetlList",
- "style": {
- "navigationBarTitleText": "鍗曟嵁鏄庣粏鍒楄〃"
- }
- },
- {
- "path": "pages/outbound/orderOutView/order_out_type",
- "style": {
- "navigationBarTitleText": "鍗曟嵁绫诲瀷"
- }
- },
- {
- "path": "pages/outbound/orderOutView/orderList",
- "style": {
- "navigationBarTitleText": "鍗曟嵁鍒楄〃",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/outbound/orderOutView/orderDetlList",
- "style": {
- "navigationBarTitleText": "鍗曟嵁鏄庣粏鍒楄〃"
- }
- },
- {
- "path": "pages/outbound/orderOut/outLocView",
- "style": {
- "navigationBarTitleText": "鍑哄簱搴撲綅瑙嗗浘"
- }
- },
- {
- "path": "pages/emptyTray/outBound",
- "style": {
- "navigationBarTitleText": "绌烘墭鍑哄簱"
- }
- },
- {
- "path": "pages/emptyTray/inBound",
- "style": {
- "navigationBarTitleText": "绌烘墭鍏ュ簱"
- }
- },
- {
- "path": "pages/outbound/orderPick",
- "style": {
- "navigationBarTitleText": "璁㈠崟鍑哄簱"
- }
- },
- {
- "path": "pages/outbound/orderOut",
- "style": {
- "navigationBarTitleText": "鍑哄簱璁㈠崟"
- }
- },
- {
- "path": "pages/outbound/orderOutItem",
- "style": {
- "navigationBarTitleText": "璁㈠崟鍑哄簱璇︽儏"
- }
- },
- {
- "path": "pages/outbound/matPreparation",
- "style": {
- "navigationBarTitleText": "鐢熶骇澶囨枡"
- }
- },
- {
- "path": "pages/outbound/matPreparationItem",
- "style": {
- "navigationBarTitleText": "鐢熶骇澶囨枡璇︽儏"
- }
- },
- {
- "path": "pages/inbound/orderIn",
- "style": {
- "navigationBarTitleText": "鍏ュ簱璁㈠崟"
- }
- },
- {
- "path": "pages/inbound/orderInExecute",
- "style": {
- "navigationBarTitleText": "鍏ュ簱璁㈠崟鍒楄〃"
- }
- },
- {
- "path": "pages/inbound/orderInItem",
- "style": {
- "navigationBarTitleText": "鍏ュ簱璁㈠崟璇︽儏"
- }
- },
- {
- "path": "pages/transfer/transferType",
- "style": {
- "navigationBarTitleText": "璋冩嫧绫诲瀷"
- }
- },
- {
- "path": "pages/transfer/orderTransfer",
- "style": {
- "navigationBarTitleText": "璋冩嫧璁㈠崟"
- }
- },
- {
- "path": "pages/transfer/orderTransferItem",
- "style": {
- "navigationBarTitleText": "璋冩嫧璁㈠崟璇︽儏"
- }
- },
- {
- "path": "pages/transfer/matTransfer",
- "style": {
- "navigationBarTitleText": "绉诲簱"
- }
- },
- {
- "path": "pages/workInfo/taskInfo",
- "style": {
- "navigationBarTitleText": "宸ヤ綔浠诲姟"
- }
- },
- {
- "path": "pages/workInfo/stationInfo",
- "style": {
- "navigationBarTitleText": "绔欑偣淇℃伅"
- }
- },
- {
- "path": "pages/workInfo/locInfo",
- "style": {
- "navigationBarTitleText": "搴撲綅淇℃伅"
- }
- },
- {
- "path": "pages/inbound/buffStore",
- "style": {
- "navigationBarTitleText": "鐏屾《鍏ュ簱"
- }
- },
- {
- "path": "pages/outbound/matDirectDelivery",
- "style": {
- "navigationBarTitleText": "鐢熶骇鐩撮��"
- }
- },
- {
- "path": "pages/outbound/productDirectDelivery",
- "style": {
- "navigationBarTitleText": "鎴愬搧鐩村嚭"
- }
- },
- {
- "path": "pages/outbound/productionMatCall",
- "style": {
- "navigationBarTitleText": "鐢熶骇鍙枡"
- }
- },
- {
- "path": "pages/outbound/wavePick",
- "style": {
- "navigationBarTitleText": "娉㈡鎷h揣"
- }
- },
- {
- "path": "pages/check/checkOrder",
- "style": {
- "navigationBarTitleText": "鐩樼偣鍗�"
- }
- },
- {
- "path": "pages/check/checkOrderItem",
- "style": {
- "navigationBarTitleText": "鍒濈洏"
- }
- },
- {
- "path": "pages/check/firstCheck",
- "style": {
- "navigationBarTitleText": "鍒濈洏"
- }
- },
- {
- "path": "pages/outbound/wavePickItem",
- "style": {
- "navigationBarTitleText": "娉㈡鎷h揣"
- }
- },
- {
- "path": "pages/rece/standard",
- "style": {
- "navigationBarTitleText": "鏍囧噯鏀惰揣"
- }
- },
- {
- "path": "pages/rece/other",
- "style": {
- "navigationBarTitleText": "鍗曟嵁鏀惰揣"
- }
- },
- {
- "path": "pages/listing/disc",
- "style": {
- "navigationBarTitleText": "缁勭洏"
- }
- },
- {
- "path": "pages/AGV/AGVStaBind",
- "style": {
- "navigationBarTitleText": "AGV绔欑偣缁戝畾"
- }
- },
- {
- "path": "pages/AGV/StaUnBind",
- "style": {
- "navigationBarTitleText": "AGV绔欑偣瑙g粦"
- }
- },
- {
- "path": "pages/AGV/StartInTask",
- "style": {
- "navigationBarTitleText": "AGV鍏ュ簱"
- }
- },
- {
- "path": "pages/AGV/BindAndInTask",
- "style": {
- "navigationBarTitleText": "AGV缁戝畾&鍏ュ簱"
- }
- },
- {
- "path": "pages/listing/matnrPalletising",
- "style": {
- "navigationBarTitleText": "鍗曟嵁缁勬墭"
- }
- },
- {
- "path": "pages/listing/itemSelect",
- "style": {
- "navigationBarTitleText": "閫夋嫨鐗╂枡",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/listing/untie",
- "style": {
- "navigationBarTitleText": "瑙g粦"
- }
- },
- {
- "path": "pages/inspect/report",
- "style": {
- "navigationBarTitleText": "鎶ユ"
- }
- },
- {
- "path": "pages/inspect/check",
- "style": {
- "navigationBarTitleText": "璐ㄦ瑙i攣"
- }
- },
- {
- "path": "pages/inspect/bad",
- "style": {
- "navigationBarTitleText": "璐ㄦ涓婇攣"
- }
- },
- {
- "path": "pages/listing/labour",
- "style": {
- "navigationBarTitleText": "浜哄伐涓婃灦"
- }
- },
- {
- "path": "pages/listing/upper",
- "style": {
- "navigationBarTitleText": "涓婃灦"
- }
- },
- {
- "path": "pages/outbound/fastPicking",
- "style": {
- "navigationBarTitleText": "蹇�熸嫞璐�"
- }
- },
- {
- "path": "pages/mat/matSelected",
- "style": {
- "navigationBarTitleText": "鐗╂枡"
- }
- },
- {
- "path": "pages/mat/matQuery",
- "style": {
- "navigationBarTitleText": "鐗╂枡"
- }
- },
- {
- "path": "pages/mat/matList",
- "style": {
- "navigationBarTitleText": "鍟嗗搧鍒楄〃"
- }
- },
- {
- "path": "pages/login/logOut",
- "style": {
- "navigationBarTitleText": "閫�鍑虹櫥褰�"
- }
- },
- {
- "path": "pages/home/menuHome",
- "style": {
- "navigationBarTitleText": "涓婚〉",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/home/inOutManage",
- "style": {
- "navigationBarTitleText": "鍏ュ嚭搴撶鐞�",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/home/orderManage",
- "style": {
- "navigationBarTitleText": "鍗曟嵁绠$悊",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/home/wrkMastManage",
- "style": {
- "navigationBarTitleText": "浠诲姟绠$悊",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/home/locMastManage",
- "style": {
- "navigationBarTitleText": "搴撲綅绠$悊",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/listing/unPakin",
- "style": {
- "navigationBarTitleText": "缁勬墭瑙g粦"
- }
- }
- ],
- "globalStyle": {
- "navigationBarTextStyle": "black",
- "navigationBarTitleText": "uni-app",
- "navigationBarBackgroundColor": "#F8F8F8",
- "backgroundColor": "#F8F8F8"
- },
- "uniIdRouter": {}
+ {
+ "path": "pages/home/index",
+ "style": {
+ "navigationBarTitleText": "%page.index%"
+ }
+ },
+ {
+ "path": "pages/icon",
+ "style": {
+ "navigationBarTitleText": "鍗曟嵁鍒楄〃"
+ }
+ },
+ {
+ "path": "pages/other/transferView/orderList",
+ "style": {
+ "navigationBarTitleText": "鍗曟嵁鍒楄〃"
+ }
+ },
+ {
+ "path": "pages/other/transferView/orderDetlList",
+ "style": {
+ "navigationBarTitleText": "鍗曟嵁鏄庣粏鍒楄〃",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/outbound/orderOut/order_out_type",
+ "style": {
+ "navigationBarTitleText": "鍗曟嵁绫诲瀷"
+ }
+ },
+ {
+ "path": "pages/outbound/orderOut/orderList",
+ "style": {
+ "navigationBarTitleText": "鍗曟嵁鍒楄〃",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/outbound/orderOut/orderDetlList",
+ "style": {
+ "navigationBarTitleText": "鍗曟嵁鏄庣粏鍒楄〃"
+ }
+ },
+ {
+ "path": "pages/outbound/orderOutView/order_out_type",
+ "style": {
+ "navigationBarTitleText": "鍗曟嵁绫诲瀷"
+ }
+ },
+ {
+ "path": "pages/outbound/orderOutView/orderList",
+ "style": {
+ "navigationBarTitleText": "鍗曟嵁鍒楄〃",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/outbound/orderOutView/orderDetlList",
+ "style": {
+ "navigationBarTitleText": "鍗曟嵁鏄庣粏鍒楄〃"
+ }
+ },
+ {
+ "path": "pages/outbound/orderOut/outLocView",
+ "style": {
+ "navigationBarTitleText": "鍑哄簱搴撲綅瑙嗗浘"
+ }
+ },
+ {
+ "path": "pages/emptyTray/outBound",
+ "style": {
+ "navigationBarTitleText": "绌烘墭鍑哄簱"
+ }
+ },
+ {
+ "path": "pages/emptyTray/inBound",
+ "style": {
+ "navigationBarTitleText": "绌烘墭鍏ュ簱"
+ }
+ },
+ {
+ "path": "pages/outbound/orderPick",
+ "style": {
+ "navigationBarTitleText": "璁㈠崟鍑哄簱"
+ }
+ },
+ {
+ "path": "pages/outbound/orderOut",
+ "style": {
+ "navigationBarTitleText": "鍑哄簱璁㈠崟"
+ }
+ },
+ {
+ "path": "pages/outbound/orderOutItem",
+ "style": {
+ "navigationBarTitleText": "璁㈠崟鍑哄簱璇︽儏"
+ }
+ },
+ {
+ "path": "pages/outbound/matPreparation",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇澶囨枡"
+ }
+ },
+ {
+ "path": "pages/outbound/matPreparationItem",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇澶囨枡璇︽儏"
+ }
+ },
+ {
+ "path": "pages/inbound/orderIn",
+ "style": {
+ "navigationBarTitleText": "鍏ュ簱璁㈠崟"
+ }
+ },
+ {
+ "path": "pages/inbound/orderInExecute",
+ "style": {
+ "navigationBarTitleText": "鍏ュ簱璁㈠崟鍒楄〃"
+ }
+ },
+ {
+ "path": "pages/inbound/orderInItem",
+ "style": {
+ "navigationBarTitleText": "鍏ュ簱璁㈠崟璇︽儏"
+ }
+ },
+ {
+ "path": "pages/transfer/transferType",
+ "style": {
+ "navigationBarTitleText": "璋冩嫧绫诲瀷"
+ }
+ },
+ {
+ "path": "pages/transfer/orderTransfer",
+ "style": {
+ "navigationBarTitleText": "璋冩嫧璁㈠崟"
+ }
+ },
+ {
+ "path": "pages/transfer/orderTransferItem",
+ "style": {
+ "navigationBarTitleText": "璋冩嫧璁㈠崟璇︽儏"
+ }
+ },
+ {
+ "path": "pages/transfer/matTransfer",
+ "style": {
+ "navigationBarTitleText": "绉诲簱"
+ }
+ },
+ {
+ "path": "pages/other/workInfo/taskInfo",
+ "style": {
+ "navigationBarTitleText": "宸ヤ綔浠诲姟"
+ }
+ },
+ {
+ "path": "pages/other/workInfo/stationInfo",
+ "style": {
+ "navigationBarTitleText": "绔欑偣淇℃伅"
+ }
+ },
+ {
+ "path": "pages/other/workInfo/locInfo",
+ "style": {
+ "navigationBarTitleText": "搴撲綅淇℃伅"
+ }
+ },
+ {
+ "path": "pages/inbound/buffStore",
+ "style": {
+ "navigationBarTitleText": "鐏屾《鍏ュ簱"
+ }
+ },
+ {
+ "path": "pages/outbound/matDirectDelivery",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇鐩撮��"
+ }
+ },
+ {
+ "path": "pages/outbound/productDirectDelivery",
+ "style": {
+ "navigationBarTitleText": "鎴愬搧鐩村嚭"
+ }
+ },
+ {
+ "path": "pages/outbound/productionMatCall",
+ "style": {
+ "navigationBarTitleText": "鐢熶骇鍙枡"
+ }
+ },
+ {
+ "path": "pages/outbound/wavePick",
+ "style": {
+ "navigationBarTitleText": "娉㈡鎷h揣"
+ }
+ },
+ {
+ "path": "pages/check/checkOrder",
+ "style": {
+ "navigationBarTitleText": "鐩樼偣鍗�"
+ }
+ },
+ {
+ "path": "pages/check/checkOrderItem",
+ "style": {
+ "navigationBarTitleText": "鍒濈洏"
+ }
+ },
+ {
+ "path": "pages/check/firstCheck",
+ "style": {
+ "navigationBarTitleText": "鍒濈洏"
+ }
+ },
+ {
+ "path": "pages/outbound/wavePickItem",
+ "style": {
+ "navigationBarTitleText": "娉㈡鎷h揣"
+ }
+ },
+ {
+ "path": "pages/rece/standard",
+ "style": {
+ "navigationBarTitleText": "鏍囧噯鏀惰揣"
+ }
+ },
+ {
+ "path": "pages/rece/other",
+ "style": {
+ "navigationBarTitleText": "鍗曟嵁鏀惰揣"
+ }
+ },
+ {
+ "path": "pages/listing/disc",
+ "style": {
+ "navigationBarTitleText": "缁勭洏"
+ }
+ },
+ {
+ "path": "pages/AGV/AGVStaBind",
+ "style": {
+ "navigationBarTitleText": "AGV绔欑偣缁戝畾"
+ }
+ },
+ {
+ "path": "pages/AGV/StaUnBind",
+ "style": {
+ "navigationBarTitleText": "AGV绔欑偣瑙g粦"
+ }
+ },
+ {
+ "path": "pages/AGV/StartInTask",
+ "style": {
+ "navigationBarTitleText": "AGV鍏ュ簱"
+ }
+ },
+ {
+ "path": "pages/AGV/BindAndInTask",
+ "style": {
+ "navigationBarTitleText": "AGV缁戝畾&鍏ュ簱"
+ }
+ },
+ {
+ "path": "pages/listing/matnrPalletising",
+ "style": {
+ "navigationBarTitleText": "鍗曟嵁缁勬墭"
+ }
+ },
+ {
+ "path": "pages/listing/itemSelect",
+ "style": {
+ "navigationBarTitleText": "閫夋嫨鐗╂枡",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/listing/untie",
+ "style": {
+ "navigationBarTitleText": "瑙g粦"
+ }
+ },
+ {
+ "path": "pages/inspect/report",
+ "style": {
+ "navigationBarTitleText": "鎶ユ"
+ }
+ },
+ {
+ "path": "pages/inspect/check",
+ "style": {
+ "navigationBarTitleText": "璐ㄦ瑙i攣"
+ }
+ },
+ {
+ "path": "pages/inspect/bad",
+ "style": {
+ "navigationBarTitleText": "璐ㄦ涓婇攣"
+ }
+ },
+ {
+ "path": "pages/listing/labour",
+ "style": {
+ "navigationBarTitleText": "浜哄伐涓婃灦"
+ }
+ },
+ {
+ "path": "pages/listing/upper",
+ "style": {
+ "navigationBarTitleText": "涓婃灦"
+ }
+ },
+ {
+ "path": "pages/outbound/fastPicking",
+ "style": {
+ "navigationBarTitleText": "蹇�熸嫞璐�"
+ }
+ },
+ {
+ "path": "pages/mat/matSelected",
+ "style": {
+ "navigationBarTitleText": "鐗╂枡"
+ }
+ },
+ {
+ "path": "pages/mat/matQuery",
+ "style": {
+ "navigationBarTitleText": "鐗╂枡"
+ }
+ },
+ {
+ "path": "pages/mat/matList",
+ "style": {
+ "navigationBarTitleText": "鍟嗗搧鍒楄〃"
+ }
+ },
+ {
+ "path": "pages/login/logOut",
+ "style": {
+ "navigationBarTitleText": "閫�鍑虹櫥褰�"
+ }
+ },
+ {
+ "path": "pages/home/menuHome",
+ "style": {
+ "navigationBarTitleText": "涓婚〉",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/home/inOutManage",
+ "style": {
+ "navigationBarTitleText": "鍏ュ嚭搴撶鐞�",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/home/orderManage",
+ "style": {
+ "navigationBarTitleText": "鍗曟嵁绠$悊",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/home/wrkMastManage",
+ "style": {
+ "navigationBarTitleText": "浠诲姟绠$悊",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/home/locMastManage",
+ "style": {
+ "navigationBarTitleText": "搴撲綅绠$悊",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/listing/unPakin",
+ "style": {
+ "navigationBarTitleText": "缁勬墭瑙g粦"
+ }
+ }
+ ],
+ "globalStyle": {
+ "navigationBarTextStyle": "black",
+ "navigationBarTitleText": "uni-app",
+ "navigationBarBackgroundColor": "#F8F8F8",
+ "backgroundColor": "#F8F8F8"
+ },
+ "uniIdRouter": {}
}
\ No newline at end of file
diff --git a/pages/inspect/check.vue b/pages/inspect/check.vue
index c64ce93..6368199 100644
--- a/pages/inspect/check.vue
+++ b/pages/inspect/check.vue
@@ -162,8 +162,8 @@
</template>
<script>
-import { request } from '../../common/request.js'
-import ConfirmModal from '../../components/confirm-modal/confirm-modal.vue'
+import { request } from '@/common/request.js'
+import ConfirmModal from '@/components/confirm-modal/confirm-modal.vue'
export default {
components: {
diff --git a/pages/other/workInfo/locInfo.vue b/pages/other/workInfo/locInfo.vue
new file mode 100644
index 0000000..a48dfb6
--- /dev/null
+++ b/pages/other/workInfo/locInfo.vue
@@ -0,0 +1,336 @@
+<template>
+ <view class="has-foot">
+ <form>
+ <view class="cu-form-group margin-top">
+ <view class="title">搴撲綅鐮�</view>
+ <input
+ placeholder="璇锋壂鎻忓簱浣嶆潯鐮�"
+ v-model="barcode"
+ />
+ <text
+ class="cuIcon-search text-blue"
+ @click="search"
+ ></text>
+ </view>
+ </form>
+
+ <view class="cu-list det menu sm-border padding">
+ <block
+ v-for="(item, index) in list"
+ :key="index"
+ @click="clickTaskItem(index)"
+ >
+ <view
+ class="cu-list det menu"
+ @click="clickTaskItem(index)"
+ >
+ <view class="cu-item">
+ <view class="content">
+ <text class="text-grey">搴撲綅缂栫爜锛�</text>
+ <text class="text-black">{{ item.code }}</text>
+ </view>
+ </view>
+ <view class="cu-item">
+ <view class="content">
+ <text class="text-grey">搴撲綅绫诲瀷锛�</text>
+ <text class="text-black">{{ item.typeIds$ }}</text>
+ </view>
+ </view>
+ <view class="cu-item">
+ <view class="content">
+ <text class="text-grey">搴撳尯锛�</text>
+ <text class="text-black">{{ item.areaId$ }}</text>
+ </view>
+ </view>
+ <view class="cu-item">
+ <view class="content">
+ <text class="text-grey">绔欑偣鐘舵�侊細</text>
+ <text class="text-black">
+ {{ item.useStatus$ }}
+ </text>
+ </view>
+ </view>
+ <view
+ class="cu-item"
+ style="justify-content: center"
+ >
+ <button
+ class="cu-btn bg-blue"
+ style="width: 80%"
+ @click.stop="openAction(item)"
+ >
+ 鎿嶄綔
+ </button>
+ </view>
+ </view>
+ </block>
+ </view>
+ <uni-load-more :status="loadingType"></uni-load-more>
+
+ <uni-popup
+ ref="popup"
+ class="cu-popup"
+ type="bottom"
+ >
+ <view class="bg-white">
+ <view class="cu-bar bg-white justify-end">
+ <view class="content">鎿嶄綔</view>
+ <view
+ class="action"
+ @click="close"
+ >
+ <text class="cuIcon-close text-red"></text>
+ </view>
+ </view>
+ <view class="padding-xl">
+ <button
+ class="cu-btn block bg-red margin-tb-sm lg"
+ @click="handleOperate(1)"
+ >
+ 绂佺敤
+ </button>
+ <button
+ class="cu-btn block bg-green margin-tb-sm lg"
+ @click="handleOperate(2)"
+ >
+ 瑙g
+ </button>
+ <button
+ class="cu-btn block bg-yellow margin-tb-sm lg"
+ @click="handleOperate(3)"
+ >
+ 閲婃斁
+ </button>
+ </view>
+ </view>
+ </uni-popup>
+ </view>
+</template>
+
+<script>
+import { request } from '@/common/request.js'
+import { mapState, mapMutations, mapActions, mapGetters } from 'vuex'
+export default {
+ data() {
+ return {
+ container: '',
+ list: [],
+ range: [],
+ curCode: '',
+ barcode: '',
+ curr: 1,
+ limit: 10,
+ loadingType: 'more',
+ curItem: null // 褰撳墠鎿嶄綔鐨勯」
+ }
+ },
+ computed: {
+ ...mapState('user', ['dynamicFields'])
+ },
+ mounted() {
+ this.search()
+ },
+ onReachBottom() {
+ if (this.loadingType === 'more') {
+ this.curr++
+ this.getData()
+ }
+ },
+ methods: {
+ openAction(item) {
+ this.curItem = item
+ this.$refs.popup.open()
+ },
+ async handleOperate(type) {
+ if (!this.curItem) return
+
+ uni.showLoading({
+ title: '澶勭悊涓�...'
+ })
+
+ try {
+ const { code, data, msg } = await request('/other/locOperate', {
+ locNo: this.curItem.code,
+ staOperateType: type
+ })
+
+ uni.hideLoading()
+
+ if (code === 200) {
+ uni.showToast({
+ title: '鎿嶄綔鎴愬姛',
+ icon: 'success'
+ })
+ this.$refs.popup.close()
+ // 鍒锋柊鍒楄〃
+ this.search()
+ } else {
+ uni.showToast({
+ title: msg,
+ icon: 'none'
+ })
+ }
+ } catch (e) {
+ uni.hideLoading()
+ uni.showToast({
+ title: '鎿嶄綔澶辫触',
+ icon: 'none'
+ })
+ }
+ },
+ search() {
+ this.getData(true)
+ },
+ async getData(isReset = false) {
+ if (isReset) {
+ this.curr = 1
+ this.loadingType = 'more'
+ }
+ if (this.loadingType === 'noMore') return
+ this.loadingType = 'loading'
+
+ const { code, data, msg } = await request(
+ '/other/loc/page',
+ {
+ curr: this.curr,
+ limit: this.limit,
+ locNo: this.barcode
+ },
+ 'GET'
+ )
+ if (code === 200) {
+ if (isReset) {
+ this.list = data.records
+ } else {
+ this.list = this.list.concat(data.records)
+ }
+
+ const total = data.total
+ if (this.list.length >= total) {
+ this.loadingType = 'noMore'
+ } else {
+ this.loadingType = 'more'
+ }
+ } else {
+ uni.showToast({
+ title: msg,
+ icon: 'none'
+ })
+ this.loadingType = 'more'
+ }
+ },
+ clickTaskItem(index) {
+ let that = this
+ uni.navigateTo({
+ url: './orderInItem',
+ // 閫氳繃eventChannel鍚戣鎵撳紑椤甸潰浼犻�佹暟鎹�
+ success: function (res) {
+ res.eventChannel.emit('checkItem', {
+ data: that.list[index]
+ })
+ }
+ })
+ },
+
+ remove(index) {
+ this.list.splice(index, 1)
+ },
+ clear() {
+ this.list = []
+ this.container = ''
+ this.barcode = ''
+ },
+
+ open() {
+ this.$refs.popup.open()
+ },
+
+ close() {
+ this.$refs.popup.close()
+ },
+
+ popupSubmit() {
+ this.$refs.popup.close()
+ },
+ itemChange(el) {
+ this.curCode = el
+ },
+
+ async confirm() {
+ if (this.barcode === '' || this.barcode === null) {
+ uni.showToast({
+ title: '鎺ラ┏绔欑爜涓嶈兘涓虹┖',
+ icon: 'none'
+ })
+ return
+ }
+ const { code, data, msg } = await request('/AGV/staBind', {
+ barcode: this.container,
+ sta: this.barcode
+ })
+ if (code === 200) {
+ uni.showToast({
+ title: '缁戝畾鎴愬姛'
+ })
+ this.clear()
+ } else {
+ uni.showToast({
+ title: msg,
+ icon: 'none'
+ })
+ }
+ }
+ }
+}
+</script>
+
+<style>
+.index {
+ border: 1px solid #e54d42;
+ color: #e54d42;
+ border-radius: 50%;
+ display: block;
+ width: 50rpx;
+ height: 50rpx;
+ line-height: 48rpx;
+ text-align: center;
+ margin-right: 20rpx;
+ font-size: 30rpx;
+}
+
+.text-blue {
+ color: #0081ff !important;
+}
+
+.item {
+ position: relative;
+ display: flex;
+ min-height: 80upx;
+ align-items: center;
+}
+
+.uni-file-picker {
+ width: 100%;
+ margin-bottom: 10px;
+}
+
+.uni-select__selector {
+ z-index: 999;
+}
+
+.tj {
+ height: auto;
+ padding: 6px 8px;
+ display: inline-block;
+ border-radius: 6px;
+}
+
+.item {
+ display: flex;
+ justify-content: center;
+}
+
+.item .cu-btn {
+ font-size: 26upx;
+}
+</style>
diff --git a/pages/other/workInfo/stationInfo.vue b/pages/other/workInfo/stationInfo.vue
new file mode 100644
index 0000000..d64f656
--- /dev/null
+++ b/pages/other/workInfo/stationInfo.vue
@@ -0,0 +1,334 @@
+<template>
+ <view class="has-foot">
+ <form>
+ <view class="cu-form-group margin-top">
+ <view class="title">鎺ラ┏绔欑偣</view>
+ <input
+ placeholder="璇锋壂鎻忔帴椹崇珯鐐规潯鐮�"
+ v-model="barcode"
+ />
+ <text
+ class="cuIcon-search text-blue"
+ @click="search"
+ ></text>
+ </view>
+ </form>
+
+ <view class="cu-list det menu sm-border padding">
+ <block
+ v-for="(item, index) in list"
+ :key="index"
+ @click="clickTaskItem(index)"
+ >
+ <view
+ class="cu-list det menu"
+ @click="clickTaskItem(index)"
+ >
+ <view class="cu-item">
+ <view class="content">
+ <text class="text-grey">绔欑偣缂栫爜锛�</text>
+ <text class="text-black">
+ {{ item.stationName }}
+ </text>
+ </view>
+ </view>
+ <view class="cu-item">
+ <view class="content">
+ <text class="text-grey">绔欑偣绫诲瀷锛�</text>
+ <text class="text-black">
+ {{ item.type === 1 ? '鍏夌數绔欑偣' : '鏅�氱珯鐐�' }}
+ </text>
+ </view>
+ </view>
+ <view class="cu-item">
+ <view class="content">
+ <text class="text-grey">绔欑偣鐘舵�侊細</text>
+ <text class="text-black">
+ {{ item.useStatus$ }}
+ </text>
+ </view>
+ </view>
+ <view
+ class="cu-item"
+ style="justify-content: center"
+ >
+ <button
+ class="cu-btn bg-blue"
+ style="width: 80%"
+ @click.stop="openAction(item)"
+ >
+ 鎿嶄綔
+ </button>
+ </view>
+ </view>
+ </block>
+ </view>
+ <uni-load-more :status="loadingType"></uni-load-more>
+
+ <uni-popup
+ ref="popup"
+ class="cu-popup"
+ type="bottom"
+ >
+ <view class="bg-white">
+ <view class="cu-bar bg-white justify-end">
+ <view class="content">鎿嶄綔</view>
+ <view
+ class="action"
+ @click="close"
+ >
+ <text class="cuIcon-close text-red"></text>
+ </view>
+ </view>
+ <view class="padding-xl">
+ <button
+ class="cu-btn block bg-red margin-tb-sm lg"
+ @click="handleOperate(1)"
+ >
+ 绂佺敤
+ </button>
+ <button
+ class="cu-btn block bg-green margin-tb-sm lg"
+ @click="handleOperate(2)"
+ >
+ 瑙g
+ </button>
+ <button
+ class="cu-btn block bg-yellow margin-tb-sm lg"
+ @click="handleOperate(3)"
+ >
+ 閲婃斁
+ </button>
+ </view>
+ </view>
+ </uni-popup>
+ </view>
+</template>
+
+<script>
+import { request } from '@/common/request.js'
+import { mapState, mapMutations, mapActions, mapGetters } from 'vuex'
+export default {
+ data() {
+ return {
+ container: '',
+ list: [],
+ range: [],
+ curCode: '',
+ barcode: '',
+ curr: 1,
+ limit: 10,
+ loadingType: 'more',
+ curItem: null // 褰撳墠鎿嶄綔鐨勯」
+ }
+ },
+ computed: {
+ ...mapState('user', ['dynamicFields'])
+ },
+ mounted() {
+ this.search()
+ },
+ onReachBottom() {
+ if (this.loadingType === 'more') {
+ this.curr++
+ this.getData()
+ }
+ },
+ methods: {
+ openAction(item) {
+ this.curItem = item
+ this.$refs.popup.open()
+ },
+ async handleOperate(type) {
+ if (!this.curItem) return
+
+ uni.showLoading({
+ title: '澶勭悊涓�...'
+ })
+
+ try {
+ const { code, data, msg } = await request('/other/staOperate', {
+ transferStationNo: this.curItem.stationName,
+ staOperateType: type
+ })
+
+ uni.hideLoading()
+
+ if (code === 200) {
+ uni.showToast({
+ title: '鎿嶄綔鎴愬姛',
+ icon: 'success'
+ })
+ this.$refs.popup.close()
+ // 鍒锋柊鍒楄〃
+ this.search()
+ } else {
+ uni.showToast({
+ title: msg,
+ icon: 'none'
+ })
+ }
+ } catch (e) {
+ uni.hideLoading()
+ uni.showToast({
+ title: '鎿嶄綔澶辫触',
+ icon: 'none'
+ })
+ }
+ },
+ search() {
+ this.getData(true)
+ },
+ async getData(isReset = false) {
+ if (isReset) {
+ this.curr = 1
+ this.loadingType = 'more'
+ }
+ if (this.loadingType === 'noMore') return
+ this.loadingType = 'loading'
+
+ const { code, data, msg } = await request(
+ '/other/station/page',
+ {
+ curr: this.curr,
+ limit: this.limit,
+ staNo: this.barcode
+ },
+ 'GET'
+ )
+ if (code === 200) {
+ if (isReset) {
+ this.list = data.records
+ } else {
+ this.list = this.list.concat(data.records)
+ }
+
+ const total = data.total
+ if (this.list.length >= total) {
+ this.loadingType = 'noMore'
+ } else {
+ this.loadingType = 'more'
+ }
+ } else {
+ uni.showToast({
+ title: msg,
+ icon: 'none'
+ })
+ this.loadingType = 'more'
+ }
+ },
+ clickTaskItem(index) {
+ let that = this
+ uni.navigateTo({
+ url: './orderInItem',
+ // 閫氳繃eventChannel鍚戣鎵撳紑椤甸潰浼犻�佹暟鎹�
+ success: function (res) {
+ res.eventChannel.emit('checkItem', {
+ data: that.list[index]
+ })
+ }
+ })
+ },
+
+ remove(index) {
+ this.list.splice(index, 1)
+ },
+ clear() {
+ this.list = []
+ this.container = ''
+ this.barcode = ''
+ },
+
+ open() {
+ this.$refs.popup.open()
+ },
+
+ close() {
+ this.$refs.popup.close()
+ },
+
+ popupSubmit() {
+ this.$refs.popup.close()
+ },
+ itemChange(el) {
+ this.curCode = el
+ },
+
+ async confirm() {
+ if (this.barcode === '' || this.barcode === null) {
+ uni.showToast({
+ title: '鎺ラ┏绔欑爜涓嶈兘涓虹┖',
+ icon: 'none'
+ })
+ return
+ }
+ const { code, data, msg } = await request('/AGV/staBind', {
+ barcode: this.container,
+ sta: this.barcode
+ })
+ if (code === 200) {
+ uni.showToast({
+ title: '缁戝畾鎴愬姛'
+ })
+ this.clear()
+ } else {
+ uni.showToast({
+ title: msg,
+ icon: 'none'
+ })
+ }
+ }
+ }
+}
+</script>
+
+<style>
+.index {
+ border: 1px solid #e54d42;
+ color: #e54d42;
+ border-radius: 50%;
+ display: block;
+ width: 50rpx;
+ height: 50rpx;
+ line-height: 48rpx;
+ text-align: center;
+ margin-right: 20rpx;
+ font-size: 30rpx;
+}
+
+.text-blue {
+ color: #0081ff !important;
+}
+
+.item {
+ position: relative;
+ display: flex;
+ min-height: 80upx;
+ align-items: center;
+}
+
+.uni-file-picker {
+ width: 100%;
+ margin-bottom: 10px;
+}
+
+.uni-select__selector {
+ z-index: 999;
+}
+
+.tj {
+ height: auto;
+ padding: 6px 8px;
+ display: inline-block;
+ border-radius: 6px;
+}
+
+.item {
+ display: flex;
+ justify-content: center;
+}
+
+.item .cu-btn {
+ font-size: 26upx;
+}
+</style>
diff --git a/pages/workInfo/taskInfo.vue b/pages/other/workInfo/taskInfo.vue
similarity index 99%
rename from pages/workInfo/taskInfo.vue
rename to pages/other/workInfo/taskInfo.vue
index 951fbf6..be83354 100644
--- a/pages/workInfo/taskInfo.vue
+++ b/pages/other/workInfo/taskInfo.vue
@@ -94,7 +94,7 @@
<script>
import {
request
- } from '../../common/request.js'
+ } from '@/common/request.js'
import {
mapState,
mapMutations,
diff --git a/pages/workInfo/locInfo.vue b/pages/workInfo/locInfo.vue
deleted file mode 100644
index 21714ab..0000000
--- a/pages/workInfo/locInfo.vue
+++ /dev/null
@@ -1,239 +0,0 @@
-<template>
- <view class="has-foot">
- <form>
- <view class="cu-form-group margin-top">
- <view class="title">搴撲綅鍙�</view>
- <input placeholder="璇锋壂鎻忓簱浣嶇紪鐮�" v-model="barcode" ></input>
- <text class='cuIcon-search text-blue' @click="search"></text>
- </view>
- </form>
-
- <view class="cu-list det menu sm-border padding">
- <block v-for="(item, index) in list" :key="index" @click="clickTaskItem(index)">
- <view class="cu-list det menu" @click="clickTaskItem(index)">
- <view class="cu-item">
- <view class="content">
- <text class="text-grey">搴撲綅鍙凤細</text><text class="text-black">{{item.stationName}}</text>
- </view>
- </view>
- <view class="cu-item">
- <view class="content">
- <text class="text-grey">搴撲綅绫诲瀷锛�</text><text class="text-black ">{{item.type === 1 ? '绠卞3' : '鍘熸潗鏂�'}}</text>
- </view>
- </view>
- <view class="cu-item">
- <view class="content">
- <text class="text-grey">瀹瑰櫒鍙凤細</text><text class="text-black ">{{item.containerType}}</text>
- </view>
- </view>
- <view class="cu-item">
- <view class="content">
- <text class="text-grey">搴撲綅鐘舵�侊細</text><text class="text-black ">{{item.status === 0 ? '鍦ㄥ簱' : '绌洪棽' }}</text>
- </view>
- </view>
- <view class="cu-item">
- <button class="cu-btn bg-red shadow-blur margin-left-xl justify-center" @click="popupSubmit">绂佺敤</button>
- <button class="cu-btn bg-green shadow-blur margin-right-xl justify-center" @click="popupSubmit">瑙g</button>
- <!-- <text class="text-grey">瀹瑰櫒鍙凤細</text><text class="text-black ">{{item.anfme}}</text> -->
-
-<!-- <view class="content margin-left-xl justify-center">
- </view> -->
- </view>
- </view>
- </block>
- </view>
-
-<!-- <uni-popup ref="popup" class="cu-popup">
- <view class="popup-content">
- <view class="head">
- <text>鎺ㄨ崘</text>
- <text class='cuIcon-close text-red close' @click="close"></text>
- </view>
-
- <div class="body">
- <view class="cu-list grid col-3 no-border">
- <view class="item" v-for="el in range">
- <view class="cu-btn round sm" :class="[el===curCode?'bg-blue':'line-blue']"
- @click="itemChange(el)">{{el}}</view>
- </view>
- </view>
- </div>
-
- <view class="cu-bar btn-group ">
- <button class="cu-btn bg-blue shadow-blur" @click="popupSubmit">鎻愪氦</button>
- </view>
- </view>
- </uni-popup> -->
-
- </view>
-</template>
-
-<script>
- import {
- request
- } from '../../common/request.js'
- import {
- mapState,
- mapMutations,
- mapActions,
- mapGetters
- } from 'vuex';
- export default {
- data() {
- return {
- container: '',
- list: [],
- range: [],
- curCode: ''
- }
- },
- computed: {
- ...mapState('user', ['dynamicFields']),
- },
- mounted() {
- this.search()
- },
- methods: {
- async search() {
- const {
- code,
- data,
- msg
- } = await request('/basStation/page', {
- current: 1,
- pageSize: 10000,
- stationName: this.barcode
- })
- if (code === 200) {
- this.list = data.records
- } else {
- uni.showToast({
- title: msg,
- icon: "none",
- })
- }
- },
- clickTaskItem(index){
- let that = this
- uni.navigateTo({
- url: "./orderInItem",
- // 閫氳繃eventChannel鍚戣鎵撳紑椤甸潰浼犻�佹暟鎹�
- success: function(res) {
- res.eventChannel.emit('checkItem', {
- data: that.list[index]
- })
- }
-
- });
- },
-
- remove(index) {
- this.list.splice(index, 1);
- },
- clear() {
- this.list = []
- this.container = ''
- this.barcode = ''
- },
-
- open() {
- this.$refs.popup.open()
- },
-
- close() {
- this.$refs.popup.close()
- },
-
- popupSubmit() {
- this.$refs.popup.close()
- },
- itemChange(el) {
- this.curCode = el
- },
-
- async confirm() {
- if(this.barcode === '' || this.barcode ===null){
- uni.showToast({
- title: "鎺ラ┏绔欑爜涓嶈兘涓虹┖",
- icon: "none",
- })
- return ;
- }
- const {
- code,
- data,
- msg
- } = await request('/AGV/staBind',{
- barcode: this.container,
- sta: this.barcode
- }
- )
- if (code === 200) {
- uni.showToast({
- title: '缁戝畾鎴愬姛'
- })
- this.clear()
- } else {
- uni.showToast({
- title: msg,
- icon: "none",
- })
- }
-
- },
-
- }
- }
-</script>
-
-<style>
- .index {
- border: 1px solid #e54d42;
- color: #e54d42;
- border-radius: 50%;
- display: block;
- width: 50rpx;
- height: 50rpx;
- line-height: 48rpx;
- text-align: center;
- margin-right: 20rpx;
- font-size: 30rpx;
- }
-
- .text-blue {
- color: #0081ff !important;
-
- }
-
- .item {
- position: relative;
- display: flex;
- min-height: 80upx;
- align-items: center;
- }
-
- .uni-file-picker {
- width: 100%;
- margin-bottom: 10px;
- }
-
- .uni-select__selector {
- z-index: 999;
- }
-
- .tj {
- height: auto;
- padding: 6px 8px;
- display: inline-block;
- border-radius: 6px;
- }
-
- .item {
- display: flex;
- justify-content: center;
- }
-
- .item .cu-btn {
- font-size: 26upx;
- }
-</style>
\ No newline at end of file
diff --git a/pages/workInfo/stationInfo.vue b/pages/workInfo/stationInfo.vue
deleted file mode 100644
index da07f5b..0000000
--- a/pages/workInfo/stationInfo.vue
+++ /dev/null
@@ -1,234 +0,0 @@
-<template>
- <view class="has-foot">
- <form>
- <view class="cu-form-group margin-top">
- <view class="title">鎺ラ┏绔欑偣</view>
- <input placeholder="璇锋壂鎻忔帴椹崇珯鐐规潯鐮�" v-model="barcode" ></input>
- <text class='cuIcon-search text-blue' @click="search"></text>
- </view>
- </form>
-
- <view class="cu-list det menu sm-border padding">
- <block v-for="(item, index) in list" :key="index" @click="clickTaskItem(index)">
- <view class="cu-list det menu" @click="clickTaskItem(index)">
- <view class="cu-item">
- <view class="content">
- <text class="text-grey">绔欑偣缂栫爜锛�</text><text class="text-black">{{item.stationName}}</text>
- </view>
- </view>
- <view class="cu-item">
- <view class="content">
- <text class="text-grey">绔欑偣绫诲瀷锛�</text><text class="text-black ">{{item.type === 1 ? '鍏夌數绔欑偣' : '鏅�氱珯鐐�'}}</text>
- </view>
- </view>
- <view class="cu-item">
- <view class="content">
- <text class="text-grey">绔欑偣鐘舵�侊細</text><text class="text-black ">{{item.status === 0 ? '姝e父' : '绂佺敤' }}</text>
- </view>
- </view>
- <view class="cu-item">
- <button class="cu-btn bg-red shadow-blur margin-left-xl justify-center" @click="popupSubmit">绂佺敤</button>
- <button class="cu-btn bg-green shadow-blur margin-right-xl justify-center" @click="popupSubmit">瑙g</button>
- <!-- <text class="text-grey">瀹瑰櫒鍙凤細</text><text class="text-black ">{{item.anfme}}</text> -->
-
-<!-- <view class="content margin-left-xl justify-center">
- </view> -->
- </view>
- </view>
- </block>
- </view>
-
-<!-- <uni-popup ref="popup" class="cu-popup">
- <view class="popup-content">
- <view class="head">
- <text>鎺ㄨ崘</text>
- <text class='cuIcon-close text-red close' @click="close"></text>
- </view>
-
- <div class="body">
- <view class="cu-list grid col-3 no-border">
- <view class="item" v-for="el in range">
- <view class="cu-btn round sm" :class="[el===curCode?'bg-blue':'line-blue']"
- @click="itemChange(el)">{{el}}</view>
- </view>
- </view>
- </div>
-
- <view class="cu-bar btn-group ">
- <button class="cu-btn bg-blue shadow-blur" @click="popupSubmit">鎻愪氦</button>
- </view>
- </view>
- </uni-popup> -->
-
- </view>
-</template>
-
-<script>
- import {
- request
- } from '../../common/request.js'
- import {
- mapState,
- mapMutations,
- mapActions,
- mapGetters
- } from 'vuex';
- export default {
- data() {
- return {
- container: '',
- list: [],
- range: [],
- curCode: ''
- }
- },
- computed: {
- ...mapState('user', ['dynamicFields']),
- },
- mounted() {
- this.search()
- },
- methods: {
- async search() {
- const {
- code,
- data,
- msg
- } = await request('/basStation/page', {
- current: 1,
- pageSize: 10000,
- stationName: this.barcode
- })
- if (code === 200) {
- this.list = data.records
- } else {
- uni.showToast({
- title: msg,
- icon: "none",
- })
- }
- },
- clickTaskItem(index){
- let that = this
- uni.navigateTo({
- url: "./orderInItem",
- // 閫氳繃eventChannel鍚戣鎵撳紑椤甸潰浼犻�佹暟鎹�
- success: function(res) {
- res.eventChannel.emit('checkItem', {
- data: that.list[index]
- })
- }
-
- });
- },
-
- remove(index) {
- this.list.splice(index, 1);
- },
- clear() {
- this.list = []
- this.container = ''
- this.barcode = ''
- },
-
- open() {
- this.$refs.popup.open()
- },
-
- close() {
- this.$refs.popup.close()
- },
-
- popupSubmit() {
- this.$refs.popup.close()
- },
- itemChange(el) {
- this.curCode = el
- },
-
- async confirm() {
- if(this.barcode === '' || this.barcode ===null){
- uni.showToast({
- title: "鎺ラ┏绔欑爜涓嶈兘涓虹┖",
- icon: "none",
- })
- return ;
- }
- const {
- code,
- data,
- msg
- } = await request('/AGV/staBind',{
- barcode: this.container,
- sta: this.barcode
- }
- )
- if (code === 200) {
- uni.showToast({
- title: '缁戝畾鎴愬姛'
- })
- this.clear()
- } else {
- uni.showToast({
- title: msg,
- icon: "none",
- })
- }
-
- },
-
- }
- }
-</script>
-
-<style>
- .index {
- border: 1px solid #e54d42;
- color: #e54d42;
- border-radius: 50%;
- display: block;
- width: 50rpx;
- height: 50rpx;
- line-height: 48rpx;
- text-align: center;
- margin-right: 20rpx;
- font-size: 30rpx;
- }
-
- .text-blue {
- color: #0081ff !important;
-
- }
-
- .item {
- position: relative;
- display: flex;
- min-height: 80upx;
- align-items: center;
- }
-
- .uni-file-picker {
- width: 100%;
- margin-bottom: 10px;
- }
-
- .uni-select__selector {
- z-index: 999;
- }
-
- .tj {
- height: auto;
- padding: 6px 8px;
- display: inline-block;
- border-radius: 6px;
- }
-
- .item {
- display: flex;
- justify-content: center;
- }
-
- .item .cu-btn {
- font-size: 26upx;
- }
-</style>
\ No newline at end of file
--
Gitblit v1.9.1