From 3709a0fc4ab3848a12f15128bdb9ba4ba27a6fab Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期二, 09 九月 2025 23:55:06 +0800 Subject: [PATCH] 1.销售出库bug优化 --- H5/Dbrk.aspx | 121 +++++++++++++++++++++++++++++++--------- 1 files changed, 94 insertions(+), 27 deletions(-) diff --git a/H5/Dbrk.aspx b/H5/Dbrk.aspx index 0e66172..69a8c80 100644 --- a/H5/Dbrk.aspx +++ b/H5/Dbrk.aspx @@ -16,33 +16,26 @@ ></van-nav-bar> <div> <van-cell-group> - <van-field + <van-field + ref="sectionCode" value="" - label="鍑哄簱鍗曞彿" - clearable - placeholder="閫夋嫨/鎵嬪綍" + label="搴撲綅" + clearable + placeholder="璇锋壂鐮�" + @keyup.enter.native ="getDepot" + <%-- @change="getDepot"--%> :right-icon-size="19" - v-model="billNo" - v-focus.noKeyboard - ><template #button> - <van-button size="small" type="info" plain @click="getInfo" >閫夋嫨</van-button> - </template></van-field> - <van-field - value="" - label="搴撲綅" - clearable - placeholder="璇锋壂鐮�" - @change="getDepot" - :right-icon-size="19" - v-model="sectionCode" - v-focus.noKeyboard - ></van-field> + v-model="sectionCode" + v-focus.noKeyboard + ></van-field> <van-field + ref="barcode" value="" label="鐗╂枡鏉$爜" clearable placeholder="璇锋壂鐮�" - @change="getBarcode" + @keyup.enter.native="getBarcode" +<%-- @change="getBarcode"--%> :right-icon-size="19" v-model="barcode" v-focus.noKeyboard @@ -56,6 +49,20 @@ v-model="itemNo" v-focus.noKeyboard ></van-field> + <van-field + ref="billNo" + value="" + label="璋冩嫧鐢宠" + clearable + placeholder="鐢宠鍗曞彿" + @keyup.enter.native ="GetMesItemBlDetailByBillNo" + :right-icon-size="19" + v-model="billNo" + v-focus.noKeyboard + disabled + ><%--<template #button> + <van-button size="small" type="info" plain @click="getInfo" >閫夋嫨</van-button> + </template>--%></van-field> <van-field value="" v-model="num" @@ -63,27 +70,87 @@ placeholder="鏁伴噺" disabled ></van-field> + </van-cell-group> </div> - <div class="van-tab-left"> + <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="7" class="text-left padding-left">瑙勬牸</van-col> + <van-col span="3">鐢宠鏁伴噺</van-col> + <van-col span="3">鎵嚭鏁伴噺</van-col> + <van-col span="3">寰呭叆鏁伴噺</van-col> + </van-row> + <van-row v-for="(itm,index) in ItemDetail.items" :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="7" class="text-left padding-left"> + <div>{{itm.itemModel}}</div> + </van-col> + <van-col span="3" class="blue-text">{{itm.fQty}}</van-col> + <van-col span="3" class="blue-text">{{itm.sQty}}</van-col> + <van-col span="3" class="blue-text">{{itm.dsQty}}</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.rQty}}</van-col> + </van-row> + </van-tab> +</van-tabs> + +<%-- <div class="van-tab-left"> <van-tabs @click="onClick" color="#000" title-active-color="#0283EF" > - <van-tab title="寰呭嚭鐗╂枡"> +<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 ItemBlDetail" :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.sQty != null ? itm.sQty :0}}</van-col> + <van-col span="6">{{itm.rQty != null ? itm.rQty :0}}</van-col> + </van-row> +</van-tab> +<%-- <van-tab title="寰呭嚭鐗╂枡"> <van-row v-for="value in ItemBlDetail" class="font"> <van-col span="12">鐗╂枡:{{value.itemNo}}</van-col> <van-col span="6">璁″垝鏁皗{value.qd007}}</van-col> <van-col span="6">瀹屾垚鏁皗{value.qd008}}</van-col> </van-row> - </van-tab> -</van-tabs> - </div> + </van-tab>--%> +<%--</van-tabs> + </div>--%> <van-action-sheet v-model="show" :actions="actions" @select="onSelect" ></van-action-sheet> </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/Dbrk.js?<%=11211134 %>"></script> + <script src="Js/Dbrk.js?<%=1141111 %>"></script> </asp:Content> -- Gitblit v1.9.3