|
|
|
@ -41,7 +41,7 @@
|
|
|
|
|
</u-form-item>
|
|
|
|
|
<!-- 计划数量 -->
|
|
|
|
|
<u-form-item :label="$t('message.plan')">
|
|
|
|
|
<u-input v-model="NEWqty" placeholder="" />
|
|
|
|
|
<u-input :disabled="true" v-model="orderlist.orderAmount" placeholder="" />
|
|
|
|
|
</u-form-item>
|
|
|
|
|
</u-form>
|
|
|
|
|
<view class="bottom-bar">
|
|
|
|
@ -132,10 +132,10 @@ export default class KanDanHandOver extends BasePage {
|
|
|
|
|
this.customToast(this.$t('message.Commission_tips6') as string);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.NEWqty == '' || parseFloat(this.NEWqty) == 0) {
|
|
|
|
|
this.customToast(this.$t('message.PleaseQuantity') as string);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
// if (this.NEWqty == '' || parseFloat(this.NEWqty) == 0) {
|
|
|
|
|
// this.customToast(this.$t('message.PleaseQuantity') as string);
|
|
|
|
|
// return;
|
|
|
|
|
// }
|
|
|
|
|
// if (parseFloat(this.NEWqty) > parseFloat(this.orderlist.qty)) {
|
|
|
|
|
// this.customToast(this.$t('message.greater') as string);
|
|
|
|
|
// return;
|
|
|
|
@ -152,7 +152,7 @@ export default class KanDanHandOver extends BasePage {
|
|
|
|
|
stoNo: this.order3,
|
|
|
|
|
stoItem: this.orderlist.stoItem,
|
|
|
|
|
materialCode: this.orderlist.materialCode,
|
|
|
|
|
orderAmount: this.NEWqty,
|
|
|
|
|
orderAmount: this.orderlist.orderAmount,
|
|
|
|
|
deliveryFactory: this.orderlist.deliveryFactory,
|
|
|
|
|
deliveryWlcode: this.orderlist.deliveryWlcode,
|
|
|
|
|
receiveFactory: this.orderlist.receiveFactory,
|
|
|
|
@ -166,7 +166,7 @@ export default class KanDanHandOver extends BasePage {
|
|
|
|
|
});
|
|
|
|
|
this.orderlist = {};
|
|
|
|
|
this.model.materielList.length = 0;
|
|
|
|
|
this.NEWqty = '';
|
|
|
|
|
//this.NEWqty = '';
|
|
|
|
|
this.query();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|