| | |
| | | <view class="page-container"> |
| | | <!-- 头部导航 --> |
| | | <u-navbar |
| | | title="商品信息" |
| | | :title="$t('matSelected.title')" |
| | | :fixed="true" |
| | | :placeholder="true" |
| | | bgColor="#ffffff" |
| | |
| | | size="24" |
| | | color="#409eff" |
| | | ></u-icon> |
| | | <text class="panel-title">物料详情</text> |
| | | <text class="panel-title">{{ $t('matSelected.matDetail') }}</text> |
| | | </view> |
| | | |
| | | <u--form |
| | |
| | | labelWidth="80" |
| | | > |
| | | <u-form-item |
| | | label="商品编码" |
| | | :label="$t('matSelected.matCode')" |
| | | borderBottom |
| | | > |
| | | <text class="value-text code">{{ mat.matnr }}</text> |
| | | </u-form-item> |
| | | |
| | | <u-form-item |
| | | label="商品名称" |
| | | :label="$t('matSelected.matName')" |
| | | borderBottom |
| | | > |
| | | <text class="value-text name">{{ mat.maktx }}</text> |
| | | </u-form-item> |
| | | |
| | | <u-form-item |
| | | label="规格" |
| | | :label="$t('matSelected.spec')" |
| | | borderBottom |
| | | > |
| | | <text class="value-text">{{ mat.specs || '-' }}</text> |
| | | </u-form-item> |
| | | |
| | | <u-form-item |
| | | label="批号" |
| | | :label="$t('matSelected.batch')" |
| | | borderBottom |
| | | > |
| | | <u--input |
| | | v-model="mat.batch" |
| | | placeholder="请输入批号" |
| | | :placeholder="$t('matSelected.inputBatch')" |
| | | border="none" |
| | | clearable |
| | | ></u--input> |
| | | </u-form-item> |
| | | |
| | | <u-form-item label="数量"> |
| | | <u-form-item :label="$t('matSelected.qty')"> |
| | | <u-number-box |
| | | v-model="mat.anfme" |
| | | :max="99999999" |
| | |
| | | <view class="bottom-bar"> |
| | | <u-button |
| | | type="primary" |
| | | text="确认提取" |
| | | :text="$t('matSelected.confirmExtract')" |
| | | icon="checkbox-mark" |
| | | @click="back" |
| | | customStyle="width: 100%; border-radius: 40rpx;" |
| | |
| | | }, |
| | | back() { |
| | | if (this.mat.anfme === 0) { |
| | | this.$showToast({ type: 'error', message: '请输入数量' }) |
| | | this.$showToast({ type: 'error', message: this.$t('toast.inputQty') }) |
| | | return |
| | | } |
| | | this.getOpenerEventChannel().emit('matList', { data: this.mat }) |