|
|
|
@ -79,6 +79,13 @@
|
|
|
|
|
<u-input :placeholder="$t('message.po_PleaseInput')" v-model="qty" type="number" :border="border" class="input" />
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- 备注 -->
|
|
|
|
|
<view class="material">
|
|
|
|
|
<view class="material-right">
|
|
|
|
|
<view class="material-right-title">{{ $t('message.Note') }}:</view>
|
|
|
|
|
<u-input class="material-right-code" style="overflow: hidden; border: 2rpx solid; border-color: rgb(220, 223, 230); border-radius: 10rpx" v-model="userDefined10" placeholder="" />
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- 添加 -->
|
|
|
|
|
<view class="add">
|
|
|
|
|
<u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button>
|
|
|
|
@ -156,6 +163,7 @@ export default class RawReceiptDetail extends BasePage {
|
|
|
|
|
some: any = {};
|
|
|
|
|
someIndex: any = 0;
|
|
|
|
|
qty: any = '';
|
|
|
|
|
userDefined10 = '';
|
|
|
|
|
/**
|
|
|
|
|
* 表单数据
|
|
|
|
|
*/
|
|
|
|
@ -266,11 +274,13 @@ export default class RawReceiptDetail extends BasePage {
|
|
|
|
|
factoryCode: this.session.factoryCode,
|
|
|
|
|
wlCode: this.wlCode.label,
|
|
|
|
|
nowAmount: this.qty,
|
|
|
|
|
userDefined10: this.userDefined10,
|
|
|
|
|
};
|
|
|
|
|
this.model.dnReturnList[this.someIndex].receiptAmount += parseFloat(this.qty);
|
|
|
|
|
console.log('this.model.dnReturnList', this.model.dnReturnList);
|
|
|
|
|
this.LocationList.push(arr);
|
|
|
|
|
this.qty = '';
|
|
|
|
|
this.userDefined10 = '';
|
|
|
|
|
}
|
|
|
|
|
//删除某一项 触发事件
|
|
|
|
|
deleteItem(e: any) {
|
|
|
|
@ -317,6 +327,7 @@ export default class RawReceiptDetail extends BasePage {
|
|
|
|
|
this.someIndex = 0;
|
|
|
|
|
this.LocationList = [];
|
|
|
|
|
this.qty = '';
|
|
|
|
|
this.userDefined10 = '';
|
|
|
|
|
this.Location = [];
|
|
|
|
|
this.wl = {};
|
|
|
|
|
this.wlCode = '';
|
|
|
|
|