报废入库、退货入库、贴标捆扎、拆分入库、生产入库、客户标签打印

This commit is contained in:
2023-12-29 16:11:39 +08:00
parent 8cc49500cc
commit 9183a669c2
10 changed files with 100 additions and 55 deletions

View File

@@ -1,11 +1,11 @@
<template>
<view class="zd_container">
<nav-bar title="客户标签打印"></nav-bar>
<nav-bar :title="$t('setting.customer-label-printing')"></nav-bar>
<view class="zd_content">
<view class="zd_wrapper">
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">木箱</span>
<span class="filter_label">{{$t('filter.wooden-box-code')}}</span>
</view>
<view class="filter_input_wraper">
<search-box
@@ -21,7 +21,7 @@
<table>
<thead>
<tr>
<th>木箱码</th>
<th>{{$t('filter.wooden-box-code')}}</th>
<th>卷数</th>
<th>木箱毛重</th>
<th>销售订单及行号</th>

View File

@@ -1,11 +1,11 @@
<template>
<view class="zd_container">
<nav-bar title="生产入库"></nav-bar>
<nav-bar :title="$t('menu.production-warehousing')"></nav-bar>
<view class="zd_content">
<view class="zd_wrapper">
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">木箱</span>
<span class="filter_label">{{$t('filter.wooden-box-code')}}</span>
</view>
<view class="filter_input_wraper">
<search-box-mx :focused="focused" @inputDel="inputDel" @inputScan="inputScan" @toPhone="toPhone">
@@ -15,7 +15,7 @@
</view>
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">点位</span>
<span class="filter_label">{{$t('filter.point')}}</span>
</view>
<view class="filter_input_wraper">
<search-box
@@ -29,7 +29,7 @@
</view>
<view class="filter_input_wraper filter_input_wraper_1">
<view class="iconfont icon_unchecked" :class="{'icon_checked': isV === '1'}" @tap="isVirtual">&#xe66b;</view>
<view class="filter_input_wraper_inn_text">虚拟库</view>
<view class="filter_input_wraper_inn_text">{{$t('filter.virtual-library')}}</view>
</view>
</view>
</view>
@@ -38,11 +38,11 @@
<table>
<thead>
<tr>
<th>木箱码</th>
<th>子卷号</th>
<th>物料编码</th>
<th>物料名称</th>
<th>重量KG</th>
<th>{{$t('filter.wooden-box-code')}}</th>
<th>{{$t('grid.sub-roll-number')}}</th>
<th>{{$t('grid.material-code')}}</th>
<th>{{$t('grid.material-name')}}</th>
<th>{{$t('grid.weight')}}KG</th>
</tr>
</thead>
<tbody>
@@ -59,9 +59,9 @@
</view>
</view>
<view class="submit-bar">
<button class="submit-button" :class="{'btn-disabled': !val1 || dataList.length === 0}" :disabled="disabled" @tap="_stConfirm">入库确认</button>
<button class="submit-button" :class="{'btn-disabled': !val1 || dataList.length === 0}" :disabled="disabled" @tap="_stConfirm">{{$t('button.storage-confirm')}}</button>
<!-- <button class="submit-button" :class="{'btn-disabled': dataList.length === 0}" :disabled="disabled1" @tap="_stPrint">补码</button> -->
<button class="submit-button" @tap="_boxQuery(val1)">查询</button>
<button class="submit-button" @tap="_boxQuery(val1)">{{$t('button.search')}}</button>
</view>
</view>
</template>

View File

