|
|
|
@ -57,13 +57,13 @@
|
|
|
|
|
</view>
|
|
|
|
|
<view class="bottom-bar">
|
|
|
|
|
<u-row class="button-bar">
|
|
|
|
|
<u-col :span="12">
|
|
|
|
|
<u-col :span="6">
|
|
|
|
|
<u-button type="error" @click="SignIn">到货登记</u-button>
|
|
|
|
|
</u-col>
|
|
|
|
|
<!-- 确定 -->
|
|
|
|
|
<!-- <u-col :span="6">
|
|
|
|
|
<u-button @click="onSubmit" type="primary">确认收货</u-button>
|
|
|
|
|
</u-col> -->
|
|
|
|
|
<u-col :span="6">
|
|
|
|
|
<u-button @click="onSubmit" type="primary">整张送货单一键报检</u-button>
|
|
|
|
|
</u-col>
|
|
|
|
|
<!-- 返回 -->
|
|
|
|
|
</u-row>
|
|
|
|
|
</view>
|
|
|
|
@ -419,6 +419,28 @@ export default class ArrivalRegistration extends BasePage {
|
|
|
|
|
this.nopoupsing();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//一键报检
|
|
|
|
|
async onSubmit() {
|
|
|
|
|
if (this.userDefined5 == '' || this.userDefined5.length == 0) {
|
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
|
title: '请输入送货单',
|
|
|
|
|
type: 'default',
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
let params = {
|
|
|
|
|
userDefined5: this.userDefined5,
|
|
|
|
|
factoryCode: session.FactoryCode,
|
|
|
|
|
lastUpdateBy: session.loginName,
|
|
|
|
|
};
|
|
|
|
|
await this.model.ArrivalRegistrationSH(params);
|
|
|
|
|
if (this.model.Arrivalcodesh == 200) {
|
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
|
title: model.Arrivalmsgsh,
|
|
|
|
|
duration: 4000,
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|