This commit is contained in:
2023-12-15 16:50:04 +08:00
parent 9635e0d88a
commit 1f809edf4e
2 changed files with 33 additions and 8 deletions

View File

@@ -1,3 +1,15 @@
{
"button.check": "盘点",
"filter.bill-code": "单据编码",
"filter.warehouse": "仓库",
"grid.bill-code": "单据号",
"grid.bill-type": "单据类型",
"grid.warehouse-name": "仓库名称",
"grid.dtl-number": "明细数",
"grid.status": "状态",
"grid.is-error": "是否异常",
"grid.create-man": "创建人",
"grid.create-time": "创建时间",
"grid.confirm-man": "确认人",
"grid.confirm-time": "确认时间"
}

View File

@@ -1,16 +1,19 @@
<template>
<view class="zd_container">
<nav-bar title="盘点管理"></nav-bar>
<!-- <nav-bar title="盘点管理"></nav-bar> -->
<nav-bar :title="$t('menu.inventory-management')"></nav-bar>
<view class="zd_content">
<view class="zd_wrapper">
<view class="filter_item">
<view class="filter_label">单据编码</view>
<!-- <view class="filter_label">单据编码</view> -->
<view class="filter_label">{{$t('filter.bill-code')}}</view>
<view class="filter_input_wraper">
<input type="text" class="filter_input" v-model="val1">
</view>
</view>
<view class="filter_item">
<view class="filter_label">仓库</view>
<!-- <view class="filter_label">仓库</view> -->
<view class="filter_label">{{$t('filter.warehouse')}}</view>
<view class="filter_input_wraper">
<uni-data-select v-model="index" :localdata="options" @change="selectChange"></uni-data-select>
</view>
@@ -21,7 +24,17 @@
<table>
<thead>
<tr>
<th>单据号</th>
<th>{{$t('grid.bill-code')}}</th>
<th>{{$t('grid.bill-type')}}</th>
<th>{{$t('grid.warehouse-name')}}</th>
<th>{{$t('grid.dtl-number')}}</th>
<th>{{$t('grid.status')}}</th>
<th>{{$t('grid.is-error')}}</th>
<th>{{$t('grid.create-man')}}</th>
<th>{{$t('grid.create-time')}}</th>
<th>{{$t('grid.confirm-man')}}</th>
<th>{{$t('grid.confirm-time')}}</th>
<!-- <th>单据号</th>
<th>单据类型</th>
<th>仓库名称</th>
<th>明细数</th>
@@ -30,7 +43,7 @@
<th>创建人</th>
<th>创建时间</th>
<th>确认人</th>
<th>确认时间</th>
<th>确认时间</th> -->
</tr>
</thead>
<tbody>
@@ -52,8 +65,8 @@
</view>
</view>
<view class="submit-bar">
<button class="submit-button" :class="{'btn-disabled': !pkId}" :disabled="disabled1" @tap="toPandian">盘点</button>
<button class="submit-button" @tap="_checkQuery">查询</button>
<button class="submit-button" :class="{'btn-disabled': !pkId}" :disabled="disabled1" @tap="toPandian">{{$t('button.check')}}</button>
<button class="submit-button" @tap="_checkQuery">{{$t('button.search')}}</button>
</view>
</view>
</template>