|
|
|
@ -162,6 +162,7 @@
|
|
|
|
|
</u-popup>
|
|
|
|
|
<view v-if="show" class="mask"></view>
|
|
|
|
|
</view>
|
|
|
|
|
<u-toast ref="uToast" />
|
|
|
|
|
<view>
|
|
|
|
|
<u-popup v-model="singshow" mode="center" width="580rpx" height="500rpx">
|
|
|
|
|
<view class="form4">
|
|
|
|
@ -532,7 +533,7 @@ export default class receivePO extends BasePage {
|
|
|
|
|
id:this.list[0].id,
|
|
|
|
|
}
|
|
|
|
|
await this.model.selectArrivalRegistration(params);
|
|
|
|
|
if(this.model.singcode == '200'){
|
|
|
|
|
if(this.model.singcode == 200){
|
|
|
|
|
this.singshow = true;
|
|
|
|
|
this.operationNumber = model.singobj.operationNumber;
|
|
|
|
|
this.nooperationNumber =model.singobj.planNumber - model.singobj.operationNumber
|
|
|
|
@ -547,6 +548,13 @@ export default class receivePO extends BasePage {
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if ( this.czNumber == 0) {
|
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
|
title: '登记数量不能为0',
|
|
|
|
|
type: 'default',
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
let params = {
|
|
|
|
|
factoryCode: session.FactoryCode,
|
|
|
|
|
procureCode: this.procureCode,
|
|
|
|
@ -556,7 +564,8 @@ export default class receivePO extends BasePage {
|
|
|
|
|
};
|
|
|
|
|
//console.log('99999',params);
|
|
|
|
|
await this.model.ArrivalRegistration(params);
|
|
|
|
|
if (this.model.Arrivalcode == '200') {
|
|
|
|
|
if (this.model.Arrivalcode == 200) {
|
|
|
|
|
|
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
|
title: '成功',
|
|
|
|
|
type: 'success',
|
|
|
|
|