|
|
|
@ -46,20 +46,20 @@
|
|
|
|
|
<!-- 表格 -->
|
|
|
|
|
<u-table class="library-table">
|
|
|
|
|
<u-tr class="u-tr">
|
|
|
|
|
<u-th class="u-th">{{ $t('message.product_Location') }}</u-th>
|
|
|
|
|
<u-th class="u-th">{{ $t('message.product_Number') }}</u-th>
|
|
|
|
|
<u-th class="u-th">{{ $t('message.Container') }}</u-th>
|
|
|
|
|
<u-th class="u-th">{{ $t('message.operation') }}</u-th>
|
|
|
|
|
<u-th style="width: 65px; flex: auto" class="u-th">{{ $t('message.product_Location') }}</u-th>
|
|
|
|
|
<u-th style="width: 65px; flex: auto" class="u-th">{{ $t('message.product_Number') }}</u-th>
|
|
|
|
|
<u-th style="width: 174px; flex: auto" class="u-th">{{ $t('message.Container') }}</u-th>
|
|
|
|
|
<u-th style="width: 80px; flex: auto" class="u-th">{{ $t('message.operation') }}</u-th>
|
|
|
|
|
</u-tr>
|
|
|
|
|
<u-tr class="u-tr" v-for="(item, index) in LocationList" :key="index">
|
|
|
|
|
<u-td class="u-td">{{ item.wlCode }}</u-td>
|
|
|
|
|
<u-td class="u-td">{{ item.qty }}</u-td>
|
|
|
|
|
<u-td class="u-td">{{ item.barcode }}</u-td>
|
|
|
|
|
<u-td class="u-td">
|
|
|
|
|
<u-td style="width: 65px; height: 60px" class="u-td">{{ item.wlCode }}</u-td>
|
|
|
|
|
<u-td style="width: 65px; height: 60px" class="u-td">{{ item.qty }}</u-td>
|
|
|
|
|
<u-td style="width: 174px; height: 60px; word-wrap: break-word; word-break: normal" class="u-td">{{ item.barcode }}</u-td>
|
|
|
|
|
<u-td style="width: 80px; height: 60px" class="u-td">
|
|
|
|
|
<!-- <div class="u-td" @click="deleteItem(index)">
|
|
|
|
|
{{ $t('message.product_Delete') }}
|
|
|
|
|
</div> -->
|
|
|
|
|
<u-button type="error" size="small" style="font-size: 20px" @click="deleteItem(index)">{{ $t('message.product_Delete') }}</u-button>
|
|
|
|
|
<u-button type="error" size="small" style="font-size: 20px; width: 74px" @click="deleteItem(index)">{{ $t('message.product_Delete') }}</u-button>
|
|
|
|
|
</u-td>
|
|
|
|
|
</u-tr>
|
|
|
|
|
</u-table>
|
|
|
|
@ -222,6 +222,7 @@ export default class RawReceiptDetail extends BasePage {
|
|
|
|
|
};
|
|
|
|
|
this.Location.push(arr);
|
|
|
|
|
this.wlCode = this.Location[0];
|
|
|
|
|
this.qty = this.Container.qty - parseFloat(this.Container.cpRef4);
|
|
|
|
|
//let num = 0;
|
|
|
|
|
// if (this.LocationList.length != 0) {
|
|
|
|
|
// this.LocationList.forEach((item: any) => {
|
|
|
|
@ -474,6 +475,9 @@ export default class RawReceiptDetail extends BasePage {
|
|
|
|
|
.right {
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
.u-th {
|
|
|
|
|
flex: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
|
display: flex;
|
|
|
|
|