This commit is contained in:
2025-09-26 15:22:04 +08:00
parent efc5313f80
commit 9d9f3bd270
23 changed files with 684 additions and 207 deletions

View File

@@ -6,18 +6,20 @@
<view class="zd_wrapper">
<view class="zd-row border-bottom">
<view class="zd-col-7">
<span class="filter_label">物料</span>
<!-- <span class="filter_label">物料</span> -->
<span class="filter_label">{{$t('filter.material')}}</span>
</view>
<view class="zd-col-24">
<input type="text" class="filter_input" v-model="val1">
</view>
</view>
<view class="zd-row border-bottom">
<view class="zd-col-7">
<span class="filter_label">物料类型</span>
<view class="zd-col-9">
<!-- <span class="filter_label">物料类型</span> -->
<span class="filter_label">{{$t('filter.wltype')}}</span>
</view>
<view class="zd-col-24 filter_select">
<uni-data-select v-model="index" :localdata="options" @change="selectChange"></uni-data-select>
<uni-data-select v-model="index" :localdata="options" placeholder="" @change="selectChange"></uni-data-select>
</view>
</view>
</view>
@@ -26,10 +28,14 @@
<table>
<thead>
<tr>
<th>物料编码</th>
<!-- <th>物料编码</th>
<th>物料名称</th>
<th>单位</th>
<th>物料类型</th>
<th>物料类型</th> -->
<th>{{$t('grid.material-code')}}</th>
<th>{{$t('grid.material-name')}}</th>
<th>{{$t('grid.unit')}}</th>
<th>{{$t('grid.wltype')}}</th>
</tr>
</thead>
<tbody>
@@ -46,9 +52,12 @@
<!-- <uni-load-more color="#007AFF" iconType="circle" :status="status" :icon-size="14" :content-text="contentText" v-if="dataList.length > 0"/> -->
</view>
<view class="zd-row submit-bar">
<button class="zd-col-5 button-default" @tap="toEmpty">清空</button>
<!-- <button class="zd-col-5 button-default" @tap="toEmpty">清空</button>
<button class="zd-col-8 button-primary" @tap="searchList">查询</button>
<button class="zd-col-8 button-primary" :class="{'button-info': !pkId}" @tap="toSure">确认</button>
<button class="zd-col-8 button-primary" :class="{'button-info': !pkId}" @tap="toSure">确认</button> -->
<button class="zd-col-8 button-default" @tap="toEmpty">{{$t('button.clear')}}</button>
<button class="zd-col-8 button-primary" @tap="searchList">{{$t('button.search')}}</button>
<button class="zd-col-6 button-primary" :class="{'button-info': !pkId}" @tap="toSure">{{$t('button.confirm')}}</button>
</view>
</view>
</template>