@@ -1,11 +1,11 @@
<template>
<view class="zd_container">
<nav-bar title="拆分入库"></nav-bar>
<nav-bar :title="$t('menu.split-receipt')"></nav-bar>
<view class="zd_content">
<view class="zd_wrapper">
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">木箱</span>
<span class="filter_label">{{$t('filter.wooden-box-code')}}</span>
</view>
<view class="filter_input_wraper">
<search-box-mx :focused="focused" @inputDel="inputDel" @inputScan="inputScan" @toPhone="toPhone">
@@ -15,7 +15,7 @@
</view>
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">点位</span>
<span class="filter_label">{{$t('filter.point')}}</span>
</view>
<view class="filter_input_wraper">
<search-box
@@ -29,7 +29,7 @@
</view>
<view class="filter_input_wraper filter_input_wraper_1">
<view class="iconfont icon_unchecked" :class="{'icon_checked': isV === '1'}" @tap="isVirtual">&#xe66b;</view>
<view class="filter_input_wraper_inn_text">虚拟库</view>
<view class="filter_input_wraper_inn_text">{{$t('filter.virtual-library')}}</view>
</view>
</view>
</view>
@@ -38,11 +38,11 @@
<table>
<thead>
<tr>
<th>木箱码</th>
<th>子卷号</th>
<th>物料编码</th>
<th>物料名称</th>
<th>重量KG</th>
<th>{{$t('filter.wooden-box-code')}}</th>
<th>{{$t('grid.sub-roll-number')}}</th>
<th>{{$t('grid.material-code')}}</th>
<th>{{$t('grid.material-name')}}</th>
<th>{{$t('grid.weight')}}KG</th>
</tr>
</thead>
<tbody>
@@ -59,9 +59,9 @@
</view>
</view>
<view class="submit-bar">
<button class="submit-button" :class="{'btn-disabled': !val1 || dataList.length === 0}" :disabled="disabled" @tap="_stConfirm">入库确认</button>
<button class="submit-button" :class="{'btn-disabled': dataList.length === 0}" :disabled="disabled1" @tap="_stPrint">补码</button>
<button class="submit-button" @tap="_boxQuery(val1)">查询</button>
<button class="submit-button" :class="{'btn-disabled': !val1 || dataList.length === 0}" :disabled="disabled" @tap="_stConfirm">{{$t('button.storage-confirm')}}</button>
<button class="submit-button" :class="{'btn-disabled': dataList.length === 0}" :disabled="disabled1" @tap="_stPrint">{{$t('button.complement')}}</button>
<button class="submit-button" @tap="_boxQuery(val1)">{{$t('button.search')}}</button>
</view>
</view>
</template>

View File

@@ -1,11 +1,11 @@
<template>
<view class="zd_container">
<nav-bar title="贴标捆扎"></nav-bar>
<nav-bar :title="$t('menu.labeling-and-bundling')"></nav-bar>
<view class="zd_content">
<view class="zd_wrapper">
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">木箱</span>
<span class="filter_label">{{$t('filter.wooden-box-code')}}</span>
</view>
<view class="filter_input_wraper">
<search-box
@@ -15,7 +15,7 @@
</view>
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">点位</span>
<span class="filter_label">{{$t('filter.point')}}</span>
</view>
<view class="filter_input_wraper">
<search-box
@@ -24,7 +24,7 @@
</view>
</view>
<view class="filter_item">
<view class="filter_label">重量</view>
<view class="filter_label">{{$t('grid.weight')}}</view>
<view class="filter_input_wraper">
<input type="number" class="filter_input" v-model="val3">
</view>
@@ -32,8 +32,8 @@
</view>
</view>
<view class="submit-bar">
<button class="submit-button" :class="{'btn-disabled': !val1 || !val3 }" :disabled="disabled1" @tap="_mendCode">贴标</button>
<button class="submit-button" :class="{'btn-disabled': !val1 || !val2}" :disabled="disabled2" @tap="_stBale">捆扎</button>
<button class="submit-button" :class="{'btn-disabled': !val1 || !val3 }" :disabled="disabled1" @tap="_mendCode">{{$t('button.labeling')}}</button>
<button class="submit-button" :class="{'btn-disabled': !val1 || !val2}" :disabled="disabled2" @tap="_stBale">{{$t('button.binding')}}</button>
</view>
</view>
</template>

View File

