cosmoim-852 fix 泰国物料转换调整

master
guoshuang 3 years ago
parent c186220359
commit 76e80fe149

@ -51,8 +51,8 @@
<u-button type="error" @click="uni.navigateBack({})">{{ $t('message.po_Return') }}</u-button> <u-button type="error" @click="uni.navigateBack({})">{{ $t('message.po_Return') }}</u-button>
</u-col> </u-col>
<u-col :span="6"> <u-col :span="6">
<u-button type="primary" @click="submit">{{ $t('message.InventoryFinish') }} </u-button></u-col <u-button type="primary" @click="submit">{{ $t('message.InventoryFinish') }} </u-button>
> </u-col>
</u-row> </u-row>
</u-form> </u-form>
</view> </view>
@ -90,12 +90,22 @@ export default class KanDanHandOver extends BasePage {
orderType: 'MC', orderType: 'MC',
}); });
if (this.model.code == '1') { if (this.model.code == '1') {
uni.showToast({ if (this.model.orderInInfoList.length != 0) {
//icon: 'success', uni.showToast({
title: this.model.records.msg, icon: 'success',
duration: 2000, title: this.$t('message.Warehouse_Tip9') as string,
image: '/static/icons/icon-51.png', duration: 2000,
}); image: '/static/icons/icon-51.png',
});
} else {
uni.showToast({
//icon: 'success',
title: this.model.records.msg,
duration: 2000,
image: '/static/icons/icon-51.png',
});
}
this.model.orderInInfoList.forEach((item: any) => { this.model.orderInInfoList.forEach((item: any) => {
let arr: any = { let arr: any = {
label: item.productCode, label: item.productCode,
@ -184,13 +194,16 @@ export default class KanDanHandOver extends BasePage {
font-size: 34rpx; font-size: 34rpx;
font-weight: 500; font-weight: 500;
text-align: center; text-align: center;
.title { .title {
flex: 3; flex: 3;
} }
.left, .left,
.right { .right {
flex: 1; flex: 1;
} }
.icon { .icon {
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -219,20 +232,24 @@ export default class KanDanHandOver extends BasePage {
padding: 30rpx 0; padding: 30rpx 0;
line-height: 35rpx; line-height: 35rpx;
} }
.single { .single {
width: 100%; width: 100%;
height: 100rpx; height: 100rpx;
display: flex; display: flex;
.single-left { .single-left {
width: 80%; width: 80%;
height: 100%; height: 100%;
display: flex; display: flex;
view { view {
width: 110rpx; width: 110rpx;
height: 100%; height: 100%;
line-height: 100rpx; line-height: 100rpx;
} }
} }
.single-right { .single-right {
button { button {
margin-top: 15rpx; margin-top: 15rpx;
@ -241,12 +258,14 @@ export default class KanDanHandOver extends BasePage {
} }
} }
} }
.title { .title {
margin-bottom: 40rpx; margin-bottom: 40rpx;
color: #1a1a1a; color: #1a1a1a;
font-size: 30rpx; font-size: 30rpx;
font-weight: 500; font-weight: 500;
} }
.button-bar { .button-bar {
position: fixed; position: fixed;
bottom: 0; bottom: 0;

Loading…
Cancel
Save