overseamom-63 style 根据物料号查询注释

master
suiwei 2 years ago
parent 7918fbaf3b
commit eed4ab2d47

@ -8,9 +8,11 @@
<view class="right"></view> <view class="right"></view>
</view> </view>
<view> <view>
<!-- 订单号 -->
<u-form-item :label="$t('message.Warehouse_No')" prop="prdOrder" style="background: white; border-radius: 5px"> <u-form-item :label="$t('message.Warehouse_No')" prop="prdOrder" style="background: white; border-radius: 5px">
<u-search :placeholder="$t('message.po_PleaseInput')" v-model.trim="prdOrderFuzzy" :show-action="false"> </u-search> <u-search :placeholder="$t('message.po_PleaseInput')" v-model.trim="prdOrderFuzzy" :show-action="false"> </u-search>
</u-form-item> </u-form-item>
<!-- 物料号 -->
<u-form-item :label="$t('message.Material_No')" style="background: white; border-radius: 5px; margin-top: 10rpx"> <u-form-item :label="$t('message.Material_No')" style="background: white; border-radius: 5px; margin-top: 10rpx">
<u-search :placeholder="$t('message.po_PleaseInput')" v-model.trim="matCodeFuzzy" :show-action="false"> </u-search> <u-search :placeholder="$t('message.po_PleaseInput')" v-model.trim="matCodeFuzzy" :show-action="false"> </u-search>
</u-form-item> </u-form-item>
@ -119,7 +121,7 @@ export default class returningDom extends BasePage {
var currentdate = year + seperator1 + month + seperator1 + strDate; var currentdate = year + seperator1 + month + seperator1 + strDate;
return currentdate; return currentdate;
} }
// //
async onReady() { async onReady() {
this.startMobile = this.getNowFormatDate(); this.startMobile = this.getNowFormatDate();
this.endMobile = this.getNowFormatDate(); this.endMobile = this.getNowFormatDate();
@ -132,11 +134,13 @@ export default class returningDom extends BasePage {
await this.onSubmit(); await this.onSubmit();
} }
} }
// query
async onSubmit() { async onSubmit() {
if (this.startMobile == '' || this.endMobile == '') { if (this.startMobile == '' || this.endMobile == '') {
this.customToast(this.$t('message.time') as string); this.customToast(this.$t('message.time') as string);
return; return;
} }
//
let time = { let time = {
requireDateMin: this.startMobile, requireDateMin: this.startMobile,
requireDateMax: this.endMobile, requireDateMax: this.endMobile,

Loading…
Cancel
Save