委外入库和出库页面
parent
bf3401be34
commit
3c4d1b09e3
@ -0,0 +1,21 @@
|
||||
/**
|
||||
* 看单明细表格列
|
||||
*/
|
||||
import vm from '@/main';
|
||||
export const headers = [
|
||||
{
|
||||
label: vm.$t('message.product_barCode'),
|
||||
key: 'barcode',
|
||||
width: 300,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.product_FGCode'),
|
||||
key: 'materialCode',
|
||||
width: 300,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.product_FGDes'),
|
||||
key: 'materialDesc',
|
||||
width: 300,
|
||||
},
|
||||
];
|
@ -0,0 +1,182 @@
|
||||
<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.CommissionedEntrantDetails') }}</view>
|
||||
<view class="right"></view>
|
||||
</view>
|
||||
<view class="table-wrapper">
|
||||
<wyb-table
|
||||
class="table"
|
||||
ref="table"
|
||||
width="100%"
|
||||
enable-check="multiple"
|
||||
show-left-and-right-border
|
||||
:headers="headers"
|
||||
:contents="model.materielList"
|
||||
:show-vert-border="false"
|
||||
></wyb-table>
|
||||
</view>
|
||||
<view class="bottom-bar">
|
||||
<div class="extra">
|
||||
<u-row class="bottom-info">
|
||||
<u-col :span="12"
|
||||
>{{ $t('message.po_Total') }} {{ model.materielList.length }}
|
||||
{{ $t('message.po_Records') }}</u-col
|
||||
>
|
||||
<!-- <u-col :span="2">数量</u-col>-->
|
||||
<!-- <u-col :span="4"><u-input v-model="locationCode"></u-input></u-col>-->
|
||||
<!-- <u-col :span="3">-->
|
||||
<!-- <u-button-->
|
||||
<!-- size="mini"-->
|
||||
<!-- type="warning"-->
|
||||
<!-- :loading="$wait.is('*changeOrderInLocation')"-->
|
||||
<!-- @click="changeLocation"-->
|
||||
<!-- >-->
|
||||
<!-- 拒收-->
|
||||
<!-- </u-button>-->
|
||||
<!-- </u-col>-->
|
||||
</u-row>
|
||||
</div>
|
||||
<!-- <div class="container">-->
|
||||
<!-- <u-row>-->
|
||||
<!-- <u-col :span="4">-->
|
||||
<!-- <u-button type="primary" @click="model.checkAllOrderInInfoList(!model.isCheckedAll)">-->
|
||||
<!-- {{-->
|
||||
<!-- model.isCheckedAll-->
|
||||
<!-- ? this.$t('message.po_noSelectAll')-->
|
||||
<!-- : this.$t('message.po_SelectAll')-->
|
||||
<!-- }}-->
|
||||
<!-- </u-button>-->
|
||||
<!-- </u-col>-->
|
||||
<!-- <u-col :span="4">-->
|
||||
<!-- <u-button type="success" :loading="$wait.is('*submitOrderInEnter')" @click="onSubmit">-->
|
||||
<!-- {{ $t('message.po_Submit') }}-->
|
||||
<!-- </u-button>-->
|
||||
<!-- </u-col>-->
|
||||
<!-- <u-col :span="4">-->
|
||||
<!-- <u-button @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 { headers } from './config';
|
||||
|
||||
@Component
|
||||
export default class RawReceiptDetail extends BasePage {
|
||||
/**
|
||||
* 页面Module
|
||||
*/
|
||||
model = model;
|
||||
|
||||
/**
|
||||
* 库位
|
||||
*/
|
||||
locationCode = '';
|
||||
|
||||
/**
|
||||
* 表头
|
||||
*/
|
||||
headers = headers;
|
||||
|
||||
/**
|
||||
* 逐条修改
|
||||
*/
|
||||
// changeLocation() {
|
||||
// if (!this.model.hasChecked) {
|
||||
// uni.showToast({
|
||||
// icon: 'none',
|
||||
// title: '请选择要修改的行',
|
||||
// });
|
||||
// return;
|
||||
// }
|
||||
// this.model.changeOrderInLocation(this.locationCode);
|
||||
// }
|
||||
|
||||
/**
|
||||
* 提交
|
||||
*/
|
||||
// async onSubmit() {
|
||||
// await this.model.submitOrderInEnter();
|
||||
// this.locationCode = '';
|
||||
// }
|
||||
}
|
||||
</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;
|
||||
}
|
||||
}
|
||||
|
||||
.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,122 @@
|
||||
import { Action, getModule, Module, MutationAction, VuexModule } from 'vuex-module-decorators';
|
||||
import store from '@/store';
|
||||
import http from '@/utils/request';
|
||||
import { url } from '@/utils/url';
|
||||
import { session } from '@/store/modules/session';
|
||||
// import vm from '@/main';
|
||||
|
||||
class OrderInInfo {
|
||||
stoAmount?: 0;
|
||||
stoNo?: string; //STO采购单号
|
||||
orderAmount?: string; //单据总数
|
||||
Allocated?: string; //已分配
|
||||
Unallocated?: string; //未分配
|
||||
}
|
||||
|
||||
@Module({
|
||||
namespaced: true,
|
||||
dynamic: true,
|
||||
store,
|
||||
name: 'product.outbound.stoOutbound',
|
||||
})
|
||||
export class ReturningModule extends VuexModule {
|
||||
/**
|
||||
* 月台列表
|
||||
*/
|
||||
returningTypeList: any[] = [];
|
||||
/**
|
||||
* 物料列表
|
||||
*/
|
||||
materielList: any[] = [];
|
||||
|
||||
//条码扫描的返回的结果
|
||||
oneMaterielDetail: any = {};
|
||||
/**
|
||||
* 订单号查询结果
|
||||
*/
|
||||
orderInInfo: OrderInInfo = new OrderInInfo();
|
||||
//记账按钮的code码
|
||||
code = '';
|
||||
/**
|
||||
* 查询月台列表
|
||||
*/
|
||||
@MutationAction
|
||||
async queryReturningTypeList() {
|
||||
const list: [] = await http.post(url.outbound.stoOutbound.yuetaiType, {
|
||||
factoryCode: session.factoryCode,
|
||||
whCode: session.warehouseCode,
|
||||
loginName: session.loginName,
|
||||
});
|
||||
const returningTypeList = list.map((item: any) => ({
|
||||
label: item.dockName,
|
||||
value: item.dockCode,
|
||||
}));
|
||||
return { returningTypeList };
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询订单号
|
||||
* @param orderNo
|
||||
*/
|
||||
@MutationAction
|
||||
async queryOrderInInfo(stoNo: string) {
|
||||
const result = await http.post(url.outbound.stoOutbound.info, {
|
||||
stoNo,
|
||||
deleteFlag: 2,
|
||||
finalState: 3,
|
||||
loginName: session.loginName,
|
||||
});
|
||||
let stoAmount = 0;
|
||||
result.data.records.forEach((item: any) => {
|
||||
stoAmount += item.orderAmount;
|
||||
});
|
||||
const materielList = result.data.records.map((item: any) => ({
|
||||
label: item.materialCode,
|
||||
value: item.stoItem,
|
||||
...item,
|
||||
}));
|
||||
console.log('materielList', materielList);
|
||||
if (result.data.records[0]) {
|
||||
result.data.records[0].stoAmount = stoAmount;
|
||||
}
|
||||
const orderInInfo = result.data.records[0] || {};
|
||||
return { orderInInfo, materielList };
|
||||
}
|
||||
|
||||
/**
|
||||
* 扫条码
|
||||
*/
|
||||
@Action
|
||||
async tluSubmit(list: any[]) {
|
||||
const obj = {
|
||||
barcode: list[0].barCode,
|
||||
loginName: session.loginName,
|
||||
};
|
||||
let oneMaterielDetail: any = {};
|
||||
const { data }: any = await http.post(url.outbound.stoOutbound.checkScan, obj);
|
||||
console.log('shneme a ', data.records);
|
||||
oneMaterielDetail = data.records[0];
|
||||
data.records[0].materialCode = list[0].productCode;
|
||||
data.records[0].materialDesc = list[0].productDescZh;
|
||||
console.log('aaaaa', oneMaterielDetail);
|
||||
return oneMaterielDetail;
|
||||
}
|
||||
/**
|
||||
* 确认按钮
|
||||
* @param orderNo
|
||||
*/
|
||||
@MutationAction
|
||||
async confirm(list: any[]) {
|
||||
const { code, data } = await http.post(url.outbound.stoOutbound.Bookkeeping, list);
|
||||
console.log('res数据', data, code);
|
||||
// if (code == '1') {
|
||||
// uni.showToast({ icon: 'success', title: msg });
|
||||
// } else {
|
||||
// uni.showToast({ icon: 'none', title: msg });
|
||||
// }
|
||||
const materielList: any = [];
|
||||
return { code, materielList };
|
||||
}
|
||||
}
|
||||
|
||||
export default getModule(ReturningModule);
|
@ -0,0 +1,21 @@
|
||||
/**
|
||||
* 看单明细表格列
|
||||
*/
|
||||
import vm from '@/main';
|
||||
export const headers = [
|
||||
{
|
||||
label: vm.$t('message.product_barCode'),
|
||||
key: 'barcode',
|
||||
width: 300,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.product_FGCode'),
|
||||
key: 'materialCode',
|
||||
width: 300,
|
||||
},
|
||||
{
|
||||
label: vm.$t('message.product_FGDes'),
|
||||
key: 'materialDesc',
|
||||
width: 300,
|
||||
},
|
||||
];
|
@ -0,0 +1,182 @@
|
||||
<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.CommissionedGoOutDetails') }}</view>
|
||||
<view class="right"></view>
|
||||
</view>
|
||||
<view class="table-wrapper">
|
||||
<wyb-table
|
||||
class="table"
|
||||
ref="table"
|
||||
width="100%"
|
||||
enable-check="multiple"
|
||||
show-left-and-right-border
|
||||
:headers="headers"
|
||||
:contents="model.materielList"
|
||||
:show-vert-border="false"
|
||||
></wyb-table>
|
||||
</view>
|
||||
<view class="bottom-bar">
|
||||
<div class="extra">
|
||||
<u-row class="bottom-info">
|
||||
<u-col :span="12"
|
||||
>{{ $t('message.po_Total') }} {{ model.materielList.length }}
|
||||
{{ $t('message.po_Records') }}</u-col
|
||||
>
|
||||
<!-- <u-col :span="2">数量</u-col>-->
|
||||
<!-- <u-col :span="4"><u-input v-model="locationCode"></u-input></u-col>-->
|
||||
<!-- <u-col :span="3">-->
|
||||
<!-- <u-button-->
|
||||
<!-- size="mini"-->
|
||||
<!-- type="warning"-->
|
||||
<!-- :loading="$wait.is('*changeOrderInLocation')"-->
|
||||
<!-- @click="changeLocation"-->
|
||||
<!-- >-->
|
||||
<!-- 拒收-->
|
||||
<!-- </u-button>-->
|
||||
<!-- </u-col>-->
|
||||
</u-row>
|
||||
</div>
|
||||
<!-- <div class="container">-->
|
||||
<!-- <u-row>-->
|
||||
<!-- <u-col :span="4">-->
|
||||
<!-- <u-button type="primary" @click="model.checkAllOrderInInfoList(!model.isCheckedAll)">-->
|
||||
<!-- {{-->
|
||||
<!-- model.isCheckedAll-->
|
||||
<!-- ? this.$t('message.po_noSelectAll')-->
|
||||
<!-- : this.$t('message.po_SelectAll')-->
|
||||
<!-- }}-->
|
||||
<!-- </u-button>-->
|
||||
<!-- </u-col>-->
|
||||
<!-- <u-col :span="4">-->
|
||||
<!-- <u-button type="success" :loading="$wait.is('*submitOrderInEnter')" @click="onSubmit">-->
|
||||
<!-- {{ $t('message.po_Submit') }}-->
|
||||
<!-- </u-button>-->
|
||||
<!-- </u-col>-->
|
||||
<!-- <u-col :span="4">-->
|
||||
<!-- <u-button @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 { headers } from './config';
|
||||
|
||||
@Component
|
||||
export default class RawReceiptDetail extends BasePage {
|
||||
/**
|
||||
* 页面Module
|
||||
*/
|
||||
model = model;
|
||||
|
||||
/**
|
||||
* 库位
|
||||
*/
|
||||
locationCode = '';
|
||||
|
||||
/**
|
||||
* 表头
|
||||
*/
|
||||
headers = headers;
|
||||
|
||||
/**
|
||||
* 逐条修改
|
||||
*/
|
||||
// changeLocation() {
|
||||
// if (!this.model.hasChecked) {
|
||||
// uni.showToast({
|
||||
// icon: 'none',
|
||||
// title: '请选择要修改的行',
|
||||
// });
|
||||
// return;
|
||||
// }
|
||||
// this.model.changeOrderInLocation(this.locationCode);
|
||||
// }
|
||||
|
||||
/**
|
||||
* 提交
|
||||
*/
|
||||
// async onSubmit() {
|
||||
// await this.model.submitOrderInEnter();
|
||||
// this.locationCode = '';
|
||||
// }
|
||||
}
|
||||
</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;
|
||||
}
|
||||
}
|
||||
|
||||
.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,122 @@
|
||||
import { Action, getModule, Module, MutationAction, VuexModule } from 'vuex-module-decorators';
|
||||
import store from '@/store';
|
||||
import http from '@/utils/request';
|
||||
import { url } from '@/utils/url';
|
||||
import { session } from '@/store/modules/session';
|
||||
// import vm from '@/main';
|
||||
|
||||
class OrderInInfo {
|
||||
stoAmount?: 0;
|
||||
stoNo?: string; //STO采购单号
|
||||
orderAmount?: string; //单据总数
|
||||
Allocated?: string; //已分配
|
||||
Unallocated?: string; //未分配
|
||||
}
|
||||
|
||||
@Module({
|
||||
namespaced: true,
|
||||
dynamic: true,
|
||||
store,
|
||||
name: 'product.outbound.stoOutbound',
|
||||
})
|
||||
export class ReturningModule extends VuexModule {
|
||||
/**
|
||||
* 月台列表
|
||||
*/
|
||||
returningTypeList: any[] = [];
|
||||
/**
|
||||
* 物料列表
|
||||
*/
|
||||
materielList: any[] = [];
|
||||
|
||||
//条码扫描的返回的结果
|
||||
oneMaterielDetail: any = {};
|
||||
/**
|
||||
* 订单号查询结果
|
||||
*/
|
||||
orderInInfo: OrderInInfo = new OrderInInfo();
|
||||
//记账按钮的code码
|
||||
code = '';
|
||||
/**
|
||||
* 查询月台列表
|
||||
*/
|
||||
@MutationAction
|
||||
async queryReturningTypeList() {
|
||||
const list: [] = await http.post(url.outbound.stoOutbound.yuetaiType, {
|
||||
factoryCode: session.factoryCode,
|
||||
whCode: session.warehouseCode,
|
||||
loginName: session.loginName,
|
||||
});
|
||||
const returningTypeList = list.map((item: any) => ({
|
||||
label: item.dockName,
|
||||
value: item.dockCode,
|
||||
}));
|
||||
return { returningTypeList };
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询订单号
|
||||
* @param orderNo
|
||||
*/
|
||||
@MutationAction
|
||||
async queryOrderInInfo(stoNo: string) {
|
||||
const result = await http.post(url.outbound.stoOutbound.info, {
|
||||
stoNo,
|
||||
deleteFlag: 2,
|
||||
finalState: 3,
|
||||
loginName: session.loginName,
|
||||
});
|
||||
let stoAmount = 0;
|
||||
result.data.records.forEach((item: any) => {
|
||||
stoAmount += item.orderAmount;
|
||||
});
|
||||
const materielList = result.data.records.map((item: any) => ({
|
||||
label: item.materialCode,
|
||||
value: item.stoItem,
|
||||
...item,
|
||||
}));
|
||||
console.log('materielList', materielList);
|
||||
if (result.data.records[0]) {
|
||||
result.data.records[0].stoAmount = stoAmount;
|
||||
}
|
||||
const orderInInfo = result.data.records[0] || {};
|
||||
return { orderInInfo, materielList };
|
||||
}
|
||||
|
||||
/**
|
||||
* 扫条码
|
||||
*/
|
||||
@Action
|
||||
async tluSubmit(list: any[]) {
|
||||
const obj = {
|
||||
barcode: list[0].barCode,
|
||||
loginName: session.loginName,
|
||||
};
|
||||
let oneMaterielDetail: any = {};
|
||||
const { data }: any = await http.post(url.outbound.stoOutbound.checkScan, obj);
|
||||
console.log('shneme a ', data.records);
|
||||
oneMaterielDetail = data.records[0];
|
||||
data.records[0].materialCode = list[0].productCode;
|
||||
data.records[0].materialDesc = list[0].productDescZh;
|
||||
console.log('aaaaa', oneMaterielDetail);
|
||||
return oneMaterielDetail;
|
||||
}
|
||||
/**
|
||||
* 确认按钮
|
||||
* @param orderNo
|
||||
*/
|
||||
@MutationAction
|
||||
async confirm(list: any[]) {
|
||||
const { code, data } = await http.post(url.outbound.stoOutbound.Bookkeeping, list);
|
||||
console.log('res数据', data, code);
|
||||
// if (code == '1') {
|
||||
// uni.showToast({ icon: 'success', title: msg });
|
||||
// } else {
|
||||
// uni.showToast({ icon: 'none', title: msg });
|
||||
// }
|
||||
const materielList: any = [];
|
||||
return { code, materielList };
|
||||
}
|
||||
}
|
||||
|
||||
export default getModule(ReturningModule);
|
@ -0,0 +1,138 @@
|
||||
<template>
|
||||
<view class="page-raw-warehouse">
|
||||
<view class="header">
|
||||
<view class="left">
|
||||
<u-icon class="icon" name="arrow-left" @click="toPage(page.raw.index)" />
|
||||
</view>
|
||||
<view class="title">{{ $t('message.RowWarehouse') }}</view>
|
||||
<view class="right"></view>
|
||||
</view>
|
||||
<view class="container">
|
||||
<u-row :gutter="30">
|
||||
<!-- <u-col :span="12" v-for="(item, index) in childData" :key="index">
|
||||
<u-button
|
||||
@click="
|
||||
uni.navigateTo({
|
||||
url: item.href,
|
||||
})
|
||||
"
|
||||
>
|
||||
<u-icon size="80" :name="item.iconClass"></u-icon>
|
||||
<text class="name">
|
||||
{{
|
||||
session.lang == 'en'
|
||||
? index + 1 + ' ' + item.engResourceName
|
||||
: index + 1 + ' ' + item.resourceName
|
||||
}}</text
|
||||
>
|
||||
</u-button>
|
||||
</u-col>-->
|
||||
<u-col :span="12">
|
||||
<u-button @click="toPage(page.raw.commission.entrant.index)">
|
||||
<u-icon size="80" name="/static/icons/icon-14.png"></u-icon>
|
||||
<text class="name">1.{{ '委外入库' }}</text>
|
||||
</u-button>
|
||||
</u-col>
|
||||
<u-col :span="12">
|
||||
<u-button @click="toPage(page.raw.commission.goOut.index)">
|
||||
<u-icon size="80" name="/static/icons/icon-14.png"></u-icon>
|
||||
<text class="name">2.{{ '委外出库' }}</text>
|
||||
</u-button>
|
||||
</u-col>
|
||||
<!--
|
||||
<u-col :span="12">
|
||||
<u-button @click="toPage(page.raw.warehouse.rowScrap.index)">
|
||||
<u-icon size="80" name="/static/icons/icon-14.png"></u-icon>
|
||||
<text class="name">2.{{ $t('message.RowScrap') }}</text>
|
||||
</u-button>
|
||||
</u-col>
|
||||
<u-col :span="12">
|
||||
<u-button @click="toPage(page.raw.warehouse.rowCollect.index)">
|
||||
<u-icon size="80" name="/static/icons/icon-14.png"></u-icon>
|
||||
<text class="name">3.{{ $t('message.RowCollectionAndBorrowing') }}</text>
|
||||
</u-button>
|
||||
</u-col>-->
|
||||
</u-row>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { Component } from 'vue-property-decorator';
|
||||
import { BasePage } from '@/components/base/page';
|
||||
@Component
|
||||
export default class RawAppointment extends BasePage {
|
||||
childData: any;
|
||||
onLoad(option: { childData: any }) {
|
||||
this.childData = option//JSON.parse(option.childData);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.page-raw-warehouse {
|
||||
background-color: #f4f7fc;
|
||||
padding-top: 88rpx;
|
||||
min-height: 100%;
|
||||
|
||||
.header {
|
||||
position: fixed;
|
||||
top: 36rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 99;
|
||||
display: flex;
|
||||
background-color: #255cea;
|
||||
height: 88rpx;
|
||||
line-height: 88rpx;
|
||||
color: #fff;
|
||||
font-size: 34rpx;
|
||||
font-weight: 500;
|
||||
text-align: center;
|
||||
box-shadow: 0 1rpx 5rpx #6b90ef;
|
||||
.title {
|
||||
flex: 3;
|
||||
}
|
||||
.left,
|
||||
.right {
|
||||
flex: 1;
|
||||
}
|
||||
.icon {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 88rpx;
|
||||
height: 88rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.container {
|
||||
margin-top: 36rpx;
|
||||
padding: 30rpx 15rpx 0;
|
||||
.u-row {
|
||||
}
|
||||
.u-col {
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
.u-btn {
|
||||
height: 160rpx;
|
||||
padding: 0 28rpx;
|
||||
border: 1px solid #f0f5fc;
|
||||
color: #42465a;
|
||||
font-size: 30rpx;
|
||||
font-weight: 400;
|
||||
&:after {
|
||||
border-color: #f0f5fc;
|
||||
border-radius: 4rpx;
|
||||
}
|
||||
.name {
|
||||
flex: 1;
|
||||
margin-left: 28rpx;
|
||||
text-align: left;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
Loading…
Reference in New Issue