|
|
|
@ -11,6 +11,9 @@
|
|
|
|
|
<!-- 单号 -->
|
|
|
|
|
<u-form-item :required="true" :label="$t('message.InventoryOrderNo')" prop="pddNo">
|
|
|
|
|
<u-search :placeholder="$t('message.InventoryPleaseScan')" v-model.trim="pddNo" @search="rawMaterialInventoryCheckRaw" :show-action="false"></u-search>
|
|
|
|
|
<view class="single-right">
|
|
|
|
|
<u-button type="primary" @click="rawMaterialInventoryCheckRaw">{{ $t('message.Query') }}</u-button>
|
|
|
|
|
</view>
|
|
|
|
|
</u-form-item>
|
|
|
|
|
<!-- 已扫总数 -->
|
|
|
|
|
<u-form-item :label="$t('message.Total_scanned')" prop="spQty">
|
|
|
|
@ -88,7 +91,10 @@ export default class rawMaterialInventory extends BasePage {
|
|
|
|
|
//单号查询
|
|
|
|
|
async rawMaterialInventoryCheckRaw() {
|
|
|
|
|
if (!this.pddNo) {
|
|
|
|
|
uni.showToast({ title: this.$t('message.Commission_tips1') as any });
|
|
|
|
|
uni.showToast({
|
|
|
|
|
icon: 'none',
|
|
|
|
|
title: this.$t('message.Commission_tips1') as any,
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
await this.model.rawMaterialInventoryCheckRaw(this.pddNo);
|
|
|
|
@ -111,11 +117,17 @@ export default class rawMaterialInventory extends BasePage {
|
|
|
|
|
//点击确定
|
|
|
|
|
async checkRawCreateInfo() {
|
|
|
|
|
if (!this.spQty) {
|
|
|
|
|
uni.showToast({ title: this.$t('message.Summary_PleaseInputNumber') as any });
|
|
|
|
|
uni.showToast({
|
|
|
|
|
icon: 'none',
|
|
|
|
|
title: this.$t('message.Summary_PleaseInputNumber') as any,
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (!this.pddNo) {
|
|
|
|
|
uni.showToast({ title: this.$t('message.Commission_tips1') as any });
|
|
|
|
|
uni.showToast({
|
|
|
|
|
icon: 'none',
|
|
|
|
|
title: this.$t('message.Commission_tips1') as any,
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
let params = {
|
|
|
|
@ -195,6 +207,13 @@ export default class rawMaterialInventory extends BasePage {
|
|
|
|
|
line-height: 35rpx;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.single-right {
|
|
|
|
|
button {
|
|
|
|
|
//margin-top: 15rpx;
|
|
|
|
|
width: 110rpx;
|
|
|
|
|
height: 70rpx;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bottom-bar {
|
|
|
|
|
position: fixed;
|
|
|
|
|