Merge branch 'master' of https://git.haier.net/Overseas_WMS/hgwms-factory-app
commit
d4fb66b4aa
@ -0,0 +1,37 @@
|
||||
/**
|
||||
* 扫描明细表格列
|
||||
*/
|
||||
import vm from '@/main';
|
||||
export const headers = [
|
||||
{
|
||||
label: vm.$t('message.product_BarCode'),
|
||||
key: 'barcode',
|
||||
width: 400,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.pcNo'),
|
||||
key: 'pcNo',
|
||||
width: 400,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.po_MaterielNo'),
|
||||
key: 'matCode',
|
||||
width: 300,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.po_MaterielDes'),
|
||||
key: 'matDesc',
|
||||
width: 400,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.stoOrderNo'),
|
||||
key: 'stoNo',
|
||||
width: 300,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.stoLine'),
|
||||
key: 'stoItem',
|
||||
width: 300,
|
||||
},
|
||||
];
|
||||
|
@ -0,0 +1,130 @@
|
||||
|
||||
<template>
|
||||
<view class="page-receipt-detail">
|
||||
<view class="header">
|
||||
<view class="left">
|
||||
<u-icon class="icon" name="arrow-left" @click="uni.navigateBack({})" />
|
||||
</view>
|
||||
<view class="title">{{ $t('message.Pi_QueryResults') }}</view>
|
||||
<view class="right"></view>
|
||||
</view>
|
||||
<view class="table-wrapper">
|
||||
<wyb-table class="table" ref="table" width="100%" @onCheck='onCheck' show-left-and-right-border :headers="headers" :contents="model.stoBarcodeList" enable-check='single' :show-vert-border="false"></wyb-table>
|
||||
|
||||
</view>
|
||||
<view class="bottom-bar">
|
||||
<u-row class="button-bar">
|
||||
<u-col :span="12">
|
||||
<u-button type="error" @click="Delete">{{ $t('message.product_Delete') }}</u-button>
|
||||
</u-col>
|
||||
</u-row>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
<script lang="ts">
|
||||
import { Component } from 'vue-property-decorator';
|
||||
import { BasePage } from '@/components/base/page';
|
||||
import model from './model';
|
||||
import { headers } from './config';
|
||||
import { session } from '@/store/modules/session';
|
||||
|
||||
|
||||
@Component
|
||||
export default class RawReceiptDetail extends BasePage {
|
||||
model = model;
|
||||
headers = headers;
|
||||
seleteData={}
|
||||
onCheck(data){
|
||||
this.seleteData=data.data;
|
||||
}
|
||||
async Delete(){
|
||||
console.log("2222ss",this.seleteData)
|
||||
console.log("1111ss",this.seleteData[0].lineData.barcode)
|
||||
const barcode = this.seleteData[0].lineData.barcode;
|
||||
const stoNo = this.seleteData[0].lineData.stoNo;
|
||||
const stoItem = this.seleteData[0].lineData.stoItem;
|
||||
if (!this.seleteData) {
|
||||
this.customToast(this.$t('message.stoPleaseInput') as any);
|
||||
return;
|
||||
}
|
||||
const SunmitList = {
|
||||
loginName: session.loginName,
|
||||
factoryCode: session.factoryCode,
|
||||
stoNo: stoNo,
|
||||
stoItem: stoItem,
|
||||
barcode: barcode,
|
||||
};
|
||||
await this.model.deleteBarcode(SunmitList);
|
||||
if (this.model.DeleteCode == 1) {
|
||||
let index = this.model.stoBarcodeList.findIndex(val=>val.barcode==barcode);
|
||||
this.model.stoBarcodeList.splice(index,1);
|
||||
this.seleteData=[];
|
||||
uni.showToast({
|
||||
title: this.$t('message.success') as string,
|
||||
image: '/static/icons/icon-51.png',
|
||||
});
|
||||
this.seleteData={};
|
||||
}
|
||||
// await this.model.QueryStoDetail
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.page-receipt-detail {
|
||||
background: #f2f2f2 linear-gradient(0deg, #f2f2f2 0%, #4a78ea 51%, #1753ea 100%) no-repeat;
|
||||
background-size: 100% 600rpx;
|
||||
padding: 30rpx;
|
||||
min-height: 100%;
|
||||
padding-top: 118rpx;
|
||||
padding-bottom: 162rpx;
|
||||
|
||||
.header {
|
||||
position: fixed;
|
||||
top: 36rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
height: 88rpx;
|
||||
line-height: 88rpx;
|
||||
color: #fff;
|
||||
font-size: 34rpx;
|
||||
font-weight: 500;
|
||||
text-align: center;
|
||||
.title {
|
||||
flex: 3;
|
||||
}
|
||||
.left,
|
||||
.right {
|
||||
flex: 1;
|
||||
}
|
||||
.icon {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 88rpx;
|
||||
height: 88rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.table-wrapper {
|
||||
background-color: #fff;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
||||
.form {
|
||||
background-color: #fff;
|
||||
padding: 40rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.bottom-bar {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 99;
|
||||
background: #ffffff;
|
||||
box-shadow: 0 1rpx 20rpx 0 rgba(128, 128, 128, 0.2);
|
||||
padding: 20rpx;
|
||||
}
|
||||
}
|
||||
</style>
|
@ -0,0 +1,221 @@
|
||||
/**
|
||||
* 汇总查询表格列
|
||||
*/
|
||||
import vm from '@/main';
|
||||
export const headers = [
|
||||
{
|
||||
label: vm.$t('message.Pi_OrderNo'),
|
||||
key: 'prdOrder',
|
||||
width: 250,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.po_DemandQuantity'),
|
||||
key: 'amount', //需求数量
|
||||
width: 255,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_materielNo'),
|
||||
key: 'materialCode', //物料号
|
||||
width: 250,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.CommissionedMaterielDesc'),
|
||||
key: 'materialDesc', //物料描述
|
||||
width: 300,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Summary_ProductionDate'),
|
||||
key: 'requireDate', //生产日期
|
||||
width: 300,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.product_FGCode'),
|
||||
key: 'prodCode', //成品编码
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_FinishedProductModel'),
|
||||
key: 'prodDesc', //成品型号
|
||||
width: 300,
|
||||
},
|
||||
];
|
||||
|
||||
/**
|
||||
* 汇总查询结果表格列
|
||||
*/
|
||||
export const resultHeaders = [
|
||||
{
|
||||
label: vm.$t('message.po_MaterielNo'),
|
||||
key: 'materialCode',
|
||||
width: 220,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.po_DemandQuantity'),
|
||||
key: 'amount',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_CumulativePickingQuantity'),
|
||||
key: 'totalMoAmount',
|
||||
width: 300,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_HandoverQuantity'),
|
||||
key: 'totalHvAmount',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_Station'),
|
||||
key: 'sendSpot',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.po_MaterielDes'),
|
||||
key: 'materialDesc',
|
||||
width: 350,
|
||||
},
|
||||
{
|
||||
label: 'MRP',
|
||||
key: 'mrpCode',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_unit'),
|
||||
key: 'unit',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_OrderNo'),
|
||||
key: 'prdOrder',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_FinishedProductModel'),
|
||||
key: 'proType',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.po_Location'),
|
||||
key: 'wkposCode',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.product_FGCode'),
|
||||
key: 'prodCode', //成品编码
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_FinishedProductModel'),
|
||||
key: 'prodDesc', //成品型号
|
||||
width: 300,
|
||||
},
|
||||
];
|
||||
|
||||
/**
|
||||
* 汇总交接查询结果表格列
|
||||
*/
|
||||
export const summaryHeaders = [
|
||||
{
|
||||
label: vm.$t('message.po_MaterielNo'),
|
||||
key: 'materialCode',
|
||||
width: 220,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Summary_QuantityOfThisHandover'),
|
||||
key: 'hvAmount',
|
||||
},
|
||||
// {
|
||||
// label: vm.$t('message.po_DemandQuantity'),
|
||||
// key: 'amount',
|
||||
// },
|
||||
{
|
||||
label: vm.$t('message.Pi_CumulativePickingQuantity'),
|
||||
key: 'totalMoAmount',
|
||||
width: 300,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_HandoverQuantity'),
|
||||
key: 'totalHvAmount',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.po_DemandQuantity'),
|
||||
key: 'amount',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_Station'),
|
||||
key: 'sendSpot',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.po_MaterielDes'),
|
||||
key: 'materialDesc',
|
||||
width: 350,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_unit'),
|
||||
key: 'unit',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Summary_FinishedProductMaterialNumber'),
|
||||
key: 'prdMaterialCode',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.po_Location'),
|
||||
key: 'wkposCode',
|
||||
},
|
||||
];
|
||||
|
||||
/**
|
||||
* 按单查询结果表格列
|
||||
*/
|
||||
export const orderHeaders = [
|
||||
{
|
||||
label: vm.$t('message.po_MaterielNo'),
|
||||
key: 'materialCode',
|
||||
width: 220,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Summary_QuantityOfThisHandover'),
|
||||
key: 'hvAmount',
|
||||
},
|
||||
// {
|
||||
// label: vm.$t('message.po_DemandQuantity'),
|
||||
// key: 'amount',
|
||||
// },
|
||||
{
|
||||
label: vm.$t('message.Pi_CumulativePickingQuantity'),
|
||||
key: 'totalMoAmount',
|
||||
width: 300,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_HandoverQuantity'),
|
||||
key: 'totalHvAmount',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.po_DemandQuantity'),
|
||||
key: 'amount',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_Station'),
|
||||
key: 'sendSpot',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.po_MaterielDes'),
|
||||
key: 'materialDesc',
|
||||
width: 350,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_unit'),
|
||||
key: 'unit',
|
||||
},
|
||||
{
|
||||
label: 'MRP',
|
||||
key: 'mrpCode',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_OrderNo'),
|
||||
key: 'prdOrder',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.po_Location'),
|
||||
key: 'wkposCode',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.product_FGCode'),
|
||||
key: 'prodCode', //成品编码
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_FinishedProductModel'),
|
||||
key: 'prodDesc', //成品型号
|
||||
width: 300,
|
||||
},
|
||||
];
|
@ -0,0 +1,177 @@
|
||||
<template>
|
||||
<view class="page-receipt-detail">
|
||||
<view class="header">
|
||||
<view class="left">
|
||||
<u-icon class="icon" name="arrow-left" @click="uni.navigateBack({})" />
|
||||
</view>
|
||||
<view class="title">{{ $t('message.Summary_Result') }}</view>
|
||||
<view class="right"></view>
|
||||
</view>
|
||||
<view class="table-wrapper">
|
||||
<wyb-table class="table" ref="table" width="100%" show-left-and-right-border :headers="headers" :contents="model.proOrderResultList" :show-vert-border="false"></wyb-table>
|
||||
</view>
|
||||
<view class="bottom-bar">
|
||||
<div class="container">
|
||||
<u-row>
|
||||
<u-col :span="4">
|
||||
<u-button type="primary" @click="onAggregate">
|
||||
{{ $t('message.Pi_Summary') }}
|
||||
</u-button>
|
||||
</u-col>
|
||||
<u-col :span="4">
|
||||
<u-button type="success" @click="onOrder">
|
||||
{{ $t('message.Pi_ByOrder') }}
|
||||
</u-button>
|
||||
</u-col>
|
||||
<!-- <u-col :span="3">-->
|
||||
<!-- <u-button type="warning"> 辅料 </u-button>-->
|
||||
<!-- </u-col>-->
|
||||
<u-col :span="4">
|
||||
<u-button type="error" @click="uni.navigateBack({})">{{ $t('message.po_Return') }}</u-button>
|
||||
</u-col>
|
||||
</u-row>
|
||||
</div>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { Component } from 'vue-property-decorator';
|
||||
import { BasePage } from '@/components/base/page';
|
||||
import model from './model';
|
||||
import { resultHeaders } from './config';
|
||||
import { session } from '@/store/modules/session';
|
||||
|
||||
@Component
|
||||
export default class AggregatingResult extends BasePage {
|
||||
/**
|
||||
* 页面Module
|
||||
*/
|
||||
model = model;
|
||||
|
||||
/**
|
||||
* 表头
|
||||
*/
|
||||
headers = resultHeaders;
|
||||
|
||||
/**
|
||||
* 汇总
|
||||
*/
|
||||
async onAggregate() {
|
||||
const orderOutIdList = this.model.proOrderResultList.map((_: any) => _.orderOutId);
|
||||
const params = {
|
||||
factoryCode: session.factoryCode,
|
||||
loginName: session.loginName,
|
||||
orderOutIdList,
|
||||
};
|
||||
await this.model.queryAggregateList(params);
|
||||
this.model.orderOutIdListParams = params;
|
||||
this.toPage(this.page.raw.handover.aggregating.summary);
|
||||
}
|
||||
|
||||
/**
|
||||
* 按单
|
||||
*/
|
||||
async onOrder() {
|
||||
const orderOutIdList = await this.model.proOrderResultList.map((_: any) => _.orderOutId);
|
||||
const params = {
|
||||
factoryCode: session.factoryCode,
|
||||
loginName: session.loginName,
|
||||
orderOutIdList,
|
||||
};
|
||||
await this.model.queryOrderList({
|
||||
queryParams: params,
|
||||
proOrderResultList: this.model.proOrderResultList,
|
||||
});
|
||||
this.model.orderOutIdListParams = params;
|
||||
this.toPage(this.page.raw.handover.aggregating.order);
|
||||
}
|
||||
|
||||
/**
|
||||
* 辅料
|
||||
*/
|
||||
async onAccessory() {
|
||||
const orderOutIdList = this.model.proOrderResultList.map((_: any) => _.orderOutId);
|
||||
const params = {
|
||||
factoryCode: session.factoryCode,
|
||||
loginName: session.loginName,
|
||||
orderOutIdList,
|
||||
};
|
||||
await this.model.queryAccessoryList(params);
|
||||
this.toPage(this.page.raw.handover.aggregating.accessory);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.page-receipt-detail {
|
||||
background: #f2f2f2 linear-gradient(0deg, #f2f2f2 0%, #4a78ea 51%, #1753ea 100%) no-repeat;
|
||||
background-size: 100% 600rpx;
|
||||
padding: 30rpx;
|
||||
min-height: 100%;
|
||||
padding-top: 118rpx;
|
||||
padding-bottom: 132rpx;
|
||||
|
||||
.header {
|
||||
position: fixed;
|
||||
top: 36rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
height: 88rpx;
|
||||
line-height: 88rpx;
|
||||
color: #fff;
|
||||
font-size: 34rpx;
|
||||
font-weight: 500;
|
||||
text-align: center;
|
||||
|
||||
.title {
|
||||
flex: 3;
|
||||
}
|
||||
|
||||
.left,
|
||||
.right {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.icon {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 88rpx;
|
||||
height: 88rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.table-wrapper {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.form {
|
||||
background-color: #fff;
|
||||
padding: 40rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
|
||||
.bottom-bar {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 30;
|
||||
|
||||
.container {
|
||||
background: #ffffff;
|
||||
box-shadow: 0 1rpx 20rpx 0 rgba(128, 128, 128, 0.2);
|
||||
padding: 20rpx;
|
||||
}
|
||||
|
||||
.extra {
|
||||
background-color: #fff;
|
||||
margin: 5px;
|
||||
border-radius: 5px;
|
||||
padding: 0 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
@ -0,0 +1,74 @@
|
||||
<template>
|
||||
<view class="page-receipt-detail">
|
||||
<view class="header">
|
||||
<view class="left">
|
||||
<u-icon class="icon" name="arrow-left" @click="uni.navigateBack()" />
|
||||
</view>
|
||||
<view class="title">{{ $t('message.Pi_QueryResults') }}</view>
|
||||
<view class="right"></view>
|
||||
</view>
|
||||
<view class="table-wrapper">
|
||||
<wyb-table class="table" ref="table" width="100%" show-left-and-right-border :headers="headers" :contents="model.detailedList" :show-vert-border="false"></wyb-table>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
<script lang="ts">
|
||||
import { Component } from 'vue-property-decorator';
|
||||
import { BasePage } from '@/components/base/page';
|
||||
import { Headers } from './config';
|
||||
import model from './model';
|
||||
|
||||
@Component
|
||||
export default class RawReceiptDetail extends BasePage {
|
||||
model = model;
|
||||
headers = Headers;
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.page-receipt-detail {
|
||||
background: #f2f2f2 linear-gradient(0deg, #f2f2f2 0%, #4a78ea 51%, #1753ea 100%) no-repeat;
|
||||
background-size: 100% 600rpx;
|
||||
padding: 30rpx;
|
||||
min-height: 100%;
|
||||
padding-top: 118rpx;
|
||||
padding-bottom: 162rpx;
|
||||
|
||||
.header {
|
||||
position: fixed;
|
||||
top: 36rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
height: 88rpx;
|
||||
line-height: 88rpx;
|
||||
color: #fff;
|
||||
font-size: 34rpx;
|
||||
font-weight: 500;
|
||||
text-align: center;
|
||||
.title {
|
||||
flex: 3;
|
||||
}
|
||||
.left,
|
||||
.right {
|
||||
flex: 1;
|
||||
}
|
||||
.icon {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 88rpx;
|
||||
height: 88rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.table-wrapper {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.form {
|
||||
background-color: #fff;
|
||||
padding: 40rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
}
|
||||
</style>
|
@ -0,0 +1,114 @@
|
||||
<template>
|
||||
<view class="page-receipt-detail">
|
||||
<view class="header">
|
||||
<view class="left">
|
||||
<u-icon class="icon" name="arrow-left" @click="uni.navigateBack()" />
|
||||
</view>
|
||||
<view class="title">{{ $t('message.Pi_QueryResults') }}</view>
|
||||
<view class="right"></view>
|
||||
</view>
|
||||
<u-form class="form" ref="form" style="padding-left: 30px" label-width="180rpx">
|
||||
<u-form-item :label="$t('message.Pi_OrderNo')">
|
||||
<u-input v-model="prdOrder" placeholder="" class="Transfer" />
|
||||
<u-button type="primary" style="height: 60rpx; margin-left: 20rpx" @click="generate">{{ $t('message.Query') }}</u-button>
|
||||
</u-form-item>
|
||||
</u-form>
|
||||
<view class="table-wrapper">
|
||||
<wyb-table class="table" ref="table" width="100%" show-left-and-right-border :headers="headers" :contents="detailedList" :show-vert-border="false"></wyb-table>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
<script lang="ts">
|
||||
import { Component } from 'vue-property-decorator';
|
||||
import { BasePage } from '@/components/base/page';
|
||||
import { Headers } from './config';
|
||||
import model from './model';
|
||||
|
||||
@Component
|
||||
export default class RawReceiptDetail extends BasePage {
|
||||
model = model;
|
||||
headers = Headers;
|
||||
prdOrder: any = '';
|
||||
detailedList: any = [];
|
||||
onShow() {
|
||||
model.detailedList = [];
|
||||
}
|
||||
async generate() {
|
||||
if (this.prdOrder == '') {
|
||||
this.customToast(this.$t('message._tips6') as any);
|
||||
return;
|
||||
}
|
||||
let person = JSON.parse(uni.getStorageSync('__GWMS_APP_STATE_DATA__') as any);
|
||||
let content = {
|
||||
loginName: person.session.user.loginName,
|
||||
prdOrder: this.prdOrder,
|
||||
};
|
||||
await this.model.querydetaildlist(content);
|
||||
this.detailedList = this.model.detailedList;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.page-receipt-detail {
|
||||
background: #f2f2f2 linear-gradient(0deg, #f2f2f2 0%, #4a78ea 51%, #1753ea 100%) no-repeat;
|
||||
background-size: 100% 600rpx;
|
||||
padding: 30rpx;
|
||||
min-height: 100%;
|
||||
padding-top: 118rpx;
|
||||
padding-bottom: 162rpx;
|
||||
|
||||
.header {
|
||||
position: fixed;
|
||||
top: 36rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
height: 88rpx;
|
||||
line-height: 88rpx;
|
||||
color: #fff;
|
||||
font-size: 34rpx;
|
||||
font-weight: 500;
|
||||
text-align: center;
|
||||
.title {
|
||||
flex: 3;
|
||||
}
|
||||
.left,
|
||||
.right {
|
||||
flex: 1;
|
||||
}
|
||||
.icon {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 88rpx;
|
||||
height: 88rpx;
|
||||
}
|
||||
}
|
||||
.form {
|
||||
background-color: #fff;
|
||||
// padding: 40rpx;
|
||||
border-radius: 10rpx;
|
||||
box-shadow: 0 0 20rpx 0 rgba(128, 128, 128, 0.2);
|
||||
|
||||
.u-form-item {
|
||||
// padding: 30rpx 0;
|
||||
line-height: 35rpx;
|
||||
.Transfer {
|
||||
width: 180rpx;
|
||||
height: 64rpx;
|
||||
background: rgb(242, 242, 242);
|
||||
border-radius: 110rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.table-wrapper {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.form {
|
||||
background-color: #fff;
|
||||
// padding: 40rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
}
|
||||
</style>
|
@ -0,0 +1,287 @@
|
||||
/**
|
||||
* 拣配查询表格列
|
||||
*/
|
||||
import vm from '@/main';
|
||||
export const headers = [
|
||||
{
|
||||
label: vm.$t('message.Pi_OrderNo'),
|
||||
key: 'prdOrder', //订单号
|
||||
width: 250,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.po_DemandQuantity'),
|
||||
key: 'amount', //需求数量
|
||||
width: 255,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_materielNo'),
|
||||
key: 'materialCode', //物料号
|
||||
width: 250,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.CommissionedMaterielDesc'),
|
||||
key: 'materialDesc', //物料描述
|
||||
width: 300,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Summary_ProductionDate'),
|
||||
key: 'requireDate', //生产日期
|
||||
width: 300,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.product_FGCode'),
|
||||
key: 'prodCode', //成品编码
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_FinishedProductModel'),
|
||||
key: 'prodDesc', //成品型号
|
||||
width: 300,
|
||||
},
|
||||
];
|
||||
|
||||
/**
|
||||
* 拣配查询结果表格列
|
||||
*/
|
||||
export const resultHeaders = [
|
||||
{
|
||||
label: vm.$t('message.po_MaterielNo'),
|
||||
key: 'materialCode',
|
||||
width: 220,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.po_DemandQuantity'),
|
||||
key: 'amount',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_CumulativePickingQuantity'),
|
||||
key: 'totalMoAmount',
|
||||
width: 300,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_HandoverQuantity'),
|
||||
key: 'totalHvAmount',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_factory'),
|
||||
key: 'sapFactoryCode',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_Station'),
|
||||
key: 'sendSpot',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.po_MaterielDes'),
|
||||
key: 'materialDesc',
|
||||
width: 350,
|
||||
},
|
||||
{
|
||||
label: 'MRP',
|
||||
key: 'mrpCode',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_unit'),
|
||||
key: 'unit',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_OrderNo'),
|
||||
key: 'prdOrder',
|
||||
},
|
||||
// {
|
||||
// label: vm.$t('message.Pi_FinishedProductModel'),
|
||||
// key: 'prdMaterialDesc',
|
||||
// width: 300,
|
||||
// },
|
||||
{
|
||||
label: vm.$t('message.po_Location'),
|
||||
key: 'wkposCode',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.product_FGCode'),
|
||||
key: 'prodCode', //成品编码
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_FinishedProductModel'),
|
||||
key: 'prodDesc', //成品型号
|
||||
width: 300,
|
||||
},
|
||||
];
|
||||
|
||||
/**
|
||||
* 汇总拣配表格列
|
||||
*/
|
||||
export const summaryHeaders = [
|
||||
{
|
||||
label: vm.$t('message.po_MaterielNo'),
|
||||
key: 'materialCode',
|
||||
width: 220,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.po_DemandQuantity'),
|
||||
key: 'amount',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.shortage'),
|
||||
key: 'differences',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_CurrentPickingQuantity'),
|
||||
key: 'currentAmount',
|
||||
width: 300,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_PickedQuantity'),
|
||||
key: 'totalMoAmount',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_QuantityHandedOver'),
|
||||
key: 'totalHvAmount',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.po_Location'),
|
||||
// key: 'currentWkposCode',
|
||||
key: 'wkposCode',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.po_MaterielDes'),
|
||||
key: 'materialDesc',
|
||||
width: 350,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_unit'),
|
||||
key: 'unit',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.target'),
|
||||
key: 'sendSpot',
|
||||
// width: 300,
|
||||
},
|
||||
// {
|
||||
// label: '工位',
|
||||
// key: 'sendSpot',
|
||||
// },
|
||||
// {
|
||||
// label: '工厂',
|
||||
// key: 'sapFactoryCode',
|
||||
// },
|
||||
];
|
||||
|
||||
/**
|
||||
* 按单拣配表格列
|
||||
*/
|
||||
export const orderHeaders = [
|
||||
{
|
||||
label: vm.$t('message.po_MaterielNo'),
|
||||
key: 'materialCode',
|
||||
width: 220,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.po_DemandQuantity'),
|
||||
key: 'amount',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.shortage'),
|
||||
key: 'differences',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_CurrentPickingQuantity'),
|
||||
key: 'currentAmount',
|
||||
width: 300,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_PickedQuantity'),
|
||||
key: 'totalMoAmount',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_QuantityHandedOver'),
|
||||
key: 'totalHvAmount',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.target'),
|
||||
// key: 'currentWkposCode',
|
||||
//key: 'wkposCode',
|
||||
key: 'sendSpot',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.po_MaterielDes'),
|
||||
key: 'materialDesc',
|
||||
width: 350,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_unit'),
|
||||
key: 'unit',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_FinishedProductModel'),
|
||||
key: 'prdMaterialDesc',
|
||||
width: 300,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_factory'),
|
||||
key: 'sapFactoryCode',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_Station'),
|
||||
//key: 'sendSpot',
|
||||
key: 'wkposCode',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_OrderNo'),
|
||||
key: 'prdOrder',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.product_FGCode'),
|
||||
key: 'prodCode', //成品编码
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_FinishedProductModel'),
|
||||
key: 'prodDesc', //成品型号
|
||||
width: 300,
|
||||
},
|
||||
];
|
||||
|
||||
export const Headers = [
|
||||
{
|
||||
label: vm.$t('message.po_MaterielNo'),
|
||||
key: 'materialCode',
|
||||
width: 220,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.po_DemandQuantity'),
|
||||
key: 'amount',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_CurrentPickingQuantity'),
|
||||
key: 'operatorAmount', //本次拣配数量
|
||||
width: 300,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.po_Location'),
|
||||
// key: 'currentWkposCode',
|
||||
key: 'originLocation',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.po_MaterielDes'),
|
||||
key: 'materialDesc',
|
||||
width: 350,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_unit'),
|
||||
key: 'unit',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_factory'),
|
||||
key: 'sapFactoryCode',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_Station'),
|
||||
key: 'sendSpot',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.Pi_OrderNo'),
|
||||
key: 'prdOrder',
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.CommissionedLocation'),
|
||||
key: 'wlCode',
|
||||
},
|
||||
];
|
@ -0,0 +1,356 @@
|
||||
<template>
|
||||
<view class="page-receipt-detail">
|
||||
<view class="header">
|
||||
<view class="left">
|
||||
<u-icon class="icon" name="arrow-left" @click="uni.navigateBack()" />
|
||||
</view>
|
||||
<view class="title">{{ $t('message.product_Location') }}</view>
|
||||
<view class="right"></view>
|
||||
</view>
|
||||
<div class="content">
|
||||
<div class="content-item">
|
||||
<div class="item-left">{{ $t('message.po_MaterielNo') }}</div>
|
||||
<div class="item-right">{{ material.materialCode }}</div>
|
||||
</div>
|
||||
<div class="content-item">
|
||||
<div class="item-left">{{ $t('message.po_MaterielDes') }}</div>
|
||||
<div class="item-right">{{ material.materialDesc }}</div>
|
||||
</div>
|
||||
<div class="content-item">
|
||||
<div class="item-left">{{ $t('message.po_DemandQuantity') }}</div>
|
||||
<div class="item-right">{{ material.amount }}</div>
|
||||
</div>
|
||||
<div class="content-item">
|
||||
<div class="item-left">{{ $t('message.po_ActualQuantity') }}</div>
|
||||
<div class="item-right">{{ material.currentAmount }}</div>
|
||||
</div>
|
||||
<div class="content-item">
|
||||
<div class="item-left">{{ $t('message.po_Location') }}</div>
|
||||
<div class="item-right">{{ material.location }}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="library">
|
||||
<div class="title">{{ $t('message.product_Location') }}:</div>
|
||||
<jPicker sureColor="#ff0000" @bindpicker="bookTypeChange" showKey="value" valKey="value" :val="wlCode" class="search" :options="list" />
|
||||
</div>
|
||||
<div class="library-num">
|
||||
<div class="title">{{ $t('message.dn_Number') }}:</div>
|
||||
<input type="text" placeholder="请输入数量" v-model="number" />
|
||||
<u-button type="primary" size="medium" class="confirm" @click="confirm">{{ $t('message.product_add') }}</u-button>
|
||||
</div>
|
||||
<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.operation') }}</u-th>
|
||||
</u-tr>
|
||||
<u-tr class="u-tr" v-for="(item, index) in LocationList" :key="index">
|
||||
<u-td class="u-td">{{ item.value.value }}</u-td>
|
||||
<u-td class="u-td">{{ item.num }}</u-td>
|
||||
<u-td class="u-td">
|
||||
<div class="u-td" @click="deleteItem(index)">
|
||||
{{ $t('message.product_Delete') }}
|
||||
</div>
|
||||
</u-td>
|
||||
</u-tr>
|
||||
</u-table>
|
||||
<view class="bottom-bar">
|
||||
<div class="extra">
|
||||
<u-row class="bottom-info">
|
||||
<u-button type="primary" class="main" @click="Reservoir">{{ $t('message.product_Confirm') }}</u-button>
|
||||
<u-col :span="2" v-if="factoryCode == '6662'"> { {$t('message.product_Location')}} </u-col>
|
||||
</u-row>
|
||||
</div>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { Component } from 'vue-property-decorator';
|
||||
import { BasePage } from '@/components/base/page';
|
||||
import model from './model';
|
||||
import { headers } from './config';
|
||||
import jPicker from '@/components/J-Picker/jPicker.vue';
|
||||
import { session } from '@/store/modules/session';
|
||||
import combox from '@/components/J-Picker/jPicker.vue';
|
||||
// @Component
|
||||
@Component({
|
||||
components: {
|
||||
jPicker,
|
||||
combox,
|
||||
},
|
||||
})
|
||||
export default class RawReceiptDetail extends BasePage {
|
||||
model = model;
|
||||
factoryCode = session.factoryCode;
|
||||
locationCode = '';
|
||||
number = '';
|
||||
wlCode: any = '';
|
||||
material: any = {};
|
||||
list: any = [];
|
||||
LocationList: any = [];
|
||||
documentNo: any = '';
|
||||
headers = headers;
|
||||
async onReady() {
|
||||
let content = {
|
||||
loginName: session.loginName,
|
||||
sendSpot: null,
|
||||
factoryCode: session.factoryCode,
|
||||
workArea: session.workareaCode,
|
||||
};
|
||||
let res: any = await this.model.queryByFactoryCodeAndWorkAreaCode(content);
|
||||
res.forEach((item: any) => {
|
||||
let pickerName: any = {};
|
||||
pickerName.label = item.locationCode;
|
||||
pickerName.value = item.locationCode + '(' + item.sendSpot + ')';
|
||||
pickerName.sendSpot = item.sendSpot;
|
||||
this.list.push(pickerName);
|
||||
});
|
||||
let ant: any = uni.getStorageSync('mater');
|
||||
this.material = JSON.parse(ant);
|
||||
console.log('this.material', this.material);
|
||||
this.number = this.material.amount;
|
||||
uni.removeStorageSync('mater');
|
||||
if ('wlList' in this.material) {
|
||||
this.material.wlList.forEach((item: any) => {
|
||||
let arr: any = {
|
||||
value: item.wlCode,
|
||||
};
|
||||
let obj: any = {
|
||||
value: arr,
|
||||
num: item.qty,
|
||||
};
|
||||
this.LocationList.push(obj as never);
|
||||
});
|
||||
}
|
||||
}
|
||||
confirm() {
|
||||
if (this.wlCode == '' || this.number == '') {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '请输入正确的库位和数量',
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (parseFloat(this.number) <= 0) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '请输入正确的库位和数量',
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (this.LocationList.length != 0) {
|
||||
this.LocationList.forEach((item: any) => {
|
||||
if (item.value.sendSpot != this.wlCode.sendSpot) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '请重新选择库位',
|
||||
});
|
||||
return;
|
||||
}
|
||||
});
|
||||
let num = 0;
|
||||
this.LocationList.forEach((item: any) => {
|
||||
num += parseFloat(item.num);
|
||||
});
|
||||
num += parseFloat(this.number);
|
||||
if (num > parseFloat(this.material.amount)) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '实际数量不能大于需求数量',
|
||||
});
|
||||
return;
|
||||
}
|
||||
let arr: any = {
|
||||
value: this.wlCode,
|
||||
num: this.number,
|
||||
};
|
||||
this.LocationList.push(arr as never);
|
||||
this.material.currentAmount = num;
|
||||
this.number = '';
|
||||
return;
|
||||
}
|
||||
if (this.LocationList.length == 0) {
|
||||
if (this.number > this.material.amount) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '实际数量不能大于需求数量',
|
||||
});
|
||||
return;
|
||||
}
|
||||
let arr: any = {
|
||||
value: this.wlCode,
|
||||
num: this.number,
|
||||
};
|
||||
this.LocationList.push(arr as never);
|
||||
this.material.currentAmount = this.number;
|
||||
this.number = '';
|
||||
return;
|
||||
}
|
||||
}
|
||||
deleteItem(index: any) {
|
||||
this.LocationList.splice(index, 1);
|
||||
}
|
||||
bookTypeChange(e: any) {
|
||||
this.wlCode = e.pickerName;
|
||||
}
|
||||
Reservoir() {
|
||||
let wlList: Array<string> = [];
|
||||
let currentAmount = 0;
|
||||
this.LocationList.forEach((item: any) => {
|
||||
let objString = JSON.stringify(this.material);
|
||||
let TEM = JSON.parse(objString);
|
||||
TEM.wlCode = item.value.label;
|
||||
TEM.qty = item.num;
|
||||
wlList.push(TEM);
|
||||
let pras = parseInt(item.num);
|
||||
currentAmount += pras;
|
||||
});
|
||||
this.material.wlList = wlList;
|
||||
this.material.currentAmount = currentAmount;
|
||||
uni.setStorageSync('material', JSON.stringify(this.material));
|
||||
this.redirectTo(this.page.raw.handover.picking.order);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.page-receipt-detail {
|
||||
background: #f2f2f2 linear-gradient(0deg, #f2f2f2 0%, #4a78ea 51%, #1753ea 100%) no-repeat;
|
||||
background-size: 100% 600rpx;
|
||||
padding: 30rpx;
|
||||
min-height: 100%;
|
||||
padding-top: 118rpx;
|
||||
|
||||
.header {
|
||||
position: fixed;
|
||||
top: 36rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
height: 88rpx;
|
||||
line-height: 88rpx;
|
||||
color: #fff;
|
||||
font-size: 34rpx;
|
||||
font-weight: 500;
|
||||
text-align: center;
|
||||
.title {
|
||||
flex: 3;
|
||||
}
|
||||
.left,
|
||||
.right {
|
||||
flex: 1;
|
||||
}
|
||||
.icon {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 88rpx;
|
||||
height: 88rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.content {
|
||||
width: 100%;
|
||||
height: 500rpx;
|
||||
|
||||
.content-item {
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
display: flex;
|
||||
text-align: center;
|
||||
line-height: 100rpx;
|
||||
background-color: white;
|
||||
.item-left {
|
||||
width: 30%;
|
||||
}
|
||||
.item-right {
|
||||
width: 70%;
|
||||
}
|
||||
}
|
||||
}
|
||||
.library {
|
||||
height: 60rpx;
|
||||
position: relative;
|
||||
padding-bottom: 10rpx;
|
||||
.search {
|
||||
position: absolute;
|
||||
width: 80%;
|
||||
right: 38rpx;
|
||||
top: 15rpx;
|
||||
height: 60rpx;
|
||||
background-color: white;
|
||||
}
|
||||
.title {
|
||||
width: 20%;
|
||||
height: 100%;
|
||||
text-align: left;
|
||||
position: absolute;
|
||||
line-height: 50rpx;
|
||||
top: 15rpx;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
.library-num {
|
||||
position: relative;
|
||||
margin-top: 15rpx;
|
||||
.title {
|
||||
width: 100rpx;
|
||||
height: 100%;
|
||||
line-height: 50rpx;
|
||||
}
|
||||
input {
|
||||
display: block;
|
||||
width: 40%;
|
||||
padding: 10rpx;
|
||||
position: absolute;
|
||||
left: 100rpx;
|
||||
top: 0;
|
||||
background-color: white;
|
||||
}
|
||||
.confirm {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 20rpx;
|
||||
margin-left: 30rpx;
|
||||
}
|
||||
}
|
||||
.library-table {
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
|
||||
.table-wrapper {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.form {
|
||||
background-color: #fff;
|
||||
padding: 40rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
|
||||
.bottom-bar {
|
||||
z-index: 21;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
|
||||
.container {
|
||||
background: #ffffff;
|
||||
box-shadow: 0 1rpx 20rpx 0 rgba(128, 128, 128, 0.2);
|
||||
padding: 20rpx;
|
||||
}
|
||||
|
||||
.extra {
|
||||
margin: 5px;
|
||||
border-radius: 5px;
|
||||
padding: 0 10px;
|
||||
|
||||
.main {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
@ -0,0 +1,208 @@
|
||||
<template>
|
||||
<view class="page-receipt-detail">
|
||||
<view class="header">
|
||||
<view class="left">
|
||||
<u-icon class="icon" name="arrow-left" @click="uni.navigateBack()" />
|
||||
</view>
|
||||
<view class="title"> {{ $t('message.Inventory_query') }}</view>
|
||||
<view class="right"></view>
|
||||
</view>
|
||||
<div class="library-num">
|
||||
<div class="label">
|
||||
<div class="title">{{ $t('message.po_MaterielNo') }}</div>
|
||||
<input type="text" placeholder="请输入" v-model="params.materialCode" />
|
||||
</div>
|
||||
<div class="label">
|
||||
<div class="title">{{ $t('message.product_Location') }}</div>
|
||||
<input type="text" placeholder="请输入" v-model="params.wlCode" />
|
||||
</div>
|
||||
</div>
|
||||
<u-table class="library-table">
|
||||
<u-tr class="u-tr">
|
||||
<u-th class="u-th">{{ $t('message.po_MaterielNo') }}</u-th>
|
||||
<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.product_Unit') }}</u-th>
|
||||
</u-tr>
|
||||
<u-tr class="u-tr" v-for="(item, index) in LocationList" :key="index">
|
||||
<u-td class="u-td" style="width: 40%">{{ item.materialCode }}</u-td>
|
||||
<u-td class="u-td" style="width: 20%">{{ item.wlCode }}</u-td>
|
||||
<u-td class="u-td" style="width: 20%">{{ item.amount }}</u-td>
|
||||
<u-td class="u-td" style="width: 20%">{{ item.userDefined1 }}</u-td>
|
||||
</u-tr>
|
||||
</u-table>
|
||||
<view class="bottom-bar">
|
||||
<div class="extra"></div>
|
||||
<div class="container">
|
||||
<u-row>
|
||||
<u-col :span="3">
|
||||
<u-button type="primary" size="medium" class="confirm" @click="confirm">{{ $t('message.Summary_Result') }}</u-button>
|
||||
</u-col>
|
||||
</u-row>
|
||||
</div>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { Component } from 'vue-property-decorator';
|
||||
import { BasePage } from '@/components/base/page';
|
||||
import model from './model';
|
||||
import { headers } from './config';
|
||||
import jPicker from '@/components/J-Picker/jPicker.vue';
|
||||
import combox from '@/components/J-Picker/jPicker.vue';
|
||||
// @Component
|
||||
@Component({
|
||||
components: {
|
||||
jPicker,
|
||||
combox,
|
||||
},
|
||||
})
|
||||
export default class RawReceiptDetail extends BasePage {
|
||||
/**
|
||||
* 页面Module
|
||||
*/
|
||||
model = model;
|
||||
/**
|
||||
* 实际数量
|
||||
*/
|
||||
LocationList = [];
|
||||
params: any = {
|
||||
wlCode: '',
|
||||
materialCode: '',
|
||||
};
|
||||
/**
|
||||
* 表头
|
||||
*/
|
||||
headers = headers;
|
||||
onReady() {
|
||||
let mater: any = JSON.parse(uni.getStorageSync('mater') as any);
|
||||
this.params.materialCode = mater.materialCode;
|
||||
console.log(this.params);
|
||||
}
|
||||
async confirm() {
|
||||
let res = await this.model.queryStockList({
|
||||
loginName: '6668',
|
||||
});
|
||||
this.LocationList = res.data.records;
|
||||
console.log('LocationList>', this.LocationList);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.page-receipt-detail {
|
||||
background: #f2f2f2 linear-gradient(0deg, #f2f2f2 0%, #4a78ea 51%, #1753ea 100%) no-repeat;
|
||||
background-size: 100% 600rpx;
|
||||
padding: 30rpx;
|
||||
min-height: 100%;
|
||||
padding-top: 118rpx;
|
||||
|
||||
.header {
|
||||
position: fixed;
|
||||
top: 36rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
height: 88rpx;
|
||||
line-height: 88rpx;
|
||||
color: #fff;
|
||||
font-size: 34rpx;
|
||||
font-weight: 500;
|
||||
text-align: center;
|
||||
.title {
|
||||
flex: 3;
|
||||
}
|
||||
.left,
|
||||
.right {
|
||||
flex: 1;
|
||||
}
|
||||
.icon {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 88rpx;
|
||||
height: 88rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.content {
|
||||
width: 100%;
|
||||
height: 500rpx;
|
||||
|
||||
.content-item {
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
display: flex;
|
||||
text-align: center;
|
||||
line-height: 100rpx;
|
||||
background-color: white;
|
||||
.item-left {
|
||||
width: 30%;
|
||||
}
|
||||
.item-right {
|
||||
width: 70%;
|
||||
}
|
||||
}
|
||||
}
|
||||
.library-num {
|
||||
.label {
|
||||
margin-top: 20rpx;
|
||||
display: flex;
|
||||
.title {
|
||||
width: 100rpx;
|
||||
height: 60rpx;
|
||||
text-align: center;
|
||||
line-height: 60rpx;
|
||||
margin-left: 100rpx;
|
||||
}
|
||||
input {
|
||||
display: block;
|
||||
width: 50%;
|
||||
padding: 10rpx;
|
||||
background-color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
.library-table {
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
|
||||
.table-wrapper {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.form {
|
||||
background-color: #fff;
|
||||
padding: 40rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
|
||||
.bottom-bar {
|
||||
z-index: 21;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
|
||||
.container {
|
||||
background: #ffffff;
|
||||
box-shadow: 0 1rpx 20rpx 0 rgba(128, 128, 128, 0.2);
|
||||
padding: 20rpx;
|
||||
height: 60rpx;
|
||||
position: relative;
|
||||
.confirm {
|
||||
position: absolute;
|
||||
top: 15rpx;
|
||||
right: 0rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.extra {
|
||||
margin: 5px;
|
||||
border-radius: 5px;
|
||||
padding: 0 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
@ -0,0 +1,142 @@
|
||||
<template>
|
||||
<view class="page-receipt-detail">
|
||||
<view class="header">
|
||||
<view class="left">
|
||||
<u-icon class="icon" name="arrow-left" @click="uni.navigateBack()" />
|
||||
</view>
|
||||
<view class="title">{{ $t('message.Pi_QueryResults') }}</view>
|
||||
<view class="right"></view>
|
||||
</view>
|
||||
<!-- 表格数据 -->
|
||||
<view class="table-wrapper">
|
||||
<wyb-table class="table" ref="table" width="100%" show-left-and-right-border :headers="headers" :contents="model.proOrderResultList" :show-vert-border="false"></wyb-table>
|
||||
</view>
|
||||
<view class="bottom-bar">
|
||||
<div class="container">
|
||||
<u-row>
|
||||
<!-- 汇总 -->
|
||||
<u-col :span="4">
|
||||
<u-button type="primary" @click="onAggregate">
|
||||
{{ $t('message.Pi_Summary') }}
|
||||
</u-button>
|
||||
</u-col>
|
||||
<!-- 按单 -->
|
||||
<u-col :span="4">
|
||||
<u-button type="success" @click="onOrder">
|
||||
{{ $t('message.Pi_ByOrder') }}
|
||||
</u-button>
|
||||
</u-col>
|
||||
<!-- 返回 -->
|
||||
<u-col :span="4">
|
||||
<u-button type="error" @click="uni.navigateBack()">{{ $t('message.po_Return') }}</u-button>
|
||||
</u-col>
|
||||
</u-row>
|
||||
</div>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
<script lang="ts">
|
||||
import { Component } from 'vue-property-decorator';
|
||||
import { BasePage } from '@/components/base/page';
|
||||
import model from './model';
|
||||
import { resultHeaders } from './config';
|
||||
@Component
|
||||
export default class RawReceiptDetail extends BasePage {
|
||||
model = model;
|
||||
//表格头部
|
||||
headers = resultHeaders;
|
||||
index() {
|
||||
this.toPage(this.page.raw.handover.picking.index);
|
||||
}
|
||||
//按单
|
||||
async onOrder() {
|
||||
// const list = this.model.proOrderResultList;
|
||||
// await this.model.lockProOrderResult(list);
|
||||
// await this.model.lock(this.model.proOrderResultList);
|
||||
this.toPage(this.page.raw.handover.picking.byorder);
|
||||
}
|
||||
//汇总
|
||||
async onAggregate() {
|
||||
// const orderOutIdList = this.model.proOrderResultList.map((_: any) => _.orderOutId);
|
||||
// const params = {
|
||||
// factoryCode: session.factoryCode,
|
||||
// loginName: session.loginName,
|
||||
// orderOutIdList,
|
||||
// };
|
||||
// await this.model.queryAggregateList(params);
|
||||
// if (this.model.aggregateList.length === 0) {
|
||||
// return;
|
||||
// }
|
||||
this.toPage(this.page.raw.handover.picking.bysummary);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.page-receipt-detail {
|
||||
background: #f2f2f2 linear-gradient(0deg, #f2f2f2 0%, #4a78ea 51%, #1b45b1 100%) no-repeat;
|
||||
background-size: 100% 600rpx;
|
||||
padding: 30rpx;
|
||||
min-height: 100%;
|
||||
padding-top: 118rpx;
|
||||
padding-bottom: 162rpx;
|
||||
|
||||
.header {
|
||||
position: fixed;
|
||||
top: 36rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
height: 88rpx;
|
||||
line-height: 88rpx;
|
||||
color: #fff;
|
||||
font-size: 34rpx;
|
||||
font-weight: 500;
|
||||
text-align: center;
|
||||
.title {
|
||||
flex: 3;
|
||||
}
|
||||
.left,
|
||||
.right {
|
||||
flex: 1;
|
||||
}
|
||||
.icon {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 88rpx;
|
||||
height: 88rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.table-wrapper {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.form {
|
||||
background-color: #fff;
|
||||
padding: 40rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
|
||||
.bottom-bar {
|
||||
z-index: 21;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
|
||||
.container {
|
||||
background: #ffffff;
|
||||
box-shadow: 0 1rpx 20rpx 0 rgba(128, 128, 128, 0.2);
|
||||
padding: 20rpx;
|
||||
}
|
||||
|
||||
.extra {
|
||||
background-color: #fff;
|
||||
margin: 5px;
|
||||
border-radius: 5px;
|
||||
padding: 0 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
@ -0,0 +1,369 @@
|
||||
<template>
|
||||
<view class="page-receipt-detail">
|
||||
<view class="header">
|
||||
<view class="left">
|
||||
<u-icon class="icon" name="arrow-left" @click="uni.navigateBack()" />
|
||||
</view>
|
||||
<view class="title">{{ $t('message.product_Location') }}</view>
|
||||
<view class="right"></view>
|
||||
</view>
|
||||
<div class="content">
|
||||
<div class="content-item">
|
||||
<div class="item-left">{{ $t('message.po_MaterielNo') }}</div>
|
||||
<div class="item-right">{{ this.material.materialCode }}</div>
|
||||
</div>
|
||||
<div class="content-item">
|
||||
<div class="item-left">{{ $t('message.po_MaterielDes') }}</div>
|
||||
<div class="item-right">{{ this.material.materialDesc }}</div>
|
||||
</div>
|
||||
<div class="content-item">
|
||||
<div class="item-left">{{ $t('message.po_DemandQuantity') }}</div>
|
||||
<div class="item-right">{{ this.material.requestAmount }}</div>
|
||||
</div>
|
||||
<div class="content-item">
|
||||
<div class="item-left">{{ $t('message.po_ActualQuantity') }}</div>
|
||||
<div class="item-right">{{ this.material.receiptAmount }}</div>
|
||||
</div>
|
||||
<div class="content-item">
|
||||
<div class="item-left">{{ $t('message.po_Location') }}</div>
|
||||
<div class="item-right">{{ this.material.location }}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="library">
|
||||
<div class="title">{{ $t('message.product_Location') }}:</div>
|
||||
<jPicker sureColor="#ff0000" @bindpicker="bookTypeChange" showKey="value" valKey="value" :val="wlCode" class="search" :options="list" />
|
||||
</div>
|
||||
<div class="library-num">
|
||||
<div class="title">{{ $t('message.dn_Number') }}:</div>
|
||||
<input type="text" placeholder="请输入数量" v-model="number" />
|
||||
<u-button type="primary" size="medium" class="confirm" @click="confirm">{{ $t('message.product_add') }}</u-button>
|
||||
</div>
|
||||
<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.operation') }}</u-th>
|
||||
</u-tr>
|
||||
<u-tr class="u-tr" v-for="(item, index) in LocationList" :key="index">
|
||||
<u-td class="u-td">{{ item.value.value }}</u-td>
|
||||
<u-td class="u-td">{{ item.num }}</u-td>
|
||||
<u-td class="u-td">
|
||||
<div class="u-td" @click="deleteItem(index)">
|
||||
{{ $t('message.product_Delete') }}
|
||||
</div>
|
||||
</u-td>
|
||||
</u-tr>
|
||||
</u-table>
|
||||
<view class="bottom-bar">
|
||||
<div class="extra">
|
||||
<u-row class="bottom-info">
|
||||
<u-button type="primary" class="main" @click="Reservoir">{{ $t('message.product_Confirm') }}</u-button>
|
||||
<u-col :span="2" v-if="factoryCode == '6662'"> { {$t('message.product_Location')}} </u-col>
|
||||
</u-row>
|
||||
</div>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { Component } from 'vue-property-decorator';
|
||||
import { BasePage } from '@/components/base/page';
|
||||
import model from './model';
|
||||
import { headers } from './config';
|
||||
import jPicker from '@/components/J-Picker/jPicker.vue';
|
||||
import { session } from '@/store/modules/session';
|
||||
import combox from '@/components/J-Picker/jPicker.vue';
|
||||
// @Component
|
||||
@Component({
|
||||
components: {
|
||||
jPicker,
|
||||
combox,
|
||||
},
|
||||
})
|
||||
export default class RawReceiptDetail extends BasePage {
|
||||
/**
|
||||
* 页面Module
|
||||
*/
|
||||
model = model;
|
||||
factoryCode = session.factoryCode;
|
||||
locationCode = '';
|
||||
candidates = ['库位1', '库位2', '库位3'];
|
||||
/**
|
||||
* 实际数量
|
||||
*/
|
||||
number = '';
|
||||
wlCode: any = '';
|
||||
material: any = {};
|
||||
list: any = [];
|
||||
LocationList: any = [];
|
||||
documentNo = '';
|
||||
/**
|
||||
* 表头
|
||||
*/
|
||||
headers = headers;
|
||||
async onReady() {
|
||||
// let means: any = JSON.parse(uni.getStorageSync('__GWMS_APP_STATE_DATA__') as any);
|
||||
let content = {
|
||||
loginName: session.loginName,
|
||||
sendSpot: null,
|
||||
factoryCode: session.factoryCode,
|
||||
workArea: session.workareaCode,
|
||||
};
|
||||
let res: any = await this.model.queryByFactoryCodeAndWorkAreaCode(content);
|
||||
res.forEach((item: any) => {
|
||||
let pickerName: any = {};
|
||||
pickerName.label = item.locationCode;
|
||||
pickerName.value = item.locationCode + '(' + item.sendSpot + ')';
|
||||
pickerName.sendSpot = item.sendSpot;
|
||||
this.list.push(pickerName);
|
||||
});
|
||||
let ant: any = uni.getStorageSync('mater');
|
||||
this.material = JSON.parse(ant);
|
||||
console.log('this.material', this.material);
|
||||
this.number = this.material.amount;
|
||||
uni.removeStorageSync('mater');
|
||||
if ('wlList' in this.material) {
|
||||
this.material.wlList.forEach((item: any) => {
|
||||
let arr: any = {
|
||||
value: item.wlCode,
|
||||
};
|
||||
let obj: any = {
|
||||
value: arr,
|
||||
num: item.qty,
|
||||
};
|
||||
this.LocationList.push(obj as never);
|
||||
});
|
||||
}
|
||||
}
|
||||
confirm() {
|
||||
if (this.wlCode == '' || this.number == '') {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '请输入正确的库位和数量',
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (parseFloat(this.number) <= 0) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '请输入正确的库位和数量',
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (this.LocationList.length != 0) {
|
||||
this.LocationList.forEach((item: any) => {
|
||||
if (item.value.sendSpot != this.wlCode.sendSpot) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '请重新选择库位',
|
||||
});
|
||||
return;
|
||||
}
|
||||
});
|
||||
let num = 0;
|
||||
this.LocationList.forEach((item: any) => {
|
||||
num += parseFloat(item.num);
|
||||
});
|
||||
num += parseFloat(this.number);
|
||||
// if (num > parseFloat(this.material.amount)) {
|
||||
// uni.showToast({
|
||||
// icon: "none",
|
||||
// title: "实际数量不能大于需求数量",
|
||||
// });
|
||||
// return;
|
||||
// }
|
||||
let arr: any = {
|
||||
value: this.wlCode,
|
||||
num: this.number,
|
||||
};
|
||||
this.LocationList.push(arr as never);
|
||||
this.material.currentAmount = num;
|
||||
this.number = '';
|
||||
return;
|
||||
}
|
||||
if (this.LocationList.length == 0) {
|
||||
// if (this.number > this.material.amount) {
|
||||
// uni.showToast({
|
||||
// icon: "none",
|
||||
// title: "实际数量不能大于需求数量",
|
||||
// });
|
||||
// return;
|
||||
// }
|
||||
let arr: any = {
|
||||
value: this.wlCode,
|
||||
num: this.number,
|
||||
};
|
||||
this.LocationList.push(arr as never);
|
||||
this.material.currentAmount = this.number;
|
||||
this.number = '';
|
||||
return;
|
||||
}
|
||||
}
|
||||
deleteItem(index: any) {
|
||||
this.LocationList.splice(index, 1);
|
||||
}
|
||||
bookTypeChange(e: any) {
|
||||
this.wlCode = e.pickerName;
|
||||
}
|
||||
Reservoir() {
|
||||
let wlList: Array<string> = [];
|
||||
let requestAmountNum = 0;
|
||||
this.LocationList.forEach((item: any) => {
|
||||
let objString = JSON.stringify(this.material);
|
||||
let TEM = JSON.parse(objString);
|
||||
TEM.wlCode = item.value.label;
|
||||
TEM.qty = item.num;
|
||||
wlList.push(TEM);
|
||||
let pras = parseInt(item.num);
|
||||
requestAmountNum += pras;
|
||||
});
|
||||
console.log('wlList', wlList);
|
||||
this.material.wlList = null;
|
||||
this.material.wlList = wlList;
|
||||
this.material.receiptAmount = requestAmountNum;
|
||||
uni.setStorageSync('material', JSON.stringify(this.material));
|
||||
this.redirectTo(this.page.raw.handover.picking.summary);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.page-receipt-detail {
|
||||
background: #f2f2f2 linear-gradient(0deg, #f2f2f2 0%, #4a78ea 51%, #1753ea 100%) no-repeat;
|
||||
background-size: 100% 600rpx;
|
||||
padding: 30rpx;
|
||||
min-height: 100%;
|
||||
padding-top: 118rpx;
|
||||
|
||||
.header {
|
||||
position: fixed;
|
||||
top: 36rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
height: 88rpx;
|
||||
line-height: 88rpx;
|
||||
color: #fff;
|
||||
font-size: 34rpx;
|
||||
font-weight: 500;
|
||||
text-align: center;
|
||||
.title {
|
||||
flex: 3;
|
||||
}
|
||||
.left,
|
||||
.right {
|
||||
flex: 1;
|
||||
}
|
||||
.icon {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 88rpx;
|
||||
height: 88rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.content {
|
||||
width: 100%;
|
||||
height: 500rpx;
|
||||
|
||||
.content-item {
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
display: flex;
|
||||
text-align: center;
|
||||
line-height: 100rpx;
|
||||
background-color: white;
|
||||
.item-left {
|
||||
width: 30%;
|
||||
}
|
||||
.item-right {
|
||||
width: 70%;
|
||||
}
|
||||
}
|
||||
}
|
||||
.library {
|
||||
height: 60rpx;
|
||||
position: relative;
|
||||
padding-bottom: 10rpx;
|
||||
.search {
|
||||
position: absolute;
|
||||
width: 80%;
|
||||
right: 38rpx;
|
||||
top: 15rpx;
|
||||
height: 60rpx;
|
||||
background-color: white;
|
||||
}
|
||||
.title {
|
||||
width: 20%;
|
||||
height: 100%;
|
||||
text-align: left;
|
||||
position: absolute;
|
||||
line-height: 50rpx;
|
||||
top: 15rpx;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
.library-num {
|
||||
position: relative;
|
||||
margin-top: 15rpx;
|
||||
.title {
|
||||
width: 100rpx;
|
||||
height: 100%;
|
||||
line-height: 50rpx;
|
||||
}
|
||||
input {
|
||||
display: block;
|
||||
width: 40%;
|
||||
padding: 10rpx;
|
||||
position: absolute;
|
||||
left: 100rpx;
|
||||
top: 0;
|
||||
background-color: white;
|
||||
}
|
||||
.confirm {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 20rpx;
|
||||
margin-left: 30rpx;
|
||||
}
|
||||
}
|
||||
.library-table {
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
|
||||
.table-wrapper {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.form {
|
||||
background-color: #fff;
|
||||
padding: 40rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
|
||||
.bottom-bar {
|
||||
z-index: 21;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
|
||||
.container {
|
||||
background: #ffffff;
|
||||
box-shadow: 0 1rpx 20rpx 0 rgba(128, 128, 128, 0.2);
|
||||
padding: 20rpx;
|
||||
}
|
||||
|
||||
.extra {
|
||||
margin: 5px;
|
||||
border-radius: 5px;
|
||||
padding: 0 10px;
|
||||
|
||||
.main {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
Loading…
Reference in New Issue