From ee117223c66f959599a11769bc2645879b39637f Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期六, 30 八月 2025 14:24:03 +0800 Subject: [PATCH] 1.库位变更 2.登录优化 3.新增请求头 --- H5/Cpdbsj.aspx | 84 +++++++++++++++++++++++++++++------------ 1 files changed, 59 insertions(+), 25 deletions(-) diff --git a/H5/Cpdbsj.aspx b/H5/Cpdbsj.aspx index 22f0f91..3d63ea6 100644 --- a/H5/Cpdbsj.aspx +++ b/H5/Cpdbsj.aspx @@ -51,6 +51,12 @@ flex: 1; /* 绛夊垎鍓╀綑绌洪棿 */ min-width: 0; /* 闃叉鍐呭婧㈠嚭 */ } + + .van-checkbox__icon--checked .van-icon + { + color: #ffffff !important; + } + </style> </asp:Content> @@ -82,7 +88,7 @@ <div class="si-status__left"> <span class="si-status__label">鍙鏁�</span> </div> - <div class="si-status__right">{{KbBarInfo.oldqty||0}}</div> + <div class="si-status__right">{{KbBarInfo.quantity||0}}</div> </div> <div class="si-status-box si-status--error"> @@ -90,7 +96,7 @@ <span class="si-status__label">寰呰鏁�</span> </div> <div class="si-status__right"> - {{ ((+(KbBarInfo.oldqty || 0) - +(KbBarInfo.ySum || 0)) || 0) }} + {{ ((+(KbBarInfo.quantity || 0) - +(KbBarInfo.ySum || 0)) || 0) }} </div> </div> </div> @@ -134,37 +140,65 @@ autofocus="true"> </van-field> + <van-field ref="LsBar" v-model="LsBar" label="浜у搧鏉$爜" + class="custom-label-field" placeholder="璇锋壂浜у搧鏉$爜" @keyup.enter.native="checkProductBarcode" autofocus="true"> + <template #extra> + <span style="margin-right:8px">AGV</span> + <van-checkbox + v-model="agvChecked" + shape="round" + icon-size="18px"> + </van-checkbox> + </template> </van-field> - -<%-- <van-field - ref="LsBar" - v-model="LsBar" + + <van-field + ref="xtName" + v-model="xtName" label="绾垮埆" placeholder="璇烽�夋嫨绾垮埆" - autofocus="true"> - </van-field>--%> + autofocus="true" + @click.native="selectXt"> + <template #button > + <van-button + style="background-color: #ffcc00;border-color: #ffcc00;color: white" + class="action-button reset-button" + @click.stop="handleAGVCall" + >鍛煎彨</van-button> + </template> + </van-field> + <div style="height: 10px"></div> <!-- 淇敼鍚庣殑鎸夐挳瀹瑰櫒 --> - <div class="button-container"> - <van-button - type="warning" - class="action-button reset-button" - >閲嶇疆</van-button> - <van-button - type="info" - class="action-button submit-button" - @click.native="handleSubmit" - >閫佹</van-button> - </div> + <div class="button-container"> + <van-button + type="warning" + class="action-button reset-button" + @click.native="handleClear" + >閲嶇疆</van-button> + <van-button + type="primary" + class="action-button" + @click.native="handleAGVInspection" + >閫佹</van-button> + <!-- style="background-color: #27f83f;border-color: #27f83f;color: white" --> + <van-button + type="info" + class="action-button submit-button" + @click.native="handleSubmit" + >鎻愪氦</van-button> + </div> </van-cell-group> </div> + + <van-action-sheet v-model="show" :actions="actions" @select="onSelect" ></van-action-sheet> <van-tabs color="#000" title-active-color="#0283EF"> <van-tab title="绠辨槑缁�" class="mySolid font"> @@ -172,12 +206,12 @@ <van-col span="7" class="text-left padding-left">鏉$爜</van-col> <van-col span="7" class="text-left padding-left">鐗╂枡</van-col> <van-col span="7" class="text-left padding-left">瑙勬牸</van-col> - <van-col span="3" >鏁伴噺</van-col> + <van-col span="3" >閲嶉噺</van-col> </van-row> <van-row v-for="(itm,index) in XbarInfo" :key="index" - :style="{ background: itm.is_hedui === '1' ? '#e8f5e9 !important' : 'transparent' }"> + :style="{ background: itm.is_hedui === '1' ? '#75f41d !important' : 'transparent' }"> <van-col span="7" class="text-left padding-left">{{itm.iteM_BARCODE}}</van-col> <van-col span="7" class="text-left padding-left"> <div class="blue-text">{{itm.item_no}}</div> @@ -186,7 +220,7 @@ <van-col span="7" class="text-left padding-left"> <div>{{itm.item_model}}</div> </van-col> - <van-col span="3" class="blue-text">{{itm.quantity}}</van-col> + <van-col span="3" class="blue-text">{{itm.weight}}</van-col> </van-row> </van-tab> @@ -195,7 +229,7 @@ <van-col span="7" class="text-left padding-left">鏉$爜</van-col> <van-col span="7" class="text-left padding-left">鐗╂枡</van-col> <van-col span="7" class="text-left padding-left">瑙勬牸</van-col> - <van-col span="3" >鏁伴噺</van-col> + <van-col span="3" >閲嶉噺</van-col> </van-row> <van-row v-for="(itm,index) in KbBarMxInfo" :key="index"> <van-col span="7" class="text-left padding-left" >{{itm.iteM_BARCODE}}</van-col> @@ -207,7 +241,7 @@ <div>{{itm.item_model}}</div> </van-col> - <van-col span="3" class="blue-text">{{itm.quantity}}</van-col> + <van-col span="3" class="blue-text">{{itm.weight}}</van-col> </van-row> </van-tab> </van-tabs> @@ -219,5 +253,5 @@ </asp:Content> <asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server"> - <script src="Js/Cpbdsj.js?<%=121111111 %>"></script> + <script src="Js/Cpbdsj.js?<%=12111111421514 %>"></script> </asp:Content> \ No newline at end of file -- Gitblit v1.9.3