From f71832a6389efa2f851b8b7bd7a615ed2d3250e4 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期四, 28 三月 2024 13:16:16 +0800
Subject: [PATCH] 完成模具页面
---
src/views/warehouse/FinishedWarehousing/index.vue | 328 ++++++++++++++++++++++++++++++++---------------------
1 files changed, 197 insertions(+), 131 deletions(-)
diff --git a/src/views/warehouse/FinishedWarehousing/index.vue b/src/views/warehouse/FinishedWarehousing/index.vue
index 86a06a6..b49dc54 100644
--- a/src/views/warehouse/FinishedWarehousing/index.vue
+++ b/src/views/warehouse/FinishedWarehousing/index.vue
@@ -1,144 +1,210 @@
<template>
- <div class="mod-config">
- <basic-container>
- <ttable
+ <div class="mod-config">
+ <basic-container>
+ <ttable
:table="table"
:isShowHide="true"
+ :ajaxFun="ajaxFun"
:prelang="prelang"
- :options="options"
+ :options="options"
ref="processconfiguration"
- >
+ >
<template #toolbar></template>
- </ttable>
- </basic-container>
- </div>
+ </ttable>
+ </basic-container>
+ </div>
</template>
<script>
import ttable from '@/views/common/ztt-table.vue'
+import { productPage, } from '@/api/warehouse/stock'
+
export default {
- data(){
- return {
- prelang: 'operation',
- dataListLoading: false,
- options: {
- height: 300, // 榛樿楂樺害-涓轰簡琛ㄥご鍥哄畾
- stripe: true, // 鏄惁涓烘枒椹汗 table
- highlightCurrentRow: false, // 鏄惁瑕侀珮浜綋鍓嶈
- border: true, // 鏄惁鏈夌旱鍚戣竟妗�
- lazy: false, // 鏄惁闇�瑕佹噿鍔犺浇
- fit: true, // 鍒楃殑瀹藉害鏄惁鑷拺寮�
- multiSelect: true, //
- seqNo: true,
- isShowHide: true, // 鏄惁鏄剧ず鏄惧奖鎸夐挳
- isRefresh: true, // 鏄惁鏄剧ず鍒锋柊鎸夐挳
- isSearch: true, // 楂樼骇鏌ヨ鎸夐挳
- defaultOrderBy: { column: 'createTime', direction: 'desc' }
- },
- table: {
- total: 0,
- currentPage: 1,
- pageSize: 20,
- data: [],
- // 鏍囬
- column: [
- {
- minWidth: '140',
- prop: 'material',
- label: '浜у搧鍚嶇О',
- isTrue: true,
- isSearch: true,
- searchInfoType: 'text',
- },
- {
- minWidth: '140',
- prop: 'type',
- label: '浜у搧鍨嬪彿',
- isTrue: true,
- isSearch: true,
- searchInfoType: 'text',
- },{
- minWidth: '140',
- prop: 'oo',
- label: '璐ㄩ噺杩芥函鍙�',
- isTrue: true,
- isSearch: true,
- searchInfoType: 'text',
- },{
- minWidth: '140',
- prop: 'materhhooial',
- label: '鍚堝悓缂栫爜',
- isTrue: true,
- isSearch: true,
- searchInfoType: 'text',
- },
- {
- minWidth: '140',
- prop: 'mateuurial',
- label: '鍗曚綅',
- isTrue: true,
- isSearch: true,
- searchInfoType: 'text',
- },
- {
- minWidth: '140',
- prop: 'materoiial',
- label: '鏁伴噺',
- isTrue: true,
- isSearch: true,
- searchInfoType: 'text',
- },
- {
- minWidth: '140',
- prop: 'matperoial',
- label: '妫�鏌ョ姸鎬�',
- isTrue: true,
- isSearch: true,
- searchInfoType: 'text',
- },
- {
- minWidth: '140',
- prop: 'materpial',
- label: '妫�鏌ヤ汉鍛�',
- isTrue: true,
- isSearch: true,
- searchInfoType: 'text',
- },
- {
- minWidth: '130',
- prop: 'dealTime',
- label: '瑁呴厤浜哄憳',
- isTrue: true,
- isSearch: true,
- searchInfoType: 'text',
- },
- {
- minWidth: '130',
- prop: 'dealTissme',
- label: '缂栧埗浜�',
- isTrue: true,
- isSearch: true,
- searchInfoType: 'text',
- },
- ],
- toolbar: [
- {
- text: 'xx',
- type: 'primary',
- // fun: this.addOrUpdateHandle
- },
- ],
- // operator: [],
- // operatorConfig: {}
- },
- }
- },
- medthods: {},
-// computed: {
-// ...mapGetters(['permissions'])
-// },
- components: {
+ data() {
+ return {
+ ajaxFun: productPage,
+ prelang: 'operation',
+ dataListLoading: false,
+ options: {
+ height: 300, // 榛樿楂樺害-涓轰簡琛ㄥご鍥哄畾
+ stripe: true, // 鏄惁涓烘枒椹汗 table
+ highlightCurrentRow: false, // 鏄惁瑕侀珮浜綋鍓嶈
+ border: true, // 鏄惁鏈夌旱鍚戣竟妗�
+ lazy: false, // 鏄惁闇�瑕佹噿鍔犺浇
+ fit: true, // 鍒楃殑瀹藉害鏄惁鑷拺寮�
+ multiSelect: true, //
+ seqNo: true,
+ isShowHide: true, // 鏄惁鏄剧ず鏄惧奖鎸夐挳
+ isRefresh: true, // 鏄惁鏄剧ず鍒锋柊鎸夐挳
+ isSearch: true, // 楂樼骇鏌ヨ鎸夐挳
+ defaultOrderBy: { column: 'id', direction: 'desc' },
+ },
+ table: {
+ total: 0,
+ currentPage: 1,
+ pageSize: 20,
+ data: [],
+ // 鏍囬
+ column: [
+ {
+ width: '100',
+ minWidth: '100',
+ prop: 'factoryName',
+ label: '宸ュ巶',
+ sort: true,
+ isTrue: true,
+ isSearch: true,
+ searchInfoType: 'text',
+ },
+ {
+ width: '100',
+ minWidth: '100',
+ prop: 'partNo',
+ label: '闆朵欢鍙�',
+ sort: true,
+ isTrue: true,
+ isSearch: true,
+ searchInfoType: 'text',
+ propVal: this.$route.query.partNo,
+ },
+ {
+ width: '100',
+ minWidth: '100',
+ prop: 'partName',
+ label: '闆朵欢鍚嶇О',
+ sort: true,
+ isTrue: true,
+ isSearch: true,
+ searchInfoType: 'text',
+ },
+ {
+ width: '100',
+ minWidth: '100',
+ prop: 'warehouseName',
+ label: '浠撳簱',
+ sort: true,
+ isTrue: true,
+ isSearch: true,
+ searchInfoType: 'text',
+ },
+ {
+ width: '100',
+ minWidth: '100',
+ prop: 'locationNo',
+ label: '搴撲綅鍙�',
+ sort: true,
+ isTrue: true,
+ isSearch: true,
+ searchInfoType: 'text',
+ },
+ {
+ width: '100',
+ minWidth: '100',
+ prop: 'locationName',
+ label: '搴撲綅鍚嶇О',
+ sort: true,
+ isTrue: true,
+ isSearch: true,
+ searchInfoType: 'text',
+ },
+ {
+ width: '100',
+ minWidth: '100',
+ prop: 'systemNo',
+ label: '绯荤粺缂栧彿',
+ sort: true,
+ isTrue: true,
+ isSearch: true,
+ searchInfoType: 'text',
+ },
+ {
+ width: '100',
+ minWidth: '100',
+ prop: 'customerOrderNo',
+ label: '閿�鍞鍗曞彿',
+ sort: true,
+ isTrue: true,
+ isSearch: true,
+ searchInfoType: 'text'
+ },
+ {
+ width: '100',
+ minWidth: '100',
+ prop: 'mpsNo',
+ label: '涓荤敓浜ц鍒掑彿',
+ sort: true,
+ isTrue: true,
+ isSearch: true,
+ searchInfoType: 'text'
+ },
+ {
+ width: '100',
+ minWidth: '100',
+ prop: 'moNo',
+ label: '杞﹂棿璁㈠崟鍙�',
+ sort: true,
+ isTrue: true,
+ isSearch: true,
+ searchInfoType: 'text'
+ },
+ {
+ width: '100',
+ minWidth: '100',
+ prop: 'stockQuantity',
+ label: '搴撳瓨鏁伴噺',
+ sort: true,
+ isTrue: true,
+ isSearch: true,
+ searchInfoType: 'text'
+ },
+ {
+ width: '100',
+ minWidth: '120',
+ prop: 'availableStockQuantity',
+ label: '鍙敤搴撳瓨鏁伴噺',
+ sort: true,
+ isTrue: true,
+ isSearch: true,
+ searchInfoType: 'text'
+ },
+ {
+ width: '100',
+ minWidth: '100',
+ prop: 'unit',
+ label: '鍗曚綅',
+ sort: true,
+ isTrue: true,
+ isSearch: true,
+ searchInfoType: 'text'
+ },
+ {
+ minWidth: '100',
+ prop: 'ifsBatchNo',
+ label: '鎵规鍙�',
+ sort: true,
+ isTrue: true,
+ isSearch: true,
+ searchInfoType: 'text'
+ },
+ {
+ minWidth: '100',
+ prop: 'sourceName',
+ label: '鏉ユ簮',
+ sort: true,
+ isTrue: true,
+ isSearch: true,
+ searchInfoType: 'text'
+ }
+ ],
+ toolbar: [],
+ // operator: [],
+ // operatorConfig: {}
+ },
+ }
+ },
+ medthods: {},
+ components: {
ttable
- },
+ },
}
-</script>
\ No newline at end of file
+</script>
--
Gitblit v1.9.3