国际化
This commit is contained in:
@@ -4,13 +4,9 @@
|
||||
<nav-bar :title="title" :inner="true"></nav-bar>
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">物料</span>
|
||||
</view>
|
||||
<view class="zd-col-24">
|
||||
<input type="text" class="filter_input" v-model="val1">
|
||||
</view>
|
||||
<view>
|
||||
<view class="filter_label">{{$t('label.Material')}}</view>
|
||||
<input type="text" class="filter_input" v-model="val1">
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd_wrapper grid-wraper">
|
||||
@@ -18,9 +14,9 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>物料名称</th>
|
||||
<th><view style="width: 300rpx;">物料规格</view></th>
|
||||
<th>物料编码</th>
|
||||
<th>{{$t('label.MaterialName')}}</th>
|
||||
<th><view style="width: 300rpx;">{{$t('MaterialSpecification')}}</view></th>
|
||||
<th>{{$t('MaterialCode')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -36,9 +32,9 @@
|
||||
<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-8 button-primary" @tap="searchList">查询</button>
|
||||
<button class="zd-col-8 button-primary" :class="{'button-info': !pkId}" @tap="toSure">确认</button>
|
||||
<button class="zd-col-5 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-8 button-primary" :class="{'button-info': !pkId}" @tap="toSure">{{$t('button.confirm')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -4,31 +4,23 @@
|
||||
<nav-bar :title="title"></nav-bar>
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">起点点位</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<search-box
|
||||
v-model="val1"
|
||||
/>
|
||||
</view>
|
||||
<view class="is-required">
|
||||
<view class="filter_label">{{$t('label.StartPosition')}}</view>
|
||||
<search-box
|
||||
v-model="val1"
|
||||
/>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">终点点位</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<search-box
|
||||
v-model="val2"
|
||||
/>
|
||||
</view>
|
||||
<view class="is-required">
|
||||
<view class="filter_label">{{$t('label.EndPosition')}}</view>
|
||||
<search-box
|
||||
v-model="val2"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row submit-bar">
|
||||
<button class="zd-col-6 button-default" @tap="clearUp">清空</button>
|
||||
<button class="zd-col-16 button-primary" :class="{'button-info': !val1 || !val2}" :disabled="disabled" @tap="_transferConfirm">确认</button>
|
||||
<button class="zd-col-6 button-default" @tap="clearUp">{{$t('button.clear')}}</button>
|
||||
<button class="zd-col-16 button-primary" :class="{'button-info': !val1 || !val2}" :disabled="disabled" @tap="_transferConfirm">{{$t('button.confirm')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -4,22 +4,18 @@
|
||||
<nav-bar :title="title"></nav-bar>
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">点位</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<search-box v-model="val1"/>
|
||||
</view>
|
||||
<view class="is-required">
|
||||
<view class="filter_label">{{$t('label.Pointlocation')}}</view>
|
||||
<search-box v-model="val1"/>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">点位载具</span>
|
||||
<view class="is-required">
|
||||
<view class="filter_label">{{$t('label.Pointlocationcarrier')}}</view>
|
||||
<view class="zd-row">
|
||||
<view class="zd-col-18">
|
||||
<search-box v-model="val2"/>
|
||||
</view>
|
||||
<button class="mini-btn" type="primary" size="mini" style="margin-right: 0" @tap="_schPointGetPoint">{{$t('button.search')}}</button>
|
||||
</view>
|
||||
<view class="zd-col-12">
|
||||
<search-box v-model="val2"/>
|
||||
</view>
|
||||
<button class="mini-btn" type="primary" size="mini" style="margin-right: 0" @tap="_schPointGetPoint">查询</button>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd_wrapper grid-wraper">
|
||||
@@ -27,12 +23,12 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>序号</th>
|
||||
<th>物料编码</th>
|
||||
<th>物料名称</th>
|
||||
<th>载具号</th>
|
||||
<th>数量</th>
|
||||
<th>单位</th>
|
||||
<th>{{$t('th.Serialnumber')}}</th>
|
||||
<th>{{$t('label.MaterialCode')}}</th>
|
||||
<th>{{$t('label.MaterialName')}}</th>
|
||||
<th>{{$t('label.CarrierCode')}}</th>
|
||||
<th>{{$t('th.Quantity')}}</th>
|
||||
<th>{{$t('th.Unit')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -50,9 +46,9 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row submit-bar">
|
||||
<button class="zd-col-5 button-default" @tap="toEmpty">清空</button>
|
||||
<button class="zd-col-8 button-primary" :class="{'button-info': !val1 || !val2 || !dataList.length}" :disabled="disabled" @tap="_schPointBinding">绑定</button>
|
||||
<button class="zd-col-8 button-primary" :class="{'button-info': !val1 || !val2 || !dataList.length}" :disabled="disabled" @tap="_schPointDissect">清载具</button>
|
||||
<button class="zd-col-5 button-default" @tap="toEmpty">{{$t('button.clear')}}</button>
|
||||
<button class="zd-col-8 button-primary" :class="{'button-info': !val1 || !val2 || !dataList.length}" :disabled="disabled" @tap="_schPointBinding">{{$t('button.Bind')}}</button>
|
||||
<button class="zd-col-8 button-primary" :class="{'button-info': !val1 || !val2 || !dataList.length}" :disabled="disabled" @tap="_schPointDissect">{{$t('button.Clearcarrier')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -4,37 +4,29 @@
|
||||
<nav-bar :title="title"></nav-bar>
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">出库库区</span>
|
||||
</view>
|
||||
<view class="zd-col-17 filter_select">
|
||||
<uni-data-select v-model="index" :localdata="options"></uni-data-select>
|
||||
<view>
|
||||
<view class="filter_label">{{$t('label.OutWarehouseArea')}}</view>
|
||||
<view class="filter_select">
|
||||
<uni-data-select :placeholder="$t('utils.selectPlaceholder')" :emptyTips="$t('utils.selectEmptyTips')" v-model="index" :localdata="options"></uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">物料查询</span>
|
||||
</view>
|
||||
<view class="zd-col-12">
|
||||
<input type="text" class="filter_input" v-model="val2">
|
||||
</view>
|
||||
<button class="mini-btn" type="primary" size="mini" style="margin-right: 0" @tap="_linegetMaterialDtl">查询</button>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">终点站点</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<search-box v-model="val1"/>
|
||||
<view>
|
||||
<view class="filter_label">{{$t('label.MaterialInquiry')}}</view>
|
||||
<view class="zd-row">
|
||||
<view class="zd-col-18">
|
||||
<input type="text" class="filter_input" v-model="val2">
|
||||
</view>
|
||||
<button class="mini-btn" type="primary" size="mini" style="margin-right: 0" @tap="_linegetMaterialDtl">{{$t('button.search')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">目的楼层</span>
|
||||
</view>
|
||||
<view class="zd-col-17 filter_select">
|
||||
<uni-data-select v-model="index1" :localdata="options1"></uni-data-select>
|
||||
<view class="is-required">
|
||||
<view class="filter_label">{{$t('label.EndPosition')}}</view>
|
||||
<search-box v-model="val1"/>
|
||||
</view>
|
||||
<view class="is-required">
|
||||
<view class="filter_label">{{$t('label.DestinationFloor')}}</view>
|
||||
<view class="filter_select">
|
||||
<uni-data-select :placeholder="$t('utils.selectPlaceholder')" :emptyTips="$t('utils.selectEmptyTips')" v-model="index1" :localdata="options1"></uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -43,13 +35,13 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>库位</th>
|
||||
<th>载具编码</th>
|
||||
<th>物料名称</th>
|
||||
<th>物料规格</th>
|
||||
<th>物料编码</th>
|
||||
<th>数量</th>
|
||||
<th>单位</th>
|
||||
<th>{{$t('th.WarehouseLocation')}}</th>
|
||||
<th>{{$t('label.CarrierCode')}}</th>
|
||||
<th>{{$t('label.MaterialName')}}</th>
|
||||
<th>{{$t('label.MaterialSpecification')}}</th>
|
||||
<th>{{$t('label.MaterialCode')}}</th>
|
||||
<th>{{$t('th.Quantity')}}</th>
|
||||
<th>{{$t('th.Unit')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -68,8 +60,8 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row submit-bar">
|
||||
<button class="zd-col-6 button-default" @tap="clearUp">清空</button>
|
||||
<button class="zd-col-16 button-primary" :class="{'button-info': !pkId || !val1 || !index1}" @tap="_callMaterialConfirm">确认</button>
|
||||
<button class="zd-col-6 button-default" @tap="clearUp">{{$t('button.clear')}}</button>
|
||||
<button class="zd-col-16 button-primary" :class="{'button-info': !pkId || !val1 || !index1}" @tap="_callMaterialConfirm">{{$t('button.confirm')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -4,30 +4,22 @@
|
||||
<nav-bar :title="title"></nav-bar>
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">移出货位</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<search-box v-model="val1"/>
|
||||
<view>
|
||||
<view class="filter_label">{{$t('label.RemoveLocation')}}</view>
|
||||
<search-box v-model="val1"/>
|
||||
</view>
|
||||
<view>
|
||||
<view class="filter_label">{{$t('label.RemoveCarrier')}}</view>
|
||||
<view class="zd-row">
|
||||
<view class="zd-col-18">
|
||||
<search-box v-model="val2"/>
|
||||
</view>
|
||||
<button class="mini-btn" type="primary" size="mini" style="margin-right: 0" @tap="_movestorQuerydtl">{{$t('button.search')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">移出载具</span>
|
||||
</view>
|
||||
<view class="zd-col-12">
|
||||
<search-box v-model="val2"/>
|
||||
</view>
|
||||
<button class="mini-btn" type="primary" size="mini" style="margin-right: 0" @tap="_movestorQuerydtl">查询</button>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">移入货位</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<search-box v-model="val3"/>
|
||||
</view>
|
||||
<view class="is-required">
|
||||
<view class="filter_label">{{$t('label.MoveLocation')}}</view>
|
||||
<search-box v-model="val3"/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd_wrapper grid-wraper">
|
||||
@@ -35,12 +27,12 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>序号</th>
|
||||
<th>物料编码</th>
|
||||
<th>物料名称</th>
|
||||
<th>载具号</th>
|
||||
<th>数量</th>
|
||||
<th>单位</th>
|
||||
<th>{{$t('th.Serialnumber')}}</th>
|
||||
<th>{{$t('label.MaterialCode')}}</th>
|
||||
<th>{{$t('label.MaterialName')}}</th>
|
||||
<th>{{$t('label.CarrierCode')}}</th>
|
||||
<th>{{$t('label.Quantity')}}</th>
|
||||
<th>{{$t('label.Unit')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -58,8 +50,8 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row submit-bar">
|
||||
<button class="zd-col-6 button-default" @tap="toEmpty">清空</button>
|
||||
<button class="zd-col-16 button-primary" :class="{'button-info': !val3 || !dataList.length}" :disabled="disabled" @tap="_movestorMove">确认</button>
|
||||
<button class="zd-col-6 button-default" @tap="toEmpty">{{$t('button.clear')}}</button>
|
||||
<button class="zd-col-16 button-primary" :class="{'button-info': !val3 || !dataList.length}" :disabled="disabled" @tap="_movestorMove">{{$t('button.confirm')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -4,63 +4,43 @@
|
||||
<nav-bar :title="title"></nav-bar>
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">载具编码</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<search-box v-model="val1"/>
|
||||
</view>
|
||||
<view class="is-required">
|
||||
<view class="filter_label">{{$t('label.CarrierCode')}}</view>
|
||||
<search-box v-model="val1"/>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">物料编码</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<input type="text" class="filter_input" v-model="currentData.material_code" @tap="toJump">
|
||||
</view>
|
||||
<view>
|
||||
<view class="filter_label">{{$t('label.MaterialCode')}}</view>
|
||||
<input type="text" class="filter_input" v-model="currentData.material_code" @tap="toJump">
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label filter_input_disabled">物料名称</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<input type="text" class="filter_input filter_input_disabled" v-model="currentData.material_name" disabled>
|
||||
</view>
|
||||
<view>
|
||||
<view class="filter_label">{{$t('label.MaterialName')}}</view>
|
||||
<input type="text" class="filter_input filter_input_disabled" v-model="currentData.material_name" disabled>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label filter_input_disabled">物料规格</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<input type="text" class="filter_input filter_input_disabled" v-model="currentData.material_spec" disabled>
|
||||
</view>
|
||||
<view>
|
||||
<view class="filter_label">{{$t('label.MaterialSpecification')}}</view>
|
||||
<input type="text" class="filter_input filter_input_disabled" v-model="currentData.material_spec" disabled>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label filter_input_disabled">物料数量</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<input type="number" class="filter_input filter_input_disabled" v-model="totalQty" disabled>
|
||||
</view>
|
||||
<view>
|
||||
<view class="filter_label">{{$t('label.MaterialQuantity')}}</view>
|
||||
<input type="number" class="filter_input filter_input_disabled" v-model="totalQty" disabled>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd_wrapper grid-wraper">
|
||||
<button class="mini-btn" type="primary" size="mini" style="display: block;" @tap="addmater">添加料框</button>
|
||||
<button class="mini-btn" type="primary" size="mini" style="display: block;" @tap="addmater">{{$t('button.AddMaterialBox')}}</button>
|
||||
<view v-if="dataList.length" class="slide_new">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="50%">料框号</th>
|
||||
<th width="30%">数量</th>
|
||||
<th>操作</th>
|
||||
<th width="50%">{{$t('th.MaterialBoxNumber')}}</th>
|
||||
<th width="30%">{{$t('Quantity')}}</th>
|
||||
<th>{{$t('button.Operation')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="(e, i) in dataList" :key="i">
|
||||
<td><input class="sin_input" :class="{ 'input-error': e.mater_frame === '' }" type="text" placeholder="请输入料框号" v-model="e.mater_frame" @blur="checkMaterFrame(i)" @input="clearError(i)" ref="materFrameInputs"></td>
|
||||
<td><input class="sin_input" :class="{ 'input-error': e.mater_frame === '' }" type="text" v-model="e.mater_frame" @blur="checkMaterFrame(i)" @input="clearError(i)" ref="materFrameInputs"></td>
|
||||
<td><input class="sin_input" type="number" v-model="e.qty" @blur="checkQty(i)"></td>
|
||||
<td><button class="mini-btn" type="primary" size="mini" style="display: block" @tap="delItem(i)">删除</button></td>
|
||||
<td><button class="mini-btn" type="primary" size="mini" style="display: block" @tap="delItem(i)">{{$t('button.Delete')}}</button></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -68,8 +48,8 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row submit-bar">
|
||||
<button class="zd-col-6 button-default" @tap="toEmpty">清空</button>
|
||||
<button class="zd-col-16 button-primary" :class="{'button-info': JSON.stringify(currentData) === '{}' || !val1}" :disabled="disabled" @tap="_groupPlate">组盘确认</button>
|
||||
<button class="zd-col-6 button-default" @tap="toEmpty">{{$t('button.clear')}}</button>
|
||||
<button class="zd-col-16 button-primary" :class="{'button-info': JSON.stringify(currentData) === '{}' || !val1}" :disabled="disabled" @tap="_groupPlate">{{$t('button.confirm')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -114,7 +94,7 @@
|
||||
methods: {
|
||||
toJump () {
|
||||
uni.navigateTo({
|
||||
url: '/pages/manage/common/cxwl?title=查询物料'
|
||||
url: '/pages/manage/common/cxwl?title=' + this.$t('home.QueryMaterials')
|
||||
})
|
||||
},
|
||||
addmater () {
|
||||
@@ -139,7 +119,7 @@
|
||||
const isDuplicate = this.dataList.some((item, i) => i !== index && item.mater_frame === mater_frame)
|
||||
if (isDuplicate) {
|
||||
uni.showToast({
|
||||
title: '料框号重复',
|
||||
title: this.$t('toast.boxnotduplicated'),
|
||||
icon: 'none'
|
||||
})
|
||||
// 清空当前料框号
|
||||
@@ -150,7 +130,7 @@
|
||||
const { qty } = this.dataList[index]
|
||||
if (qty < 0) {
|
||||
uni.showToast({
|
||||
title: '数量必须为非负数',
|
||||
title: this.$t('toast.quantitynonnegative'),
|
||||
icon: 'none'
|
||||
})
|
||||
// 重置数量为0
|
||||
|
||||
@@ -4,68 +4,46 @@
|
||||
<nav-bar :title="title"></nav-bar>
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">起点站点</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<search-box
|
||||
v-model="val2"
|
||||
@handleChange="handleChange"
|
||||
/>
|
||||
</view>
|
||||
<view class="is-required">
|
||||
<view class="filter_label">{{$t('label.StartPosition')}}</view>
|
||||
<search-box
|
||||
v-model="val2"
|
||||
@handleChange="handleChange"
|
||||
/>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">载具编码</span>
|
||||
</view>
|
||||
<view class="zd-col-12">
|
||||
<view class="is-required">
|
||||
<view class="filter_label">{{$t('label.CarrierCode')}}</view>
|
||||
</view>
|
||||
<view class="zd-row">
|
||||
<view class="zd-col-18">
|
||||
<search-box
|
||||
v-model="val1"
|
||||
@handleChange="handleChange"
|
||||
/>
|
||||
</view>
|
||||
<button class="mini-btn" type="primary" size="mini" style="margin-right: 0" @tap="_getVehicleMaterial(val1)">查询</button>
|
||||
<button class="mini-btn" type="primary" size="mini" style="margin-right: 0" @tap="_getVehicleMaterial(val1)">{{$t('button.search')}}</button>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">入库库区</span>
|
||||
</view>
|
||||
<view class="zd-col-24 filter_select">
|
||||
<uni-data-select v-model="index" :localdata="options" @change="selectChange"></uni-data-select>
|
||||
<view class="is-required">
|
||||
<view class="filter_label">{{$t('label.WarehouseArea')}}</view>
|
||||
<view class="filter_select">
|
||||
<uni-data-select :placeholder="$t('utils.selectPlaceholder')" :emptyTips="$t('utils.selectEmptyTips')" v-model="index" :localdata="options" @change="selectChange"></uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label filter_input_disabled">物料名称</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<input type="text" class="filter_input filter_input_disabled" v-model="currentData.material_name" disabled>
|
||||
</view>
|
||||
<view>
|
||||
<view class="filter_label">{{$t('label.MaterialName')}}</view>
|
||||
<input type="text" class="filter_input filter_input_disabled" v-model="currentData.material_name" disabled>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label filter_input_disabled">物料规格</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<input type="text" class="filter_input filter_input_disabled" v-model="currentData.material_spec" disabled>
|
||||
</view>
|
||||
<view>
|
||||
<view class="filter_label">{{$t('label.MaterialSpecification')}}</view>
|
||||
<input type="text" class="filter_input filter_input_disabled" v-model="currentData.material_spec" disabled>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label filter_input_disabled">物料编号</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<input type="text" class="filter_input filter_input_disabled" v-model="currentData.material_code" disabled>
|
||||
</view>
|
||||
<view>
|
||||
<view class="filter_label">{{$t('label.MaterialCode')}}</view>
|
||||
<input type="text" class="filter_input filter_input_disabled" v-model="currentData.material_code" disabled>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label filter_input_disabled">物料数量</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<input type="text" class="filter_input filter_input_disabled" v-model="currentData.qty" disabled>
|
||||
</view>
|
||||
<view>
|
||||
<view class="filter_label">{{$t('label.MaterialQuantity')}}</view>
|
||||
<input type="text" class="filter_input filter_input_disabled" v-model="currentData.qty" disabled>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="dataList.length" class="zd_wrapper grid-wraper">
|
||||
@@ -73,8 +51,8 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="60%">料框号</th>
|
||||
<th width="40%">数量</th>
|
||||
<th width="60%">{{$t('th.MaterialBoxNumber')}}</th>
|
||||
<th width="40%">{{$t('th.Quantity')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -88,8 +66,8 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row submit-bar">
|
||||
<button class="zd-col-6 button-default" @tap="clearUp">清空</button>
|
||||
<button class="zd-col-16 button-primary" :class="{'button-info': !val1 || !val2 || !index}" :disabled="disabled" @tap="_confirmIn">确认</button>
|
||||
<button class="zd-col-6 button-default" @tap="clearUp">{{$t('button.clear')}}</button>
|
||||
<button class="zd-col-16 button-primary" :class="{'button-info': !val1 || !val2 || !index}" :disabled="disabled" @tap="_confirmIn">{{$t('button.confirm')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -1,16 +1,12 @@
|
||||
<template>
|
||||
<view class="zd_container">
|
||||
<view class="zd_container" :class="{'en_class': applicationLocale === 'en'}">
|
||||
<!-- 作业管理 -->
|
||||
<nav-bar :title="title"></nav-bar>
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">关键字</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<search-box v-model="val1"/>
|
||||
</view>
|
||||
<view>
|
||||
<view class="filter_label">{{$t('label.Keyword')}}</view>
|
||||
<search-box v-model="val1"/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd_wrapper grid-wraper">
|
||||
@@ -18,15 +14,11 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>载具号</th>
|
||||
<th>起点</th>
|
||||
<th>终点</th>
|
||||
<th>状态</th>
|
||||
<th>作业号</th>
|
||||
<!-- <th>作业类型</th>
|
||||
<th>设备号</th>
|
||||
<th>当前步骤</th>
|
||||
<th>异常信息</th> -->
|
||||
<th>{{$t('label.CarrierCode')}}</th>
|
||||
<th>{{$t('th.Startpoint')}}</th>
|
||||
<th>{{$t('th.Endpoint')}}</th>
|
||||
<th>{{$t('th.Status')}}</th>
|
||||
<th>{{$t('th.Jobnumber')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -43,10 +35,10 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row submit-bar">
|
||||
<button class="zd-col-5 button-default" @tap="toEmpty">清空</button>
|
||||
<button class="zd-col-5 button-primary" @tap="_schTaskQueryTask">查询</button>
|
||||
<button class="zd-col-6 button-primary" :class="{'button-info': !pkId}" :disabled="disabled" @tap="_schTaskAgainTask">重新下发</button>
|
||||
<button class="zd-col-6 button-primary" :class="{'button-info': !pkId}" :disabled="disabled" @tap="_forceConfirm">强制完成</button>
|
||||
<button class="zd-col-5 button-default" @tap="toEmpty">{{$t('button.clear')}}</button>
|
||||
<button class="zd-col-5 button-primary" @tap="_schTaskQueryTask">{{$t('button.search')}}</button>
|
||||
<button class="zd-col-6 button-primary" :class="{'button-info': !pkId}" :disabled="disabled" @tap="_schTaskAgainTask">{{$t('button.Reissue')}}</button>
|
||||
<button class="zd-col-6 button-primary" :class="{'button-info': !pkId}" :disabled="disabled" @tap="_forceConfirm">{{$t('button.Forcecompletion')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -63,15 +55,17 @@
|
||||
data() {
|
||||
return {
|
||||
title: '',
|
||||
val1: '',
|
||||
val1: '',
|
||||
dataList: [],
|
||||
pkId: '',
|
||||
pkObj: {},
|
||||
disabled: false
|
||||
disabled: false,
|
||||
applicationLocale: ''
|
||||
};
|
||||
},
|
||||
onLoad (options) {
|
||||
this.title = options.title
|
||||
this.applicationLocale = uni.getLocale()
|
||||
},
|
||||
methods: {
|
||||
toEmpty () {
|
||||
|
||||
Reference in New Issue
Block a user