From 8e4aa88d5b4b85d19cdaf49f14fca22540b7e3dd Mon Sep 17 00:00:00 2001 From: cdk <2441919651@qq.com> Date: 星期一, 15 九月 2025 09:52:50 +0800 Subject: [PATCH] 其他出库加入库存限制 --- H5/Wwll.aspx | 160 ++++++++++++++++++++++++++++++++++++++++------------- 1 files changed, 121 insertions(+), 39 deletions(-) diff --git a/H5/Wwll.aspx b/H5/Wwll.aspx index 58e7114..ad6a420 100644 --- a/H5/Wwll.aspx +++ b/H5/Wwll.aspx @@ -4,27 +4,53 @@ .bg-info { background-color:#fff; } - + .org-info { + height: 0.5rem; + line-height: 0.5rem; + padding: 0 0.16rem; + } </style> </asp:Content> + <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server"> + <van-notice-bar + :scrollable="false" + :text="'褰撳墠缁勭粐锛�' + (Cookies.get('orgName') || '鏆傛棤缁勭粐淇℃伅')" + class="org-info" +/></van-notice-bar> + <van-nav-bar title="濮斿棰嗘枡" left-text="杩斿洖" left-arrow @click-left="GoBack()" ></van-nav-bar> + <div class="mySolid"> <van-cell-group> + + <van-field + ref ="selectKey" + value="" + label="宸ュ崟鏌ヨ" + clearable + placeholder="璇烽�夋嫨宸ュ崟鍙疯繘琛屾煡璇�" + :right-icon-size="19" + v-model="selectKey" + ><template #button> + <van-button size="small" type="info" plain @click="getInfo" >閫夋嫨</van-button> + </template></van-field> + <van-field ref="daa001" v-model="modeInfo.daa001" - label="棰嗘枡鍗曞彿" + label="濮斿宸ュ崟" clearable placeholder="璇锋壂鐮�" :right-icon-size="19" v-focus.noKeyboard - @change="getModel" autofocus="true" + @keyup.enter.native="getModel" + autofocus="true" ></van-field> <van-field v-model="modeInfo.planNo" @@ -34,6 +60,25 @@ placeholder="浠诲姟鍗曞彿" disabled ></van-field> + +<%-- <van-field + v-model="DaaInfo.startTime" + label="寮�宸ユ椂闂�" + clearable + :right-icon-size="19" + placeholder="寮�宸ユ椂闂�" + disabled> + </van-field> + + <van-field + v-model="DaaInfo.lineName" + label="绾夸綋鍚嶇О" + clearable + :right-icon-size="19" + placeholder="绾夸綋鍚嶇О" + disabled> + </van-field>--%> + <van-field ref="barcode" v-model="scanInfo.barcode" @@ -42,7 +87,7 @@ placeholder="璇锋壂鐮�" :right-icon-size="19" v-focus.noKeyboard - @change="getScan" + @keyup.enter.native="getScan" ></van-field> <van-field v-model="scanInfo.barcodeNum" @@ -51,55 +96,92 @@ disabled ></van-field> <van-field + ref="splitNum" v-model="scanInfo.splitNum" center clearable label="鍙戞枡鏁伴噺" - placeholder="鍙戞枡鏁伴噺" required + placeholder="鍙戞枡鏁伴噺" > - <van-button slot="button" type="info" size="small" plain @click="getChaiFen"> - 鏉$爜鎷嗗垎 - </van-button> + <van-button slot="button" type="info" size="small" plain @click="getChaiFen">鏉$爜鎷嗗垎</van-button> </van-field> </van-cell-group> </div> - <van-tabs color="#000" title-active-color="#0283EF"> - <van-tab title="寰呭彂鐗╂枡" class="mySolid font"> - <van-row> - <van-col span="12" class="text-left padding-left">鐗╂枡</van-col> - <van-col span="6">寰呮壂</van-col> - <van-col span="6">宸叉壂</van-col> - </van-row> - <van-row v-for="(itm,index) in modeInfo.daisao1" :key="index"> - <van-col span="12" class="text-left padding-left"> - <div>{{itm.itemNo}}</div> - <div>{{itm.itemName}}</div> - </van-col> - <van-col span="6">{{itm.dab006}}</van-col> - <van-col span="6">{{itm.dab007}}</van-col> - </van-row> - </van-tab> - <van-tab title="鐗╂枡鎬绘竻鍗�" class="mySolid font"> - <van-row> - <van-col span="12" class="text-left padding-left">鐗╂枡</van-col> - <van-col span="6">闇�棰嗘暟</van-col> - <van-col span="6">宸查鏁�</van-col> + + <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"> + <van-row> + <van-col span="8" class="text-left padding-left">鐗╂枡</van-col> + <van-col span="8" class="text-left padding-left">瑙勬牸</van-col> + <van-col span="3">寰呮壂</van-col> + <van-col span="5">鎺ㄨ崘搴撲綅</van-col> </van-row> - <van-row v-for="(itm,index) in modeInfo.totals1" :key="index"> - <van-col span="12" class="text-left padding-left"> - <div>{{itm.itemNo}}</div> + <!-- 澧炲姞琛岀偣鍑讳笌閫変腑楂樹寒 --> + <van-row + v-for="(itm,index) in ItemDetail.items" + :key="index" + :style="{ background: currentIndex === index ? '#87CEEB' : '' }" + @click.native="handleRowClick(itm, index)"> + <van-col span="8" class="text-left padding-left"> + <div class="blue-text">{{itm.itemNo}}</div> <div>{{itm.itemName}}</div> - </van-col> - <van-col span="6">{{itm.dab006}}</van-col> - <van-col span="6">{{itm.dab007}}</van-col> - </van-row> - </van-tab> + </van-col> + <van-col span="8" class="text-left padding-left"> + <div>{{itm.itemModel}}</div> + </van-col> + <van-col span="3" class="blue-text">{{itm.dsQty}}</van-col> + <van-col span="5">{{itm.recoKw}}</van-col> + </van-row> + </van-tab> + + <van-tab title="搴撲綅鍒楄〃" class="mySolid font"> + <van-row> + <van-col span="10" class="text-left padding-left">鏉$爜缂栧彿</van-col> + <van-col span="5" class="text-left padding-left">搴撲綅</van-col> + <van-col span="4">鏁伴噺</van-col> + <van-col span="5">浠撳簱</van-col> + </van-row> + <van-row v-for="(itm,index) in ItemBarKw" :key="index"> + <van-col span="10" class="text-left padding-left"> + <div class="blue-text">{{itm.iteM_BARCODE}}</div> + </van-col> + <van-col span="5" class="text-left padding-left"> + <div>{{itm.depoT_SECTIONS_CODE}}</div> + </van-col> + <van-col span="4" class="blue-text">{{itm.quantity}}</van-col> + <van-col span="5" >{{itm.depot_name}}</van-col> + </van-row> + </van-tab> + + <van-tab title="宸叉壂鐗╂枡" class="mySolid font"> + <van-row> + <van-col span="8" class="text-left padding-left">鐗╂枡</van-col> + <van-col span="8" class="text-left padding-left">瑙勬牸</van-col> + <van-col span="3">闇�棰嗘暟</van-col> + <van-col span="5">宸查鏁�</van-col> + </van-row> + <van-row v-for="(itm,index) in ItemDetail.ysitems" :key="index"><%--ItemBlDetail.ysitems--%> + <van-col span="8" class="text-left padding-left"> + <div class="blue-text">{{itm.itemNo}}</div> + <div>{{itm.itemName}}</div> + </van-col> + <van-col span="8" class="text-left padding-left"> + <div>{{itm.itemModel}}</div> + </van-col> + <van-col span="3">{{itm.fQty}}</van-col> + <van-col span="5" class="blue-text">{{itm.sQty}}</van-col> + </van-row> + </van-tab> </van-tabs> + </div> </asp:Content> + <asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server"> <comloading v-if="isLoading"></comloading> - <%--<comback ></comback>--%> + </asp:Content> <asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server"> - <script src="Js/Wwll.js?<%=12322 %>"></script> + <script src="Js/Wwll.js?<%=123263 %>"></script> </asp:Content> -- Gitblit v1.9.3