From 22906e3b0f3b3cf8527736715efbd97c1291acf6 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期二, 16 九月 2025 11:00:31 +0800
Subject: [PATCH] 采购退料:添加库位隔离
---
H5/Scbl.aspx | 128 ++++++++++++++++++++++++++++++++++++------
1 files changed, 108 insertions(+), 20 deletions(-)
diff --git a/H5/Scbl.aspx b/H5/Scbl.aspx
index 09c7dcb..7587138 100644
--- a/H5/Scbl.aspx
+++ b/H5/Scbl.aspx
@@ -8,20 +8,53 @@
</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="鐢熶骇琛ユ枡"
+ :title="type=='cl'?'鐢熶骇瓒呴':'鐢熶骇琛ユ枡'"
left-text="杩斿洖"
left-arrow
@click-left="GoBack()"
></van-nav-bar>
- <div>
+ <div class="content-wrapper">
<van-cell-group>
+ <van-field
+ v-model="queryInfo.dateTime"
+ label="鍗曟嵁鏃ユ湡"
+ clearable
+ placeholder="璇烽�夋嫨鏃ユ湡"
+ readonly
+ @click="showDatePicker = true">
+ </van-field>
+ <van-popup v-model="showDatePicker" position="bottom">
+ <van-datetime-picker
+ type="date"
+ v-model="tempDate"
+ :min-date="minDate"
+ :max-date="maxDate"
+ @confirm="onDateConfirm"
+ @cancel="showDatePicker = false" />
+ </van-popup>
+ <van-field
+ v-model="queryInfo.lineName"
+ label="鐢熶骇绾垮埆"
+ clearable
+ placeholder="璇烽�夋嫨鐢熶骇绾垮埆">
+ <template #button>
+ <van-button size="small" type="info" plain @click="getLineInfo">閫夋嫨</van-button>
+ </template>
+ </van-field>
<van-field
+ ref="billNo"
value=""
- label="琛ユ枡鍗曞彿"
+ :label="type=='cl'?'瓒呴鐢宠':'琛ユ枡鐢宠'"
clearable
placeholder="鎵爜/閫夋嫨/鎵嬪綍"
:right-icon-size="19"
+ @keyup.enter.native ="GetMesItemBlDetailByBillNo"
v-model="billNo"
v-focus.noKeyboard
><template #button>
@@ -34,13 +67,16 @@
v-model="daa001"
:right-icon-size="19"
placeholder="宸ュ崟鍙�"
+ disabled
></van-field>
<van-field
+ ref="barcode"
value=""
label="鐗╂枡鏉$爜"
clearable
placeholder="璇锋壂鐮�"
- @input="getBarcode"
+<%-- @input="getBarcode"--%>
+ @keyup.enter.native ="getBarcode"
:right-icon-size="19"
v-model="barcode"
v-focus.noKeyboard
@@ -53,37 +89,89 @@
disabled
></van-field>
<van-field
+ ref ="splitNum"
center
clearable
- v-model="sms"
+ v-model="splitNum"
label="鍙戣揣鏁伴噺"
placeholder="鍙戣揣鏁伴噺"
-disabled
+<%--disabled--%>
><template #button>
<van-button size="small" type="info" plain @click="tmcf" >鏉$爜鎷嗗垎</van-button>
</template></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="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.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="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>
- <div class="van-tab-left">
- <van-tabs @click="onClick" color="#000" title-active-color="#0283EF" >
- <van-tab title="寰呭彂鐗╂枡">
- <van-row v-for="value in ItemBlDetail" class="font">
- <van-col span="12">鐗╂枡:{{value.bld002}}</van-col>
- <van-col span="6">鐢宠鏁皗{value.bld007}}</van-col>
- <van-col span="6">宸查鏁皗{value.bld008}}</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">
+ <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>
<van-action-sheet v-model="show" :actions="actions" @select="onSelect" ></van-action-sheet>
-
+ <van-action-sheet v-model="show1" :actions="actions1" @select="onSelect1"></van-action-sheet>
+ </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
<comloading v-if="isLoading"></comloading>
- <comback ></comback>
+ <%--<comback ></comback>--%>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
- <script src="Js/Scbl.js?<%=123114 %>"></script>
+ <script src="Js/Scbl.js?<%=1231887111 %>"></script>
</asp:Content>
--
Gitblit v1.9.3