南骏 池
2025-03-04 06cfc8259911e280d8979940b149bb90a806ff9d
H5/Scll.aspx
@@ -4,6 +4,37 @@
    .bg-info {
        background-color:#fff;
    }
    /*.van-popup--bottom {
    height: 50%;*/ /* 设置弹窗高度 */
/*}
.printer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;*/ /* 左右对齐 */
    /*width: 100%;
}
.printer-info {
    display: flex;
    flex-direction: column;*/ /* 垂直排列编号和IP地址 */
    /*flex-grow: 1;*/ /* 占据剩余空间 */
/*}
.printer-id {
    font-size: 16px;
    color: #333;
}
.ip-address {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}
.printer-radio {
    margin-left: 16px;*/ /* 调整与内容的距离 */
/*}*/
      
</style>
</asp:Content>
@@ -19,12 +50,12 @@
  <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"
@@ -42,7 +73,7 @@
 placeholder="请扫码"
  :right-icon-size="19"
  v-focus.noKeyboard
  @change="getScan"
  @keyup.enter.native="getScan"
></van-field>
   <van-field
  v-model="scanInfo.barcodeNum"
@@ -56,7 +87,7 @@
    center
    clearable
    label="发料数量"
    placeholder="发料数量" required
    placeholder="发料数量"
  >
    <van-button slot="button" type="info" size="small"  plain @click="getChaiFen">
      条码拆分
@@ -64,6 +95,36 @@
  </van-field>
</van-cell-group>
    </div>
<%--<!-- 弹窗组件 -->
<van-popup v-model="isPrinterPopupVisible" position="bottom" round>
    <van-radio-group v-model="selectedPrinter" @change="onPrinterSelected">
        <van-cell-group>
            <van-cell
                v-for="(printer, index) in printerList"
                :key="index"
                clickable
                @click="selectPrinter(printer)"
            >
                <!-- 自定义内容布局 -->
                <template #default>
                    <div class="printer-item">
                        <div class="printer-info">
                            <span class="printer-id">{{ printer.printerId }}</span>
                            <span class="ip-address">{{ printer.ipAddress }}</span>
                        </div>
                        <van-radio class="printer-radio" :name="printer.printerId"></van-radio>
                    </div>
                </template>
            </van-cell>
        </van-cell-group>
    </van-radio-group>
    <div style="text-align: center; margin-top: 10px;">
        <van-button type="info" size="small" @click="confirmSelection">确认</van-button>
    </div>
</van-popup>--%>
  <van-tabs color="#000" title-active-color="#0283EF">
  <van-tab title="待发物料" class="mySolid font">
      <van-row>
@@ -71,7 +132,7 @@
             <van-col span="6">待扫</van-col>
            <van-col span="6">已扫</van-col>
    </van-row>
    <van-row  v-for="(itm,index) in modeInfo.daisao" :key="index">
    <van-row  v-for="(itm,index) in ItemDetail.daisao" :key="index">
          <van-col span="12"  class="text-left padding-left">
               <div>{{itm.itemNo}}</div>
               <div>{{itm.itemName}}</div>
@@ -86,7 +147,7 @@
             <van-col span="6">需领数</van-col>
            <van-col span="6">已领数</van-col>
        </van-row>
        <van-row  v-for="(itm,index) in modeInfo.totals" :key="index">
        <van-row  v-for="(itm,index) in ItemDetail.totals" :key="index">
           <van-col span="12" class="text-left padding-left">
                <div>{{itm.itemNo}}</div>
                <div>{{itm.itemName}}</div>
@@ -99,8 +160,8 @@
</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/Scll.js?<%=123331 %>"></script>
    <script src="Js/Scll.js?<%=123334 %>"></script>
</asp:Content>