hou 3 years ago
commit c4f4817baa

@ -25,7 +25,7 @@
<view class="library"> <view class="library">
<view class="library-left"> <view class="library-left">
<view>{{ $t('message.CommissionedLocation') }}:</view> <view>{{ $t('message.CommissionedLocation') }}:</view>
<jPicker sureColor="#ff0000" style="width: 230rpx" @bindpicker="LocationChoice" showKey="value" valKey="value" :val="wlCode.value" class="search" :options="Location" /> <jPicker sureColor="#ff0000" style="width: 400rpx" @bindpicker="LocationChoice" showKey="value" valKey="value" :val="wlCode.value" class="search" :options="Location" />
</view> </view>
<view class="library-right"> <view class="library-right">
<view class="library-right-title">{{ $t('message.CommissionedThisNumber') }}:</view> <view class="library-right-title">{{ $t('message.CommissionedThisNumber') }}:</view>
@ -433,7 +433,7 @@ export default class RawReceiptDetail extends BasePage {
.library-left { .library-left {
width: 100%; width: 100%;
height: 100rpx; height: 100rpx;
padding-left: 56rpx; padding-left: 36rpx;
// display: flex; // display: flex;
// view { // view {
// width: 230rpx; // width: 230rpx;
@ -444,7 +444,7 @@ export default class RawReceiptDetail extends BasePage {
.library-right { .library-right {
width: 100%; width: 100%;
height: 100rpx; height: 100rpx;
padding-left: 56rpx; padding-left: 36rpx;
display: flex; display: flex;
.library-right-title { .library-right-title {
width: 120rpx; width: 120rpx;
@ -455,7 +455,7 @@ export default class RawReceiptDetail extends BasePage {
width: 200rpx; width: 200rpx;
height: 70rpx; height: 70rpx;
margin-top: 15rpx; margin-top: 15rpx;
margin-left: 0rpx; margin-left: 4rpx;
} }
.add { .add {
width: 200rpx; width: 200rpx;

@ -89,7 +89,6 @@ import { summaryHeaders } from './config';
import { session } from '@/store/modules/session'; import { session } from '@/store/modules/session';
import { VForm, VFormRules } from 'vue/types/form'; import { VForm, VFormRules } from 'vue/types/form';
import jPicker from '@/components/J-Picker/jPicker.vue'; import jPicker from '@/components/J-Picker/jPicker.vue';
import { pick } from 'lodash/fp';
@Component({ @Component({
components: { components: {
jPicker, jPicker,
@ -111,7 +110,7 @@ export default class RawReceiptDetail extends BasePage {
LocationList: any = []; LocationList: any = [];
// //
Location: any = []; Location: any = [];
someIndex: number = 0; someIndex = 0;
some: any = {}; some: any = {};
qty: any = ''; qty: any = '';
// //
@ -251,7 +250,7 @@ export default class RawReceiptDetail extends BasePage {
} }
// //
business() { business() {
let num: number = 0; let num = 0;
this.LocationList.forEach((item: any) => { this.LocationList.forEach((item: any) => {
num += parseFloat(item.qty); num += parseFloat(item.qty);
}); });
@ -309,7 +308,7 @@ export default class RawReceiptDetail extends BasePage {
async GetLocation() { async GetLocation() {
this.Location = []; this.Location = [];
let means: any = JSON.parse(localStorage.getItem('__GWMS_APP_STATE_DATA__') as any); let means: any = JSON.parse(localStorage.getItem('__GWMS_APP_STATE_DATA__') as any);
let sendSpot = JSON.parse(localStorage.getItem('sendSpot') as any); //let sendSpot = JSON.parse(localStorage.getItem('sendSpot') as any);
let content = { let content = {
loginName: means.session.user.loginName, loginName: means.session.user.loginName,
sendSpot: null, sendSpot: null,
@ -424,7 +423,7 @@ export default class RawReceiptDetail extends BasePage {
.library-left { .library-left {
width: 100%; width: 100%;
height: 100rpx; height: 100rpx;
padding-left: 56rpx; padding-left: 36rpx;
// display: flex; // display: flex;
// view { // view {
// width: 230rpx; // width: 230rpx;
@ -435,7 +434,7 @@ export default class RawReceiptDetail extends BasePage {
.library-right { .library-right {
width: 100%; width: 100%;
height: 100rpx; height: 100rpx;
padding-left: 56rpx; padding-left: 36rpx;
display: flex; display: flex;
.library-right-title { .library-right-title {
width: 120rpx; width: 120rpx;
@ -446,7 +445,7 @@ export default class RawReceiptDetail extends BasePage {
width: 200rpx; width: 200rpx;
height: 70rpx; height: 70rpx;
margin-top: 15rpx; margin-top: 15rpx;
margin-left: 0rpx; margin-left: 4rpx;
} }
.add { .add {
width: 200rpx; width: 200rpx;

Loading…
Cancel
Save