@@ -1,11 +1,11 @@
<template>
<view class="zd_container">
<nav-bar title="退货入库"></nav-bar>
<nav-bar :title="$t('menu.return-to-warehouse')"></nav-bar>
<view class="zd_content">
<view class="zd_wrapper">
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">木箱</span>
<span class="filter_label">{{$t('filter.wooden-box-code')}}</span>
</view>
<view class="filter_input_wraper">
<search-box-mx :focused="focused" @inputDel="inputDel" @inputScan="inputScan" @toPhone="toPhone">
@@ -15,7 +15,7 @@
</view>
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">点位</span>
<span class="filter_label">{{$t('filter.point')}}</span>
</view>
<view class="filter_input_wraper">
<search-box
@@ -29,7 +29,7 @@
</view>
<view class="filter_input_wraper filter_input_wraper_1">
<view class="iconfont icon_unchecked" :class="{'icon_checked': isV === '1'}" @tap="isVirtual">&#xe66b;</view>
<view class="filter_input_wraper_inn_text">虚拟库</view>
<view class="filter_input_wraper_inn_text">{{$t('filter.virtual-library')}}</view>
</view>
</view>
<!-- <view class="filter_item">
@@ -44,11 +44,11 @@
<table>
<thead>
<tr>
<th>木箱码</th>
<th>子卷号</th>
<th>物料编码</th>
<th>物料名称</th>
<th>重量KG</th>
<th>{{$t('filter.wooden-box-code')}}</th>
<th>{{$t('grid.sub-roll-number')}}</th>
<th>{{$t('grid.material-code')}}</th>
<th>{{$t('grid.material-name')}}</th>
<th>{{$t('grid.weight')}}KG</th>
</tr>
</thead>
<tbody>
@@ -65,8 +65,8 @@
</view>
</view>
<view class="submit-bar">
<button class="submit-button" :class="{'btn-disabled': !val1 || dataList.length === 0}" :disabled="disabled" @tap="_stConfirm">入库确认</button>
<button class="submit-button" @tap="_boxQuery(val1)">查询</button>
<button class="submit-button" :class="{'btn-disabled': !val1 || dataList.length === 0}" :disabled="disabled" @tap="_stConfirm">{{$t('button.storage-confirm')}}</button>
<button class="submit-button" @tap="_boxQuery(val1)">{{$t('button.search')}}</button>
</view>
</view>
</template>

View File

@@ -1,11 +1,11 @@
<template>
<view class="zd_container">
<nav-bar title="报废入库"></nav-bar>
<nav-bar :title="$t('menu.scrap-storage')"></nav-bar>
<view class="zd_content">
<view class="zd_wrapper">
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">木箱</span>
<span class="filter_label">{{$t('filter.wooden-box-code')}}</span>
</view>
<view class="filter_input_wraper">
<search-box-mx :focused="focused" @inputDel="inputDel" @inputScan="inputScan" @toPhone="toPhone">
@@ -15,7 +15,7 @@
</view>
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">点位</span>
<span class="filter_label">{{$t('filter.point')}}</span>
</view>
<view class="filter_input_wraper">
<search-box
@@ -29,7 +29,7 @@
</view>
<view class="filter_input_wraper filter_input_wraper_1">
<view class="iconfont icon_unchecked" :class="{'icon_checked': isV === '1'}" @tap="isVirtual">&#xe66b;</view>
<view class="filter_input_wraper_inn_text">虚拟库</view>
<view class="filter_input_wraper_inn_text">{{$t('filter.virtual-library')}}</view>
</view>
</view>
</view>
@@ -38,11 +38,11 @@
<table>
<thead>
<tr>
<th>木箱码</th>
<th>子卷号</th>
<th>物料编码</th>
<th>物料名称</th>
<th>重量KG</th>
<th>{{$t('filter.wooden-box-code')}}</th>
<th>{{$t('grid.sub-roll-number')}}</th>
<th>{{$t('grid.material-code')}}</th>
<th>{{$t('grid.material-name')}}</th>
<th>{{$t('grid.weight')}}KG</th>
</tr>
</thead>
<tbody>
@@ -59,8 +59,8 @@
</view>
</view>
<view class="submit-bar">
<button class="submit-button" :class="{'btn-disabled': !val1 || dataList.length === 0}" :disabled="disabled" @tap="_stConfirm">入库确认</button>
<button class="submit-button" @tap="_boxQuery(val1)">查询</button>
<button class="submit-button" :class="{'btn-disabled': !val1 || dataList.length === 0}" :disabled="disabled" @tap="_stConfirm">{{$t('button.storage-confirm')}}</button>
<button class="submit-button" @tap="_boxQuery(val1)">{{$t('button.search')}}</button>
</view>
</view>
</template>