This commit is contained in:
zds
2022-11-12 10:39:30 +08:00
parent 26831b9970
commit 6e1686c05e
52 changed files with 283 additions and 33 deletions

View File

@@ -168,7 +168,7 @@
</crudOperation>
<!--表单组件-->
<!--表格渲染-->
<el-table ref="table" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table ref="table" :max-height="590" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table-column type="selection" width="55" />
<el-table-column v-if="false" prop="bagrecord_id" label="袋记录标识" />
<el-table-column prop="bag_id" label="袋码" show-overflow-tooltip width="150px" />
@@ -227,6 +227,10 @@ export default {
url: 'api/bagrecord',
idField: 'bagrecord_id',
sort: 'bagrecord_id,desc',
props: {
// 每页数据条数
size: 20
},
crudMethod: { ...crudBagrecord },
optShow: {
add: false,

View File

@@ -160,7 +160,7 @@
</div>
</el-dialog>
<!--表格渲染-->
<el-table ref="table" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table :max-height="590" ref="table" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table-column type="selection" width="55" />
<el-table-column v-permission="['admin','productplanproc:edit','productplanproc:del']" fixed="right" label="操作" width="70px" align="center">
<template slot-scope="scope">
@@ -217,6 +217,10 @@ export default {
title: '桶标签打印',
url: 'api/bucketrecord',
idField: 'bucket_record_id',
props: {
// 每页数据条数
size: 20
},
sort: '',
crudMethod: { ...crudBucketrecord },
optShow: {

View File

@@ -87,6 +87,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
lazy
:load="getClassDatas"
@@ -171,6 +172,10 @@ export default {
url: 'api/Classstandard',
idField: 'class_id',
sort: 'class_id,desc',
props: {
// 每页数据条数
size: 20
},
crudMethod: { ...crudClassstandard },
optShow: {
add: true,

View File

@@ -141,7 +141,7 @@
</div>
</el-dialog>
<!--表格渲染-->
<el-table ref="table" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table ref="table" :max-height="590" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table-column prop="material_code" label="物料编码" width="160" />
<el-table-column prop="material_name" label="物料名称" width="180" show-overflow-tooltip />
<el-table-column prop="material_spec" label="物料规格" width="140" />
@@ -197,7 +197,12 @@ export default {
components: { pagination, crudOperation, rrOperation, udOperation, Treeselect },
mixins: [presenter(), header(), form(defaultForm), crud()],
cruds() {
return CRUD({ title: '物料', optShow: { add: true, reset: true }, url: 'api/Materialbase', idField: 'material_id', sort: 'material_id,desc', crudMethod: { ...crudMaterialbase }})
return CRUD({ title: '物料',
props: {
// 每页数据条数
size: 20
},
optShow: { add: true, reset: true }, url: 'api/Materialbase', idField: 'material_id', sort: 'material_id,desc', crudMethod: { ...crudMaterialbase }})
},
data() {
return {

View File

@@ -43,6 +43,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
:data="crud.data"
size="mini"
@@ -149,6 +150,10 @@ export default {
title: '物料参数设置',
url: 'api/MaterialParameters',
idField: 'material_id',
props: {
// 每页数据条数
size: 20
},
sort: 'material_id,desc',
crudMethod: {...crudMaterialparameters},
optShow: {

View File

@@ -41,7 +41,7 @@
</div>
</el-dialog>
<!--表格渲染-->
<el-table ref="table" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table :max-height="590" ref="table" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table-column prop="unit_code" label="编码" />
<el-table-column prop="unit_name" label="名称" />
<el-table-column prop="qty_precision" label="数据精度" />
@@ -95,6 +95,10 @@ export default {
add: true,
reset: true
},
props: {
// 每页数据条数
size: 20
},
idField: 'measure_unit_id',
sort: 'measure_unit_id,desc',
crudMethod: { ...crudMdPbMeasureunit }})

View File

@@ -76,7 +76,7 @@
</el-button>
</crudOperation>
<!--表格渲染-->
<el-table ref="table" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table ref="table" :max-height="590" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<!-- <el-table-column type="selection" width="55" />-->
<el-table-column v-if="false" prop="storagevehiclepoint_id" label="载具点位对应标识" />
<el-table-column v-if="false" prop="set_type" label="对应类型" />
@@ -134,6 +134,10 @@ export default {
url: 'api/storagevehiclecleaning',
idField: 'storagevehiclepoint_id',
sort: 'storagevehiclepoint_id,desc',
props: {
// 每页数据条数
size: 20
},
crudMethod: { ...crudStoragevehiclecleaning },
optShow: {
add: false,

View File

@@ -87,6 +87,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
:data="crud.data"
size="mini"
@@ -169,6 +170,10 @@ export default {
return CRUD({
title: '载具扩展信息',
url: 'api/storagevehicleext',
props: {
// 每页数据条数
size: 20
},
idField: 'storagevehicleext_id',
sort: 'storagevehicleext_id,desc',
crudMethod: { ...crudStoragevehicleext },

View File

@@ -57,7 +57,7 @@
</el-button>
</crudOperation>
<!--表格渲染-->
<el-table ref="table" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table ref="table" :max-height="590" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<!-- <el-table-column type="selection" width="55" />-->
<el-table-column v-if="false" prop="storagevehiclepoint_id" label="载具点位对应标识" />
<el-table-column v-if="false" prop="set_type" label="对应类型" />
@@ -122,6 +122,10 @@ export default {
url: 'api/storagevehiclepoint',
idField: 'storagevehiclepoint_id',
sort: 'storagevehiclepoint_id,desc',
props: {
// 每页数据条数
size: 20
},
crudMethod: { ...crudStoragevehiclepoint },
optShow: {
add: false,

View File

@@ -114,6 +114,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
:data="crud.data"
size="mini"
@@ -202,6 +203,10 @@ export default {
title: '载具',
url: 'api/storagevehicleinfo',
idField: 'storagevehicle_id',
props: {
// 每页数据条数
size: 20
},
sort: 'storagevehicle_id,desc',
crudMethod: {...crudStoragevehicleinfo},
optShow: {

View File

@@ -44,7 +44,7 @@
</el-button>
</crudOperation>
<!--表格渲染-->
<el-table ref="table" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table ref="table" :max-height="590" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table-column type="selection" width="55" />
<el-table-column prop="sect_code" label="库区编码" />
<el-table-column prop="sect_name" label="库区名称" />
@@ -85,7 +85,12 @@ export default {
components: { AddDialog, pagination, crudOperation, rrOperation, crudClass, Treeselect },
mixins: [presenter(), header(), form(defaultForm), crud()],
cruds() {
return CRUD({ title: '物料存放设置', optShow: { add: false, reset: true }, idField: 'class_id',
return CRUD({ title: '物料存放设置',
props: {
// 每页数据条数
size: 20
},
optShow: { add: false, reset: true }, idField: 'class_id',
sort: 'class_id,desc', url: 'api/structrelamaterial', crudMethod: { ...crudStructrelamaterial }})
},
data() {

View File

@@ -43,6 +43,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
:data="crud.data"
size="mini"
@@ -109,6 +110,10 @@ export default {
optShow: { reset: true },
url: 'api/materialsafeivt',
idField: 'material_id',
props: {
// 每页数据条数
size: 20
},
sort: 'material_id,desc',
crudMethod: { ...crudMaterialsafeivt }
})

View File

@@ -129,6 +129,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
:data="crud.data"
size="mini"
@@ -232,6 +233,10 @@ export default {
optShow: { add: true, reset: true },
url: 'api/sectattr',
idField: 'sect_id',
props: {
// 每页数据条数
size: 20
},
sort: 'sect_id,desc',
crudMethod: { ...crudSectattr }
})

View File

@@ -141,6 +141,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
:data="crud.data"
size="mini"
@@ -254,6 +255,10 @@ export default {
url: 'api/Storattr',
idField: 'stor_id',
sort: 'stor_id,desc',
props: {
// 每页数据条数
size: 20
},
crudMethod: { ...crudStorattr }
})
},

View File

@@ -196,6 +196,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
:data="crud.data"
size="mini"
@@ -316,6 +317,10 @@ export default {
optShow: { add: true, reset: true },
url: 'api/structattr',
idField: 'struct_id',
props: {
// 每页数据条数
size: 20
},
crudMethod: { ...crudStructattr }
})
},

View File

@@ -109,7 +109,7 @@
</el-button>
</crudOperation>
<!--表格渲染-->
<el-table ref="table" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table ref="table" :max-height="590" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table-column type="selection" width="55" />
<el-table-column show-overflow-tooltip prop="pallet_code" label="托盘" width="120px">
<template slot-scope="scope">
@@ -153,6 +153,10 @@ export default {
url: 'api/libraryquery',
idField: '',
sort: 'desc',
props: {
// 每页数据条数
size: 20
},
crudMethod: { ...crudLibraryquery },
optShow: {
add: false,

View File

@@ -106,7 +106,7 @@
</el-button>
</crudOperation>
<!--表格渲染-->
<el-table ref="table" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table ref="table" :max-height="590" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table-column fixed type="selection" width="55" />
<el-table-column v-if="false" prop="id" label="id" />
<el-table-column prop="supp_name" label="供应商" min-width="220px" />
@@ -160,6 +160,10 @@ export default {
url: 'api/purchaseorderproc',
idField: 'id',
sort: 'id,desc',
props: {
// 每页数据条数
size: 20
},
crudMethod: { ...crudOrderproc },
optShow: {
add: false,

View File

@@ -189,7 +189,7 @@
</div>
</el-dialog>
<!--表格渲染-->
<el-table ref="table" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table ref="table" :max-height="590" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table-column type="selection" width="55" />
<el-table-column v-permission="['admin','user:edit','user:del']" fixed="right" label="操作" width="120px" align="center">
<template slot-scope="scope">
@@ -251,6 +251,10 @@ export default {
url: 'api/receivemst',
idField: 'receivedtl_id',
sort: 'receivedtl_id,desc',
props: {
// 每页数据条数
size: 20
},
crudMethod: {...crudReceivemst},
optShow: {
add: true,

View File

@@ -188,6 +188,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
size="mini"
:data="crud.data"
@@ -250,6 +251,10 @@ export default {
components: { print2Dialog, ViewDialog, DeviceDialog, crudOperation, rrOperation, udOperation, pagination },
cruds() {
return CRUD({ title: '工令工序任务', idField: 'worktask_id', url: 'api/worktask',
props: {
// 每页数据条数
size: 20
},
optShow: {
add: false,
edit: false,

View File

@@ -177,6 +177,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
size="mini"
:data="crud.data"
@@ -273,7 +274,11 @@ export default {
name: 'formula',
components: { ViewDialog, DivDialog, crudOperation, rrOperation, udOperation, pagination, PicDialog },
cruds() {
return CRUD({ title: '工令', idField: 'formula_id', url: 'api/formula', crudMethod: { ...formula },
return CRUD({ title: '工令', idField: 'formula_id', url: 'api/formula',
props: {
// 每页数据条数
size: 20
}, crudMethod: { ...formula },
optShow: {
add: false,
edit: false,

View File

@@ -102,6 +102,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
size="mini"
:data="crud.data"
@@ -198,7 +199,11 @@ export default {
name: 'formula2',
components: { ViewDialog, DivDialog, crudOperation, rrOperation, udOperation, pagination, PicDialog },
cruds() {
return CRUD({ title: '工令', idField: 'formula_id', url: 'api/formula', crudMethod: { ...formula },
return CRUD({ title: '工令', idField: 'formula_id', url: 'api/formula',
props: {
// 每页数据条数
size: 20
},crudMethod: { ...formula },
optShow: {
add: false,
edit: false,

View File

@@ -150,7 +150,7 @@
</el-button>
</crudOperation>
<!--表格渲染-->
<el-table ref="table" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;"
<el-table ref="table" :max-height="590" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;"
@selection-change="crud.selectionChangeHandler"
@current-change="handleCurrentChange"
@select="handleSelectionChange"
@@ -215,6 +215,10 @@ export default {
url: 'api/inspectionsheetmst',
idField: 'inspection_id',
sort: '',
props: {
// 每页数据条数
size: 20
},
crudMethod: { ...crudInspectionsheetmst },
optShow: {
add: true,

View File

@@ -136,6 +136,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
:data="crud.data"
size="mini"
@@ -242,6 +243,10 @@ export default {
optShow: { add: true, reset: true },
idField: 'iostorinv_id',
url: '/api/sb/inbill',
props: {
// 每页数据条数
size: 20
},
crudMethod: { ...sparePart }
})
},

View File

@@ -126,6 +126,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
:data="crud.data"
size="mini"
@@ -226,6 +227,10 @@ export default {
optShow: { add: true, reset: true },
idField: 'iostorinv_id',
url: '/api/sb/inbill',
props: {
// 每页数据条数
size: 20
},
crudMethod: { ...sparePart }
})
},

View File

@@ -92,6 +92,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
:data="crud.data"
size="mini"
@@ -160,6 +161,10 @@ export default {
optShow: { add: true, reset: true },
idField: 'iostorinv_id',
url: '/api/sb/return',
props: {
// 每页数据条数
size: 20
},
crudMethod: { ...sparePart }
})
},

View File

@@ -126,6 +126,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
:data="crud.data"
size="mini"
@@ -226,6 +227,10 @@ export default {
optShow: { add: true, reset: true },
idField: 'iostorinv_id',
url: '/api/sb/inbill',
props: {
// 每页数据条数
size: 20
},
crudMethod: { ...sparePart }
})
},

View File

@@ -71,7 +71,7 @@
</el-button>
</crudOperation>
<!--表格渲染-->
<el-table ref="table" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table ref="table" :max-height="590" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table-column type="selection" width="55" />
<el-table-column prop="sect_code" label="库区编码" />
<el-table-column prop="sect_name" label="库区名称" />
@@ -119,6 +119,10 @@ export default {
url: 'api/devicesparepartivt',
idField: 'stockrecord_id',
sort: 'stockrecord_id,desc',
props: {
// 每页数据条数
size: 20
},
crudMethod: { ...crudDevicesparepartivt },
optShow: {
add: false,

View File

@@ -219,6 +219,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
:data="crud.data"
size="mini"
@@ -291,6 +292,10 @@ export default {
title: '点位',
url: 'api/point',
idField: 'point_id',
props: {
// 每页数据条数
size: 20
},
optShow: {
add: true,
edit: true,

View File

@@ -123,6 +123,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
size="mini"
:data="crud.data"
@@ -209,6 +210,10 @@ export default {
title: '',
optShow: { add: true, reset: true },
idField: 'iostorinv_id',
props: {
// 每页数据条数
size: 20
},
url: '/api/in/rawAssist',
crudMethod: { ...rawAssist }
})

View File

@@ -156,6 +156,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
:data="crud.data"
size="mini"
@@ -248,6 +249,10 @@ export default {
title: '',
optShow: { add: true, reset: true },
idField: 'iostorinv_id',
props: {
// 每页数据条数
size: 20
},
url: '/api/in/rawAssist',
crudMethod: { ...rawAssist }
})

View File

@@ -156,6 +156,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
size="mini"
:data="crud.data"
@@ -243,6 +244,10 @@ export default {
optShow: { add: true, reset: true },
query: { buss_type: '0001' },
idField: 'iostorinv_id',
props: {
// 每页数据条数
size: 20
},
url: '/api/in/rawAssist',
crudMethod: { ...rawAssist }
})

View File

@@ -156,6 +156,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
size="mini"
:data="crud.data"
@@ -243,6 +244,10 @@ export default {
optShow: { add: true, reset: true },
idField: 'iostorinv_id',
url: '/api/in/rawAssist',
props: {
// 每页数据条数
size: 20
},
crudMethod: { ...rawAssist }
})
},

View File

@@ -156,6 +156,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
size="mini"
:data="crud.data"
@@ -243,6 +244,10 @@ export default {
optShow: { add: true, reset: true
},
idField: 'iostorinv_id',
props: {
// 每页数据条数
size: 20
},
url: '/api/in/rawAssist',
crudMethod: { ...rawAssist }
})

View File

@@ -158,6 +158,7 @@
ref="table"
v-loading="crud.loading"
size="mini"
:max-height="590"
:data="crud.data"
highlight-current-row
style="width: 100%;"
@@ -243,6 +244,10 @@ export default {
optShow: { add: true, reset: true },
idField: 'iostorinv_id',
url: '/api/in/rawAssist',
props: {
// 每页数据条数
size: 20
},
crudMethod: { ...rawAssist }
})
},

View File

@@ -121,6 +121,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
size="mini"
:data="crud.data"
@@ -185,7 +186,10 @@ export default {
name: 'backoutbill',
components: { ViewDialog, AddDialog, crudOperation, rrOperation, udOperation, pagination },
cruds() {
return CRUD({ title: '用户', idField: 'iostorinv_id', url: 'api/checkoutbill', crudMethod: { ...checkoutbill },
return CRUD({ title: '用户', props: {
// 每页数据条数
size: 20
}, idField: 'iostorinv_id', url: 'api/checkoutbill', crudMethod: { ...checkoutbill },
optShow: {
add: true,
edit: false,

View File

@@ -145,6 +145,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
size="mini"
:data="crud.data"
@@ -213,7 +214,12 @@ export default {
name: 'Checkoutbill',
components: { ViewDialog, AddDialog, crudOperation, rrOperation, udOperation, pagination, DivDialog, TaskDialog },
cruds() {
return CRUD({ title: '用户', idField: 'iostorinv_id', url: 'api/checkoutbill', crudMethod: { ...checkoutbill },
return CRUD({ title: '用户',
props: {
// 每页数据条数
size: 20
},
idField: 'iostorinv_id', url: 'api/checkoutbill', crudMethod: { ...checkoutbill },
optShow: {
add: true,
edit: false,

View File

@@ -147,6 +147,7 @@
ref="table"
v-loading="crud.loading"
size="mini"
:max-height="590"
:data="crud.data"
style="width: 100%;"
:highlight-current-row="true"
@@ -213,7 +214,12 @@ export default {
name: 'Handoutbill',
components: { ViewDialog, AddDialog, crudOperation, rrOperation, udOperation, pagination, DivDialog, TaskDialog },
cruds() {
return CRUD({ title: '用户', idField: 'iostorinv_id', url: 'api/checkoutbill', crudMethod: { ...checkoutbill },
return CRUD({ title: '用户',
props: {
// 每页数据条数
size: 20
},
idField: 'iostorinv_id', url: 'api/checkoutbill', crudMethod: { ...checkoutbill },
optShow: {
add: true,
edit: false,

View File

@@ -149,6 +149,7 @@
size="mini"
:data="crud.data"
style="width: 100%;"
:max-height="590"
:highlight-current-row="true"
@selection-change="crud.selectionChangeHandler"
@current-change="handleCurrentChange"
@@ -213,7 +214,12 @@ export default {
name: 'Otheroutbill',
components: { ViewDialog, AddDialog, crudOperation, rrOperation, udOperation, pagination, DivDialog, TaskDialog },
cruds() {
return CRUD({ title: '用户', idField: 'iostorinv_id', url: 'api/checkoutbill', crudMethod: { ...checkoutbill },
return CRUD({ title: '用户',
props: {
// 每页数据条数
size: 20
},
idField: 'iostorinv_id', url: 'api/checkoutbill', crudMethod: { ...checkoutbill },
optShow: {
add: true,
edit: false,

View File

@@ -113,6 +113,7 @@
ref="table"
v-loading="crud.loading"
size="mini"
:max-height="590"
:data="crud.data"
style="width: 100%;"
:highlight-current-row="true"
@@ -153,7 +154,12 @@ export default {
name: 'Productoutbill',
components: { ViewDialog, crudOperation, rrOperation, pagination, AddDialog },
cruds() {
return CRUD({ title: '用户', idField: 'iostorinv_id', url: 'api/checkoutbill', crudMethod: { ...checkoutbill },
return CRUD({ title: '用户',
props: {
// 每页数据条数
size: 20
},
idField: 'iostorinv_id', url: 'api/checkoutbill', crudMethod: { ...checkoutbill },
optShow: {
add: false,
edit: false,

View File

@@ -149,6 +149,7 @@
size="mini"
:data="crud.data"
style="width: 100%;"
:max-height="590"
:highlight-current-row="true"
@selection-change="crud.selectionChangeHandler"
@current-change="handleCurrentChange"
@@ -213,7 +214,12 @@ export default {
name: 'Returnoutbill',
components: { ViewDialog, AddDialog, crudOperation, rrOperation, udOperation, pagination, DivDialog, TaskDialog },
cruds() {
return CRUD({ title: '用户', idField: 'iostorinv_id', url: 'api/checkoutbill', crudMethod: { ...checkoutbill },
return CRUD({ title: '用户',
props: {
// 每页数据条数
size: 20
},
idField: 'iostorinv_id', url: 'api/checkoutbill', crudMethod: { ...checkoutbill },
optShow: {
add: true,
edit: false,

View File

@@ -147,6 +147,7 @@
ref="table"
v-loading="crud.loading"
size="mini"
:max-height="590"
:data="crud.data"
style="width: 100%;"
:highlight-current-row="true"
@@ -213,7 +214,12 @@ export default {
name: 'Saleoutbill',
components: { ViewDialog, AddDialog, crudOperation, rrOperation, udOperation, pagination, DivDialog, TaskDialog },
cruds() {
return CRUD({ title: '用户', idField: 'iostorinv_id', url: 'api/checkoutbill', crudMethod: { ...checkoutbill },
return CRUD({ title: '用户',
props: {
// 每页数据条数
size: 20
},
idField: 'iostorinv_id', url: 'api/checkoutbill', crudMethod: { ...checkoutbill },
optShow: {
add: true,
edit: false,

View File

@@ -145,6 +145,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
size="mini"
:data="crud.data"
@@ -213,7 +214,11 @@ export default {
name: 'Wastewashoutbill',
components: { ViewDialog, AddDialog, crudOperation, rrOperation, udOperation, pagination, DivDialog, TaskDialog },
cruds() {
return CRUD({ title: '用户', idField: 'iostorinv_id', url: 'api/checkoutbill', crudMethod: { ...checkoutbill },
return CRUD({ title: '用户',
props: {
// 每页数据条数
size: 20
},idField: 'iostorinv_id', url: 'api/checkoutbill', crudMethod: { ...checkoutbill },
optShow: {
add: true,
edit: false,

View File

@@ -145,6 +145,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
:data="crud.data"
size="mini"
@@ -212,7 +213,12 @@ export default {
name: 'Check',
components: { CheckDialog, AddDialog, crudOperation, rrOperation, udOperation, pagination, ProcessDialog },
cruds() {
return CRUD({ title: '用户', idField: 'check_id', url: 'api/check', crudMethod: { ...check },
return CRUD({ title: '用户',
props: {
// 每页数据条数
size: 20
},
idField: 'check_id', url: 'api/check', crudMethod: { ...check },
optShow: {
add: true,
edit: false,

View File

@@ -106,6 +106,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
size="mini"
:data="crud.data"
@@ -182,6 +183,10 @@ export default {
return CRUD({
title: '',
optShow: { add: true, reset: true},
props: {
// 每页数据条数
size: 20
},
idField: 'mol_id',
url: '/api/instor/mol',
crudMethod: { ...crudMoreOrless }

View File

@@ -145,6 +145,7 @@
ref="table"
v-loading="crud.loading"
size="mini"
:max-height="590"
:data="crud.data"
style="width: 100%;"
:highlight-current-row="true"
@@ -204,7 +205,12 @@ export default {
name: 'Handmovestor',
components: { AddDialog, crudOperation, rrOperation, udOperation, pagination },
cruds() {
return CRUD({ title: '用户', idField: 'moveinv_id', url: 'api/handmovestor', crudMethod: { ...handmovestor },
return CRUD({ title: '用户',
props: {
// 每页数据条数
size: 20
},
idField: 'moveinv_id', url: 'api/handmovestor', crudMethod: { ...handmovestor },
optShow: {
add: true,
edit: false,

View File

@@ -135,6 +135,7 @@
v-loading="crud.loading"
:data="crud.data"
style="width: 100%;"
:max-height="590"
:highlight-current-row="true"
size="mini"
@selection-change="crud.selectionChangeHandler"
@@ -193,7 +194,12 @@ export default {
name: 'ShutFrame',
components: { AddDialog, crudOperation, rrOperation, udOperation, pagination },
cruds() {
return CRUD({ title: '拼盘', idField: 'shutframeinv_id', url: 'api/shutframe', crudMethod: { ...shutframe },
return CRUD({ title: '拼盘',
props: {
// 每页数据条数
size: 20
},
idField: 'shutframeinv_id', url: 'api/shutframe', crudMethod: { ...shutframe },
optShow: {
add: true,
edit: false,

View File

@@ -123,6 +123,7 @@
<!--表格渲染-->
<el-table
ref="table"
:max-height="590"
v-loading="crud.loading"
:data="crud.data"
style="width: 100%;"
@@ -185,7 +186,12 @@ export default {
name: 'ShutFrame2',
components: { AddDialog, crudOperation, rrOperation, udOperation, pagination, TaskDialog },
cruds() {
return CRUD({ title: '拆盘', idField: 'shutframeinv_id', url: 'api/shutframe', crudMethod: { ...shutframe },
return CRUD({ title: '拆盘',
props: {
// 每页数据条数
size: 20
},
idField: 'shutframeinv_id', url: 'api/shutframe', crudMethod: { ...shutframe },
optShow: {
add: true,
edit: false,

View File

@@ -180,6 +180,7 @@
size="mini"
:data="crud.data"
style="width: 100%;"
:max-height="590"
show-summary
:summary-method="getSum"
:highlight-current-row="true"
@@ -237,7 +238,10 @@ export default {
components: { crudOperation, rrOperation, pagination, ViewDialog },
cruds() {
return CRUD({
title: '出入库单报表', idField: 'iostorinv_id', url: 'api/inandoutreturn', crudMethod: { ...inandoutreturn },
title: '出入库单报表', props: {
// 每页数据条数
size: 20
}, idField: 'iostorinv_id', url: 'api/inandoutreturn', crudMethod: { ...inandoutreturn },
optShow: {
add: false,
edit: false,

View File

@@ -61,7 +61,7 @@
<crudOperation>
</crudOperation>
<!--表格渲染-->
<el-table ref="table" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table ref="table" :max-height="590" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table-column type="index" label="序号" width="55" align="center" />
<el-table-column prop="workorder_date" min-width="85" label="工令日期" :formatter="workorder_dateFormat"/>
<el-table-column prop="device_name" label="关键设备" width="100" />
@@ -99,6 +99,10 @@ export default {
idField: 'planstart_time',
sort: '',
query: { device_id: '' },
props: {
// 每页数据条数
size: 20
},
crudMethod: { ...dailyplan },
optShow: {
add: false,

View File

@@ -42,7 +42,7 @@
<crudOperation>
</crudOperation>
<!--表格渲染-->
<el-table ref="table" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table ref="table" :max-height="590" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table-column type="index" label="序号" width="55" align="center" />
<el-table-column prop="material_code" label="产品编码" width="180" />
<el-table-column prop="sum_qty" label="计划重量(吨)" :formatter="crud.formatNum3" min-width="80" />
@@ -82,6 +82,10 @@ export default {
sort: '',
query: { device_id: '' },
crudMethod: { ...dailyplan },
props: {
// 每页数据条数
size: 20
},
optShow: {
add: false,
edit: false,

View File

@@ -105,7 +105,7 @@
<pagination />
<!--表格渲染-->
<el-table ref="table2" v-loading="crud.loading" :data="tableDtl" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table ref="table2" v-loading="crud.loading" :data="tableDtl" :max-height="590" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
<el-table-column type="index" label="序号" width="55" align="center" />
<el-table-column prop="pw_time" label="配粉日期" width="140" align="center" />
<el-table-column prop="material_code" label="物料编码" width="100" align="center" />

View File

@@ -112,7 +112,7 @@
<!--如果想在工具栏加入更多按钮可以使用插槽方式 slot = 'left' or 'right'-->
<crudOperation :permission="permission" />
<!--表格渲染-->
<el-table ref="table" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;"
<el-table ref="table" :max-height="590" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;"
@selection-change="crud.selectionChangeHandler"
@current-change="handleCurrentChange"
@select="handleSelectionChange"
@@ -167,6 +167,10 @@ export default {
url: 'api/inspectionsheetmst',
idField: 'inspection_id',
sort: '',
props: {
// 每页数据条数
size: 20
},
crudMethod: { ...crudInspectionsheetmst },
optShow: {
add: false,