cosmoim-852 fix 俄罗斯拣配修改

master
guoshuang 3 years ago
parent 11643fc760
commit 90a81bac4e

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

@ -48,17 +48,17 @@
<!-- 表格 --> <!-- 表格 -->
<u-table class="library-table"> <u-table class="library-table">
<u-tr class="u-tr"> <u-tr class="u-tr">
<u-th class="u-th">{{ $t('message.product_Location') }}</u-th> <u-th style="width: 65px; flex: auto" class="u-th">{{ $t('message.product_Location') }}</u-th>
<u-th class="u-th">{{ $t('message.product_Number') }}</u-th> <u-th style="width: 65px; flex: auto" class="u-th">{{ $t('message.product_Number') }}</u-th>
<u-th class="u-th">{{ $t('message.Container') }}</u-th> <u-th style="width: 174px; flex: auto" class="u-th">{{ $t('message.Container') }}</u-th>
<u-th class="u-th">{{ $t('message.operation') }}</u-th> <u-th style="width: 80px; flex: auto" class="u-th">{{ $t('message.operation') }}</u-th>
</u-tr> </u-tr>
<u-tr class="u-tr" v-for="(item, index) in LocationList" :key="index"> <u-tr class="u-tr" v-for="(item, index) in LocationList" :key="index">
<u-td class="u-td">{{ item.wlCode }}</u-td> <u-td style="width: 65px; height: 60px" class="u-td">{{ item.wlCode }}</u-td>
<u-td class="u-td">{{ item.qty }}</u-td> <u-td style="width: 65px; height: 60px" class="u-td">{{ item.qty }}</u-td>
<u-td class="u-td">{{ item.barcode }}</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 class="u-td"> <u-td style="width: 80px; height: 60px" class="u-td">
<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-td>
</u-tr> </u-tr>
</u-table> </u-table>
@ -213,6 +213,7 @@ export default class RawReceiptDetail extends BasePage {
}; };
this.Location.push(arr); this.Location.push(arr);
this.wlCode = this.Location[0]; this.wlCode = this.Location[0];
this.qty = this.Container.qty - parseFloat(this.Container.cpRef4);
//let num = 0; //let num = 0;
// if (this.LocationList.length != 0) { // if (this.LocationList.length != 0) {
// this.LocationList.forEach((item: any) => { // this.LocationList.forEach((item: any) => {
@ -458,7 +459,9 @@ export default class RawReceiptDetail extends BasePage {
.right { .right {
flex: 1; flex: 1;
} }
.u-th {
flex: auto;
}
.icon { .icon {
display: flex; display: flex;
justify-content: center; justify-content: center;

Loading…
Cancel
Save