提交 2773e779 authored 作者: Ras's avatar Ras

2021.12.30

上级 cae3065b
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button type="primary" icon="download" @click="handleExportXls('ims其他出库单')">导出</a-button>
<a-button @click="handleReflash" type="primary" icon="redo" :loading="btnLoading">刷新</a-button>
<a-input-search v-model="dateValue" style="width: 350px;" enter-button :maxLength="10" placeholder="请输入筛选日期(格式:YYYY-MM-DD)" @search="handleSearch()"></a-input-search>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleDetail(record)">详情</a>
</span>
</a-table>
</div>
<ims-audit-modal ref="modalForm" @ok="modalFormOk"></ims-audit-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ImsAuditModal from './modules/ImsAuditModal'
export default {
name: 'ImsAuditList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ImsAuditModal
},
data () {
return {
description: 'ims其他出库单管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'申请单号',
align:"center",
dataIndex: 'auditId'
},
{
title:'单据类别',
align:"center",
dataIndex: 'auditType'
},
{
title:'ERP工单号',
align:"center",
dataIndex: 'erpMo'
},
{
title:'ERP工单行号',
align:"center",
dataIndex: 'erpMoSeq'
},
{
title:'物料编码',
align:"center",
dataIndex: 'mtrlId'
},
{
title:'数量',
align:"center",
dataIndex: 'quantity'
},
{
title:'备注',
align:"center",
dataIndex: 'remark'
},
{
title:'物料行号',
align:"center",
dataIndex: 'mtrlSeq'
},
{
title:'业务终止状态',
align:'center',
dataIndex: 'fbusinessEnd'
},
{
title:'创建人',
align:"center",
dataIndex: 'createBy'
},
{
title:'创建时间',
align:"center",
dataIndex: 'createTime'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/imsAudit/list",
delete: "/ims/imsAudit/delete",
deleteBatch: "/ims/imsAudit/deleteBatch",
exportXlsUrl: "/ims/imsAudit/exportXls",
importExcelUrl: "ims/imsAudit/importExcel",
},
dictOptions:{},
dateValue:''
}
},
created() {
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
\ No newline at end of file
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button type="primary" icon="download" @click="handleExportXls('imsbom')">导出</a-button>
<a-button @click="handleReflash" type="primary" icon="redo" :loading="btnLoading">刷新</a-button>
<a-input-search v-model="dateValue" style="width: 350px;" enter-button :maxLength="10" placeholder="请输入筛选日期(格式:YYYY-MM-DD)" @search="handleSearch()"></a-input-search>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleDetail(record)">详情</a>
</span>
</a-table>
</div>
<ims-bom-modal ref="modalForm" @ok="modalFormOk"></ims-bom-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ImsBomModal from './modules/ImsBomModal'
export default {
name: 'ImsBomList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ImsBomModal
},
data () {
return {
description: 'imsbom管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'成品编码',
align:"center",
dataIndex: 'prodId'
},
{
title:'物料编码',
align:"center",
dataIndex: 'mtrlId'
},
{
title:'是否主料',
align:"center",
dataIndex: 'isMain'
},
{
title:'主料编码 (被替代)',
align:"center",
dataIndex: 'mainId'
},
{
title:'用量',
align:"center",
dataIndex: 'dosage'
},
{
title:'位置号 点位信息,多个用豆号分隔',
align:"center",
dataIndex: 'pointStr'
},
{
title:'创建人',
align:"center",
dataIndex: 'createBy'
},
{
title:'创建时间',
align:"center",
dataIndex: 'createTime'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/imsBom/list",
delete: "/imsBom/delete",
deleteBatch: "/imsBom/deleteBatch",
exportXlsUrl: "/imsBom/exportXls",
importExcelUrl: "imsBom/importExcel",
},
dictOptions:{},
dateValue:''
}
},
created() {
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
\ No newline at end of file
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button type="primary" icon="download" @click="handleExportXls('ims客户信息')">导出</a-button>
<a-button @click="handleReflash" type="primary" icon="redo" :loading="btnLoading">刷新</a-button>
<a-button @click="handleSync(selectedRowKeys)" type="primary" icon="sync" v-if="selectedRowKeys.length == 1" :loading="synLoading">同步数据</a-button>
<a-input-search v-model="dateValue" style="width: 350px;" enter-button :maxLength="10" placeholder="请输入筛选日期(格式:YYYY-MM-DD)" @search="handleSearch()"></a-input-search>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleDetail(record)">详情</a>
</span>
</a-table>
</div>
<ims-customer-modal ref="modalForm" @ok="modalFormOk"></ims-customer-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ImsCustomerModal from './modules/ImsCustomerModal'
export default {
name: 'ImsCustomerList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ImsCustomerModal
},
data () {
return {
description: 'ims客户信息管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'客户编码',
align:"center",
dataIndex: 'custId'
},
{
title:'客户名称',
align:"center",
dataIndex: 'custName'
},
{
title:'禁用 Y- N',
align:"center",
dataIndex: 'disable'
},
{
title:'ERP客户编码',
align:"center",
dataIndex: 'erpCustId'
},
{
title:'使用组织编码',
align:"center",
dataIndex: 'orgId'
},
{
title:'创建人',
align:"center",
dataIndex: 'createBy'
},
{
title:'创建时间',
align:"center",
dataIndex: 'createTime'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/imsCustomer/list",
delete: "/ims/imsCustomer/delete",
deleteBatch: "/ims/imsCustomer/deleteBatch",
exportXlsUrl: "/ims/imsCustomer/exportXls",
importExcelUrl: "ims/imsCustomer/importExcel",
syncUrl:'/imslog/synchronization'
},
dictOptions:{},
synLoading:false,
dateValue:''
}
},
created() {
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
\ No newline at end of file
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button type="primary" icon="download" @click="handleExportXls('ims_defective_instock')">导出</a-button>
<a-button @click="handleReflash" type="primary" icon="redo" :loading="btnLoading">刷新</a-button>
<a-input-search v-model="dateValue" style="width: 350px;" enter-button :maxLength="10" placeholder="请输入筛选日期(格式:YYYY-MM-DD)" @search="handleSearch()"></a-input-search>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleDetail(record)">详情</a>
</span>
</a-table>
</div>
<ims-defective-instock-modal ref="modalForm" @ok="modalFormOk"></ims-defective-instock-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ImsDefectiveInstockModal from './modules/ImsDefectiveInstockModal'
export default {
name: 'ImsDefectiveInstockList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ImsDefectiveInstockModal
},
data () {
return {
description: 'ims_defective_instock管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'唯一序号',
align:"center",
dataIndex: 'queueId'
},
{
title:'交易时间',
align:"center",
dataIndex: 'trxDate',
customRender:function (text) {
return !text?"":(text.length>10?text.substr(0,10):text)
}
},
{
title:'仓库编码',
align:"center",
dataIndex: 'storeId'
},
{
title:'ERP工单编码',
align:"center",
dataIndex: 'erpMo'
},
{
title:'物料编码',
align:"center",
dataIndex: 'mtrlId'
},
{
title:'数量',
align:"center",
dataIndex: 'quantity'
},
{
title:'备注',
align:"center",
dataIndex: 'remark'
},
{
title:'入库组织、生产组织相同',
align:"center",
dataIndex: 'orgId'
},
{
title:'ERP工单行号',
align:"center",
dataIndex: 'erpMoSeq'
},
{
title:'入库类型(1 良品类型 2 不良品入库 3报废品入库 4返工品入库)',
align:"center",
dataIndex: 'rkType'
},
{
title:'FID',
align:"center",
dataIndex: 'fid'
},
{
title:'单据编号',
align:"center",
dataIndex: 'fbillNo'
},
{
title:'FEntryID',
align:"center",
dataIndex: 'fentryId'
},
{
title:'创建人',
align:"center",
dataIndex: 'createBy'
},
{
title:'创建日期',
align:"center",
dataIndex: 'createTime',
customRender:function (text) {
return !text?"":(text.length>10?text.substr(0,10):text)
}
},
{
title:'更新人',
align:"center",
dataIndex: 'updateBy'
},
{
title:'更新日期',
align:"center",
dataIndex: 'updateTime',
customRender:function (text) {
return !text?"":(text.length>10?text.substr(0,10):text)
}
},
{
title:'所属部门',
align:"center",
dataIndex: 'sysOrgCode'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/imsDefectiveInstock/list",
delete: "/imsDefectiveInstock/delete",
deleteBatch: "/imsDefectiveInstock/deleteBatch",
exportXlsUrl: "/imsDefectiveInstock/exportXls",
importExcelUrl: "imsDefectiveInstock/importExcel",
},
dictOptions:{},
dateValue:''
}
},
created() {
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
\ No newline at end of file
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button type="primary" icon="download" @click="handleExportXls('部门')">导出</a-button>
<a-button @click="handleReflash" type="primary" icon="redo" :loading="btnLoading">刷新</a-button>
<a-button @click="handleSync(selectedRowKeys)" type="primary" icon="sync" v-if="selectedRowKeys.length == 1" :loading="synLoading">同步数据</a-button>
<a-input-search v-model="dateValue" style="width: 350px;" enter-button :maxLength="10" placeholder="请输入筛选日期(格式:YYYY-MM-DD)" @search="handleSearch()"></a-input-search>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleDetail(record)">详情</a>
</span>
</a-table>
</div>
<ims-dept-modal ref="modalForm" @ok="modalFormOk"></ims-dept-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ImsDeptModal from './modules/ImsDeptModal'
export default {
name: 'ImsDeptList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ImsDeptModal
},
data () {
return {
description: '部门管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'部门编码',
align:"center",
dataIndex: 'deptId'
},
{
title:'部门名称',
align:"center",
dataIndex: 'deptName'
},
{
title:'使用组织编码',
align:"center",
dataIndex: 'orgId'
},
{
title:'禁用 Y-N',
align:"center",
dataIndex: 'disable'
},
{
title:'创建人',
align:"center",
dataIndex: 'createBy'
},
{
title:'创建时间',
align:"center",
dataIndex: 'createTime'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/imsDept/list",
delete: "/ims/imsDept/delete",
deleteBatch: "/ims/imsDept/deleteBatch",
exportXlsUrl: "/ims/imsDept/exportXls",
importExcelUrl: "ims/imsDept/importExcel",
syncUrl:'/imslog/synchronization'
},
dictOptions:{},
synLoading:false,
dateValue:''
}
},
created() {
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
\ No newline at end of file
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button type="primary" icon="download" @click="handleExportXls('ims发货通知单')">导出</a-button>
<a-button @click="handleReflash" type="primary" icon="redo" :loading="btnLoading">刷新</a-button>
<a-button @click="handleSync(selectedRowKeys)" type="primary" icon="sync" v-if="selectedRowKeys.length == 1" :loading="synLoading">同步数据</a-button>
<a-input-search v-model="dateValue" style="width: 350px;" enter-button :maxLength="10" placeholder="请输入筛选日期(格式:YYYY-MM-DD)" @search="handleSearch()"></a-input-search>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleDetail(record)">详情</a>
</span>
</a-table>
</div>
<ims-dn-modal ref="modalForm" @ok="modalFormOk"></ims-dn-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ImsDnModal from './modules/ImsDnModal'
export default {
name: 'ImsDnList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ImsDnModal
},
data () {
return {
description: 'ims发货通知单管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'通知单号',
align:"center",
dataIndex: 'auditId'
},
{
title:'客户编码',
align:"center",
dataIndex: 'custId'
},
{
title:'成品编码',
align:"center",
dataIndex: 'mtrlId'
},
{
title:'预计发货时间',
align:"center",
dataIndex: 'hdate'
},
{
title:'仓库编码',
align:"center",
dataIndex: 'storeId'
},
{
title:'数量',
align:"center",
dataIndex: 'quantity'
},
{
title:'备注',
align:"center",
dataIndex: 'remark'
},
{
title:'物料行号',
align:"center",
dataIndex: 'mtrlSeq'
},
{
title:'销售订单号',
align:"center",
dataIndex: 'soId'
},
{
title:'销售订单行号',
align:"center",
dataIndex: 'soSeq'
},
{
title:'是否赠品',
align:"center",
dataIndex: 'isPre'
},
{
title:'创建人',
align:"center",
dataIndex: 'createBy'
},
{
title:'创建时间',
align:"center",
dataIndex: 'createTime'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/imsDn/list",
delete: "/ims/imsDn/delete",
deleteBatch: "/ims/imsDn/deleteBatch",
exportXlsUrl: "/ims/imsDn/exportXls",
importExcelUrl: "ims/imsDn/importExcel",
syncUrl:'/imslog/synchronization'
},
dictOptions:{},
synLoading:false,
dateValue:''
}
},
created() {
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
\ No newline at end of file
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button type="primary" icon="download" @click="handleExportXls('ims_gain')">导出</a-button>
<a-button @click="handleReflash" type="primary" icon="redo" :loading="btnLoading">刷新</a-button>
<a-input-search v-model="dateValue" style="width: 350px;" enter-button :maxLength="10" placeholder="请输入筛选日期(格式:YYYY-MM-DD)" @search="handleSearch()"></a-input-search>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleDetail(record)">详情</a>
</span>
</a-table>
</div>
<ims-gain-modal ref="modalForm" @ok="modalFormOk"></ims-gain-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ImsGainModal from './modules/ImsGainModal'
export default {
name: 'ImsGainList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ImsGainModal
},
data () {
return {
description: 'ims_gain管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'唯一序号',
align:"center",
dataIndex: 'queueId'
},
{
title:'交易时间',
align:"center",
dataIndex: 'trxDate',
customRender:function (text) {
return !text?"":(text.length>10?text.substr(0,10):text)
}
},
{
title:'仓库编码',
align:"center",
dataIndex: 'storeId'
},
{
title:'物料编码',
align:"center",
dataIndex: 'mtrlId'
},
{
title:'数量',
align:"center",
dataIndex: 'quantity'
},
{
title:'备注',
align:"center",
dataIndex: 'remark'
},
{
title:'库存组织',
align:"center",
dataIndex: 'orgId'
},
{
title:'单据编号',
align:"center",
dataIndex: 'fbillNo'
},
{
title:'创建人',
align:"center",
dataIndex: 'createBy'
},
{
title:'创建时间',
align:"center",
dataIndex: 'createTime'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/imsGain/list",
delete: "/imsGain/delete",
deleteBatch: "/imsGain/deleteBatch",
exportXlsUrl: "/imsGain/exportXls",
importExcelUrl: "imsGain/importExcel",
},
dictOptions:{},
dateValue:''
}
},
created() {
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
\ No newline at end of file
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button type="primary" icon="download" @click="handleExportXls('ims_loss')">导出</a-button>
<a-button @click="handleReflash" type="primary" icon="redo" :loading="btnLoading">刷新</a-button>
<a-input-search v-model="dateValue" style="width: 350px;" enter-button :maxLength="10" placeholder="请输入筛选日期(格式:YYYY-MM-DD)" @search="handleSearch()"></a-input-search>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleDetail(record)">详情</a>
</span>
</a-table>
</div>
<ims-loss-modal ref="modalForm" @ok="modalFormOk"></ims-loss-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ImsLossModal from './modules/ImsLossModal'
export default {
name: 'ImsLossList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ImsLossModal
},
data () {
return {
description: 'ims_loss管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'唯一序号',
align:"center",
dataIndex: 'queueId'
},
{
title:'交易时间',
align:"center",
dataIndex: 'trxDate',
customRender:function (text) {
return !text?"":(text.length>10?text.substr(0,10):text)
}
},
{
title:'仓库编码',
align:"center",
dataIndex: 'storeId'
},
{
title:'物料编码',
align:"center",
dataIndex: 'mtrlId'
},
{
title:'数量',
align:"center",
dataIndex: 'quantity'
},
{
title:'备注',
align:"center",
dataIndex: 'remark'
},
{
title:'库存组织',
align:"center",
dataIndex: 'orgId'
},
{
title:'单据编号',
align:"center",
dataIndex: 'fbillNo'
},
{
title:'创建人',
align:"center",
dataIndex: 'createBy'
},
{
title:'创建时间',
align:"center",
dataIndex: 'createTime'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/imsLoss/list",
delete: "/imsLoss/delete",
deleteBatch: "/imsLoss/deleteBatch",
exportXlsUrl: "/imsLoss/exportXls",
importExcelUrl: "imsLoss/importExcel",
},
dictOptions:{},
dateValue:''
}
},
created() {
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
\ No newline at end of file
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button type="primary" icon="download" @click="handleExportXls('物料、成品基本信息')">导出</a-button>
<a-button @click="handleReflash" type="primary" icon="redo" :loading="btnLoading">刷新</a-button>
<a-button @click="handleSync(selectedRowKeys)" type="primary" icon="sync" v-if="selectedRowKeys.length == 1" :loading="synLoading">同步数据</a-button>
<a-input-search v-model="dateValue" style="width: 350px;" enter-button :maxLength="10" placeholder="请输入筛选日期(格式:YYYY-MM-DD)" @search="handleSearch()"></a-input-search>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleDetail(record)">详情</a>
</span>
</a-table>
</div>
<ims-mtrl-modal ref="modalForm" @ok="modalFormOk"></ims-mtrl-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ImsMtrlModal from './modules/ImsMtrlModal'
export default {
name: 'ImsMtrlList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ImsMtrlModal
},
data () {
return {
description: '物料、成品基本信息管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'物料编码',
align:"center",
dataIndex: 'mtrlId'
},
{
title:'物料名称',
align:"center",
dataIndex: 'mtrlName'
},
{
title:'物料规格',
align:"center",
dataIndex: 'mtrlDesc'
},
{
title:'生产分类(1原材料--外购件2成品--自制、委外加工、虚拟件)',
align:"center",
dataIndex: 'prodMtype'
},
{
title:'最小包装数量 默认1',
align:"center",
dataIndex: 'packQty'
},
{
title:'单位编码',
align:"center",
dataIndex: 'munit'
},
{
title:'ABC分类 默认2',
align:"center",
dataIndex: 'mtrlLev'
},
{
title:'禁用 Y- N',
align:"center",
dataIndex: 'disable'
},
{
title:'是否免检(Y是N否) 默认 N',
align:"center",
dataIndex: 'isSts'
},
{
title:'使用组织编码',
align:"center",
dataIndex: 'orgId'
},
{
title:'物料分组(电子,)',
align:"center",
dataIndex: 'mtrlGroup'
},
{
title:'默认仓库',
align:"center",
dataIndex: 'storeId'
},
{
title:'承认状态(0--未承认 1—已承认)',
align:"center",
dataIndex: 'isAdmit'
},
{
title:'创建人',
align:"center",
dataIndex: 'createBy'
},
{
title:'创建时间',
align:"center",
dataIndex: 'createTime'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/imsMtrl/list",
delete: "/ims/imsMtrl/delete",
deleteBatch: "/ims/imsMtrl/deleteBatch",
exportXlsUrl: "/ims/imsMtrl/exportXls",
importExcelUrl: "ims/imsMtrl/importExcel",
syncUrl:'/imslog/synchronization'
},
dictOptions:{},
synLoading:false,
dateValue:''
}
},
created() {
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
\ No newline at end of file
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button type="primary" icon="download" @click="handleExportXls('ims_mtrl_reject')">导出</a-button>
<a-button @click="handleReflash" type="primary" icon="redo" :loading="btnLoading">刷新</a-button>
<a-input-search v-model="dateValue" style="width: 350px;" enter-button :maxLength="10" placeholder="请输入筛选日期(格式:YYYY-MM-DD)" @search="handleSearch()"></a-input-search>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleDetail(record)">详情</a>
</span>
</a-table>
</div>
<ims-mtrl-reject-modal ref="modalForm" @ok="modalFormOk"></ims-mtrl-reject-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ImsMtrlRejectModal from './modules/ImsMtrlRejectModal'
export default {
name: 'ImsMtrlRejectList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ImsMtrlRejectModal
},
data () {
return {
description: 'ims_mtrl_reject管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'唯一序号',
align:"center",
dataIndex: 'queueId'
},
{
title:'交易时间',
align:"center",
dataIndex: 'trxDate',
customRender:function (text) {
return !text?"":(text.length>10?text.substr(0,10):text)
}
},
{
title:'仓库编码',
align:"center",
dataIndex: 'storeId'
},
{
title:'供应商编码 没有则为空',
align:"center",
dataIndex: 'supId'
},
{
title:'物料编码',
align:"center",
dataIndex: 'mtrlId'
},
{
title:'数量',
align:"center",
dataIndex: 'quantity'
},
{
title:'备注',
align:"center",
dataIndex: 'remark'
},
{
title:'采购单编码',
align:"center",
dataIndex: 'poId'
},
{
title:'采购单行号',
align:"center",
dataIndex: 'poSeq'
},
{
title:'采购组织',
align:"center",
dataIndex: 'orgId'
},
{
title:'单据编号',
align:"center",
dataIndex: 'fbillNo'
},
{
title:'创建人',
align:"center",
dataIndex: 'createBy'
},
{
title:'创建时间',
align:"center",
dataIndex: 'createTime'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/imsMtrlReject/list",
delete: "/imsMtrlReject/delete",
deleteBatch: "/imsMtrlReject/deleteBatch",
exportXlsUrl: "/imsMtrlReject/exportXls",
importExcelUrl: "imsMtrlReject/importExcel",
},
dictOptions:{},
dateValue:''
}
},
created() {
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
\ No newline at end of file
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button type="primary" icon="download" @click="handleExportXls('ims_mtrl_xx')">导出</a-button>
<a-button @click="handleReflash" type="primary" icon="redo" :loading="btnLoading">刷新</a-button>
<a-input-search v-model="dateValue" style="width: 350px;" enter-button :maxLength="10" placeholder="请输入筛选日期(格式:YYYY-MM-DD)" @search="handleSearch()"></a-input-search>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleDetail(record)">详情</a>
</span>
</a-table>
</div>
<ims-mtrl-xx-modal ref="modalForm" @ok="modalFormOk"></ims-mtrl-xx-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ImsMtrlXxModal from './modules/ImsMtrlXxModal'
export default {
name: 'ImsMtrlXxList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ImsMtrlXxModal
},
data () {
return {
description: 'ims_mtrl_xx管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'唯一序号',
align:"center",
dataIndex: 'queueId'
},
{
title:'交易时间',
align:"center",
dataIndex: 'trxDate',
customRender:function (text) {
return !text?"":(text.length>10?text.substr(0,10):text)
}
},
{
title:'出库仓库',
align:"center",
dataIndex: 'storeId'
},
{
title:'入库仓库',
align:"center",
dataIndex: 'tostoreId'
},
{
title:'物料编码',
align:"center",
dataIndex: 'mtrlId'
},
{
title:'数量',
align:"center",
dataIndex: 'quantity'
},
{
title:'备注',
align:"center",
dataIndex: 'remark'
},
{
title:'库存组织',
align:"center",
dataIndex: 'orgId'
},
{
title:'调出货主类型',
align:"center",
dataIndex: 'shipperType'
},
{
title:'调出货主编号',
align:"center",
dataIndex: 'shipperId'
},
{
title:'调入货主类型',
align:"center",
dataIndex: 'toShipperType'
},
{
title:'调入货主编码',
align:"center",
dataIndex: 'toShipperId'
},
{
title:'单据编号',
align:"center",
dataIndex: 'fbillNo'
},
{
title:'创建人',
align:"center",
dataIndex: 'createBy'
},
{
title:'创建时间',
align:"center",
dataIndex: 'createTime'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/imsMtrlXx/list",
delete: "/imsMtrlXx/delete",
deleteBatch: "/imsMtrlXx/deleteBatch",
exportXlsUrl: "/imsMtrlXx/exportXls",
importExcelUrl: "imsMtrlXx/importExcel",
},
dictOptions:{},
dateValue:''
}
},
created() {
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
\ No newline at end of file
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button type="primary" icon="download" @click="handleExportXls('ims其他入库单')">导出</a-button>
<a-button @click="handleReflash" type="primary" icon="redo" :loading="btnLoading">刷新</a-button>
<a-input-search v-model="dateValue" style="width: 350px;" enter-button :maxLength="10" placeholder="请输入筛选日期(格式:YYYY-MM-DD)" @search="handleSearch()"></a-input-search>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleDetail(record)">详情</a>
</span>
</a-table>
</div>
<ims-other-godownentry-modal ref="modalForm" @ok="modalFormOk"></ims-other-godownentry-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ImsOtherGodownentryModal from './modules/ImsOtherGodownentryModal'
export default {
name: 'ImsOtherGodownentryList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ImsOtherGodownentryModal
},
data () {
return {
description: 'ims其他入库单管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'唯一序号',
align:"center",
dataIndex: 'queueId'
},
{
title:'交易时间',
align:"center",
dataIndex: 'trxDate'
},
{
title:'仓库编码',
align:"center",
dataIndex: 'storeId'
},
{
title:'物料编码',
align:"center",
dataIndex: 'mtrlId'
},
{
title:'数量',
align:"center",
dataIndex: 'quantity'
},
{
title:'备注',
align:"center",
dataIndex: 'remark'
},
{
title:'库存组织',
align:"center",
dataIndex: 'orgId'
},
{
title:'部门编码',
align:"center",
dataIndex: 'deptId'
},
{
title:'货主类型 (1 业务组织 2供应商 3客户)',
align:"center",
dataIndex: 'shipperType'
},
{
title:'货主编码 -- (按货主类型选择 供应商或客户)',
align:"center",
dataIndex: 'shipperId'
},
{
title:'明细信息行号',
align:"center",
dataIndex: 'fseq'
},
{
title:'单据编码',
align:"center",
dataIndex: 'fbillno'
},
{
title:'创建人',
align:"center",
dataIndex: 'createBy'
},
{
title:'创建时间',
align:"center",
dataIndex: 'createTime'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/imsOtherGodownentry/list",
delete: "/ims/imsOtherGodownentry/delete",
deleteBatch: "/ims/imsOtherGodownentry/deleteBatch",
exportXlsUrl: "/ims/imsOtherGodownentry/exportXls",
importExcelUrl: "ims/imsOtherGodownentry/importExcel",
},
dictOptions:{},
dateValue:''
}
},
created() {
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
\ No newline at end of file
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button type="primary" icon="download" @click="handleExportXls('ims_other_outstock')">导出</a-button>
<a-button @click="handleReflash" type="primary" icon="redo" :loading="btnLoading">刷新</a-button>
<a-button @click="handleSync(selectedRowKeys)" type="primary" icon="sync" v-if="selectedRowKeys.length == 1" :loading="synLoading">同步数据</a-button>
<a-input-search v-model="dateValue" style="width: 350px;" enter-button :maxLength="10" placeholder="请输入筛选日期(格式:YYYY-MM-DD)" @search="handleSearch()"></a-input-search>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleDetail(record)">详情</a>
</span>
</a-table>
</div>
<ims-other-outstock-modal ref="modalForm" @ok="modalFormOk"></ims-other-outstock-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ImsOtherOutstockModal from './modules/ImsOtherOutstockModal'
export default {
name: 'ImsOtherOutstockList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ImsOtherOutstockModal
},
data () {
return {
description: 'ims_other_outstock管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'唯一序号',
align:"center",
dataIndex: 'queueId'
},
{
title:'交易时间',
align:"center",
dataIndex: 'trxDate',
customRender:function (text) {
return !text?"":(text.length>10?text.substr(0,10):text)
}
},
{
title:'仓库编码',
align:"center",
dataIndex: 'storeId'
},
{
title:'物料编码',
align:"center",
dataIndex: 'mtrlId'
},
{
title:'数量',
align:"center",
dataIndex: 'quantity'
},
{
title:'备注',
align:"center",
dataIndex: 'remark'
},
{
title:'库存组织',
align:"center",
dataIndex: 'orgId'
},
{
title:'研发项目编码 --IMS增加项目维护 ',
align:"center",
dataIndex: 'itemId'
},
{
title:'部门编码',
align:"center",
dataIndex: 'deptId'
},
{
title:'货主类型 (1 业务组织 2供应商 3客户)',
align:"center",
dataIndex: 'shipperType'
},
{
title:'货主编码',
align:"center",
dataIndex: 'shipperId'
},
{
title:'单据编号',
align:"center",
dataIndex: 'fbillNo'
},
{
title:'创建人',
align:"center",
dataIndex: 'createBy'
},
{
title:'创建时间',
align:"center",
dataIndex: 'createTime'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/imsOtherOutstock/list",
delete: "/imsOtherOutstock/delete",
deleteBatch: "/imsOtherOutstock/deleteBatch",
exportXlsUrl: "/imsOtherOutstock/exportXls",
importExcelUrl: "imsOtherOutstock/importExcel",
syncUrl:'/imslog/synchronization'
},
dictOptions:{},
synLoading:false,
dateValue:''
}
},
created() {
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
\ No newline at end of file
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button type="primary" icon="download" @click="handleExportXls('ims_out_instock')">导出</a-button>
<a-button @click="handleReflash" type="primary" icon="redo" :loading="btnLoading">刷新</a-button>
<a-input-search v-model="dateValue" style="width: 350px;" enter-button :maxLength="10" placeholder="请输入筛选日期(格式:YYYY-MM-DD)" @search="handleSearch()"></a-input-search>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleDetail(record)">详情</a>
</span>
</a-table>
</div>
<ims-out-instock-modal ref="modalForm" @ok="modalFormOk"></ims-out-instock-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ImsOutInstockModal from './modules/ImsOutInstockModal'
export default {
name: 'ImsOutInstockList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ImsOutInstockModal
},
data () {
return {
description: 'ims_out_instock管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'唯一序号',
align:"center",
dataIndex: 'queueId'
},
{
title:'交易时间',
align:"center",
dataIndex: 'trxDate',
customRender:function (text) {
return !text?"":(text.length>10?text.substr(0,10):text)
}
},
{
title:'仓库编码',
align:"center",
dataIndex: 'storeId'
},
{
title:'ERP工单编码',
align:"center",
dataIndex: 'erpMo'
},
{
title:'物料编码',
align:"center",
dataIndex: 'mtrlId'
},
{
title:'数量',
align:"center",
dataIndex: 'quantity'
},
{
title:'备注',
align:"center",
dataIndex: 'remark'
},
{
title:'ERP工单行号',
align:"center",
dataIndex: 'erpMoSeq'
},
{
title:'单据编号',
align:"center",
dataIndex: 'fbillNo'
},
{
title:'创建人',
align:"center",
dataIndex: 'createBy'
},
{
title:'创建时间',
align:"center",
dataIndex: 'createTime'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/imsOutInstock/list",
delete: "/imsOutInstock/delete",
deleteBatch: "/imsOutInstock/deleteBatch",
exportXlsUrl: "/imsOutInstock/exportXls",
importExcelUrl: "/imsOutInstock/importExcel",
},
dictOptions:{},
dateValue:''
}
},
created() {
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
\ No newline at end of file
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button type="primary" icon="download" @click="handleExportXls('ims_out_picking')">导出</a-button>
<a-button @click="handleReflash" type="primary" icon="redo" :loading="btnLoading">刷新</a-button>
<a-input-search v-model="dateValue" style="width: 350px;" enter-button :maxLength="10" placeholder="请输入筛选日期(格式:YYYY-MM-DD)" @search="handleSearch()"></a-input-search>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleDetail(record)">详情</a>
</span>
</a-table>
</div>
<ims-out-picking-modal ref="modalForm" @ok="modalFormOk"></ims-out-picking-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ImsOutPickingModal from './modules/ImsOutPickingModal'
export default {
name: 'ImsOutPickingList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ImsOutPickingModal
},
data () {
return {
description: 'ims_out_picking管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'唯一序号',
align:"center",
dataIndex: 'queueId'
},
{
title:'交易时间',
align:"center",
dataIndex: 'trxDate',
customRender:function (text) {
return !text?"":(text.length>10?text.substr(0,10):text)
}
},
{
title:'仓库编码',
align:"center",
dataIndex: 'storeId'
},
{
title:'ERP工单编码',
align:"center",
dataIndex: 'erpMo'
},
{
title:'供应商编码 没有则为空',
align:"center",
dataIndex: 'supId'
},
{
title:'物料编码',
align:"center",
dataIndex: 'mtrlId'
},
{
title:'数量',
align:"center",
dataIndex: 'quantity'
},
{
title:'备注',
align:"center",
dataIndex: 'remark'
},
{
title:'生产组织、发料组织默认相同',
align:"center",
dataIndex: 'orgId'
},
{
title:'ERP工单行号',
align:"center",
dataIndex: 'erpMoSeq'
},
{
title:'需求清单行号',
align:"center",
dataIndex: 'seq'
},
{
title:'行内码',
align:"center",
dataIndex: 'seqEntryCode'
},
{
title:'单据编号',
align:"center",
dataIndex: 'fbillNo'
},
{
title:'创建人',
align:"center",
dataIndex: 'createBy'
},
{
title:'创建时间',
align:"center",
dataIndex: 'createTime'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/imsOutPicking/list",
delete: "/imsOutPicking/delete",
deleteBatch: "/imsOutPicking/deleteBatch",
exportXlsUrl: "/imsOutPicking/exportXls",
importExcelUrl: "/imsOutPicking/importExcel",
},
dictOptions:{},
dateValue:''
}
},
created() {
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
\ No newline at end of file
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button type="primary" icon="download" @click="handleExportXls('ims_out_supply_picking')">导出</a-button>
<a-button @click="handleReflash" type="primary" icon="redo" :loading="btnLoading">刷新</a-button>
<a-input-search v-model="dateValue" style="width: 350px;" enter-button :maxLength="10" placeholder="请输入筛选日期(格式:YYYY-MM-DD)" @search="handleSearch()"></a-input-search>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleDetail(record)">详情</a>
</span>
</a-table>
</div>
<ims-out-supply-picking-modal ref="modalForm" @ok="modalFormOk"></ims-out-supply-picking-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ImsOutSupplyPickingModal from './modules/ImsOutSupplyPickingModal'
export default {
name: 'ImsOutSupplyPickingList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ImsOutSupplyPickingModal
},
data () {
return {
description: 'ims_out_supply_picking管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'唯一序号',
align:"center",
dataIndex: 'queueId'
},
{
title:'交易时间',
align:"center",
dataIndex: 'trxDate',
customRender:function (text) {
return !text?"":(text.length>10?text.substr(0,10):text)
}
},
{
title:'仓库编码',
align:"center",
dataIndex: 'storeId'
},
{
title:'ERP工单编码',
align:"center",
dataIndex: 'erpMo'
},
{
title:'供应商编码 没有则为空',
align:"center",
dataIndex: 'supId'
},
{
title:'物料编码',
align:"center",
dataIndex: 'mtrlId'
},
{
title:'数量',
align:"center",
dataIndex: 'quantity'
},
{
title:'备注',
align:"center",
dataIndex: 'remark'
},
{
title:'生产组织、发料组织默认相同',
align:"center",
dataIndex: 'orgId'
},
{
title:'ERP工单行号',
align:"center",
dataIndex: 'erpMoSeq'
},
{
title:'需求清单行号',
align:"center",
dataIndex: 'seq'
},
{
title:'行内码',
align:"center",
dataIndex: 'seqEntryCode'
},
{
title:'单据编号',
align:"center",
dataIndex: 'fbillNo'
},
{
title:'创建人',
align:"center",
dataIndex: 'createBy'
},
{
title:'创建时间',
align:"center",
dataIndex: 'createTime'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/imsOutSupplyPicking/list",
delete: "/imsOutSupplyPicking/delete",
deleteBatch: "/imsOutSupplyPicking/deleteBatch",
exportXlsUrl: "/imsOutSupplyPicking/exportXls",
importExcelUrl: "imsOutSupplyPicking/importExcel",
},
dictOptions:{},
dateValue:''
}
},
created() {
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
\ No newline at end of file
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button type="primary" icon="download" @click="handleExportXls('ims采购订单表')">导出</a-button>
<a-button @click="handleReflash" type="primary" icon="redo" :loading="btnLoading">刷新</a-button>
<a-input-search v-model="dateValue" style="width: 350px;" enter-button :maxLength="10" placeholder="请输入筛选日期(格式:YYYY-MM-DD)" @search="handleSearch()"></a-input-search>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleDetail(record)">详情</a>
</span>
</a-table>
</div>
<ims-po-modal ref="modalForm" @ok="modalFormOk"></ims-po-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ImsPoModal from './modules/ImsPoModal'
export default {
name: 'ImsPoList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ImsPoModal
},
data () {
return {
description: 'ims采购订单表管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'采购单编码',
align:"center",
dataIndex: 'poId'
},
{
title:'采购单行号',
align:"center",
dataIndex: 'poLine'
},
{
title:'物料编码',
align:"center",
dataIndex: 'mtrlId'
},
{
title:'物料数量',
align:"center",
dataIndex: 'mqty'
},
{
title:'已接收数量 --收料通知单数量',
align:"center",
dataIndex: 'rmQty'
},
{
title:'已入库数量',
align:"center",
dataIndex: 'smQty'
},
{
title:'供应商编码',
align:"center",
dataIndex: 'supId'
},
{
title:'仓库编码 默认空',
align:"center",
dataIndex: 'storeId'
},
{
title:'是否委外 (Y是N否)单据类型(标准委外和标准采购区分)',
align:"center",
dataIndex: 'isOuts'
},
{
title:'物料采购交期',
align:"center",
dataIndex: 'pdhDate'
},
{
title:'采购组织',
align:"center",
dataIndex: 'poOrgId'
},
{
title:'收料组织',
align:"center",
dataIndex: 'orgId'
},
{
title:'创建人',
align:"center",
dataIndex: 'createBy'
},
{
title:'创建时间',
align:"center",
dataIndex: 'createTime'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/imsPo/list",
delete: "/imsPo/delete",
deleteBatch: "/imsPo/deleteBatch",
exportXlsUrl: "/imsPo/exportXls",
importExcelUrl: "/imsPo/importExcel",
},
dictOptions:{},
dateValue:''
}
},
created() {
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
\ No newline at end of file
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button type="primary" icon="download" @click="handleExportXls('ims_produce_instock')">导出</a-button>
<a-button @click="handleReflash" type="primary" icon="redo" :loading="btnLoading">刷新</a-button>
<a-input-search v-model="dateValue" style="width: 350px;" enter-button :maxLength="10" placeholder="请输入筛选日期(格式:YYYY-MM-DD)" @search="handleSearch()"></a-input-search>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleDetail(record)">详情</a>
</span>
</a-table>
</div>
<ims-produce-instock-modal ref="modalForm" @ok="modalFormOk"></ims-produce-instock-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ImsProduceInstockModal from './modules/ImsProduceInstockModal'
export default {
name: 'ImsProduceInstockList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ImsProduceInstockModal
},
data () {
return {
description: 'ims_produce_instock管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'唯一序号',
align:"center",
dataIndex: 'queueId'
},
{
title:'交易时间',
align:"center",
dataIndex: 'trxDate',
customRender:function (text) {
return !text?"":(text.length>10?text.substr(0,10):text)
}
},
{
title:'仓库编码',
align:"center",
dataIndex: 'storeId'
},
{
title:'ERP工单编码',
align:"center",
dataIndex: 'erpMo'
},
{
title:'物料编码',
align:"center",
dataIndex: 'mtrlId'
},
{
title:'数量',
align:"center",
dataIndex: 'quantity'
},
{
title:'备注',
align:"center",
dataIndex: 'remark'
},
{
title:'入库组织、生产组织相同',
align:"center",
dataIndex: 'orgId'
},
{
title:'ERP工单行号',
align:"center",
dataIndex: 'erpMoSeq'
},
{
title:'入库类型(1 良品类型 2 不良品入库 3报废品入库 4返工品入库)',
align:"center",
dataIndex: 'rkType'
},
{
title:'单据编号',
align:"center",
dataIndex: 'fbillNo'
},
{
title:'创建人',
align:"center",
dataIndex: 'createBy'
},
{
title:'创建时间',
align:"center",
dataIndex: 'createTime'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/imsProduceInstock/list",
delete: "/imsProduceInstock/delete",
deleteBatch: "/imsProduceInstock/deleteBatch",
exportXlsUrl: "/imsProduceInstock/exportXls",
importExcelUrl: "/imsProduceInstock/importExcel",
},
dictOptions:{},
dateValue:''
}
},
created() {
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
\ No newline at end of file
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button type="primary" icon="download" @click="handleExportXls('ims_production_out_reject')">导出</a-button>
<a-button @click="handleReflash" type="primary" icon="redo" :loading="btnLoading">刷新</a-button>
<a-input-search v-model="dateValue" style="width: 350px;" enter-button :maxLength="10" placeholder="请输入筛选日期(格式:YYYY-MM-DD)" @search="handleSearch()"></a-input-search>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleDetail(record)">详情</a>
</span>
</a-table>
</div>
<ims-production-out-reject-modal ref="modalForm" @ok="modalFormOk"></ims-production-out-reject-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ImsProductionOutRejectModal from './modules/ImsProductionOutRejectModal'
export default {
name: 'ImsProductionOutRejectList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ImsProductionOutRejectModal
},
data () {
return {
description: 'ims_production_out_reject管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'唯一序号',
align:"center",
dataIndex: 'queueId'
},
{
title:'交易时间',
align:"center",
dataIndex: 'trxDate',
customRender:function (text) {
return !text?"":(text.length>10?text.substr(0,10):text)
}
},
{
title:'仓库编码',
align:"center",
dataIndex: 'storeId'
},
{
title:'ERP工单编码',
align:"center",
dataIndex: 'erpMo'
},
{
title:'物料编码',
align:"center",
dataIndex: 'mtrlId'
},
{
title:'数量',
align:"center",
dataIndex: 'quantity'
},
{
title:'备注',
align:"center",
dataIndex: 'remark'
},
{
title:'行内码',
align:"center",
dataIndex: 'seqEntryCode'
},
{
title:'需求清单号',
align:"center",
dataIndex: 'seq'
},
{
title:'生产组织',
align:"center",
dataIndex: 'orgId'
},
{
title:'ERP工单行号',
align:"center",
dataIndex: 'erpMoSeq'
},
{
title:'退料类型(1良品退料 2来料不良退料 3作业不良退料)',
align:"center",
dataIndex: 'tlType'
},
{
title:'单据编号',
align:"center",
dataIndex: 'fbillNo'
},
{
title:'创建人',
align:"center",
dataIndex: 'createBy'
},
{
title:'创建时间',
align:"center",
dataIndex: 'createTime'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/imsProductionOutReject/list",
delete: "/imsProductionOutReject/delete",
deleteBatch: "/imsProductionOutReject/deleteBatch",
exportXlsUrl: "/imsProductionOutReject/exportXls",
importExcelUrl: "imsProductionOutReject/importExcel",
},
dictOptions:{},
dateValue:''
}
},
created() {
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
\ No newline at end of file
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button type="primary" icon="download" @click="handleExportXls('ims_production_reject')">导出</a-button>
<a-button @click="handleReflash" type="primary" icon="redo" :loading="btnLoading">刷新</a-button>
<a-input-search v-model="dateValue" style="width: 350px;" enter-button :maxLength="10" placeholder="请输入筛选日期(格式:YYYY-MM-DD)" @search="handleSearch()"></a-input-search>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleDetail(record)">详情</a>
</span>
</a-table>
</div>
<ims-production-reject-modal ref="modalForm" @ok="modalFormOk"></ims-production-reject-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ImsProductionRejectModal from './modules/ImsProductionRejectModal'
export default {
name: 'ImsProductionRejectList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ImsProductionRejectModal
},
data () {
return {
description: 'ims_production_reject管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'唯一序号',
align:"center",
dataIndex: 'queueId'
},
{
title:'交易时间',
align:"center",
dataIndex: 'trxDate',
customRender:function (text) {
return !text?"":(text.length>10?text.substr(0,10):text)
}
},
{
title:'仓库编码',
align:"center",
dataIndex: 'storeId'
},
{
title:'ERP工单编码',
align:"center",
dataIndex: 'erpMo'
},
{
title:'物料编码',
align:"center",
dataIndex: 'mtrlId'
},
{
title:'数量',
align:"center",
dataIndex: 'quantity'
},
{
title:'备注',
align:"center",
dataIndex: 'remark'
},
{
title:'供应商编码 没有则为空',
align:"center",
dataIndex: 'supId'
},
{
title:'需求清单号',
align:"center",
dataIndex: 'seq'
},
{
title:'生产组织',
align:"center",
dataIndex: 'orgId'
},
{
title:'ERP工单行号',
align:"center",
dataIndex: 'erpMoSeq'
},
{
title:'行内码',
align:"center",
dataIndex: 'seqEntryCode'
},
{
title:'退料类型(1良品退料 2来料不良退料 3作业不良退料)',
align:"center",
dataIndex: 'tlType'
},
{
title:'单据编号',
align:"center",
dataIndex: 'fbillNo'
},
{
title:'创建人',
align:"center",
dataIndex: 'createBy'
},
{
title:'创建时间',
align:"center",
dataIndex: 'createTime'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/imsProductionReject/list",
delete: "/imsProductionReject/delete",
deleteBatch: "/imsProductionReject/deleteBatch",
exportXlsUrl: "/imsProductionReject/exportXls",
importExcelUrl: "imsProductionReject/importExcel",
},
dictOptions:{},
dateValue:''
}
},
created() {
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
\ No newline at end of file
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button type="primary" icon="download" @click="handleExportXls('生产领料')">导出</a-button>
<a-button @click="handleReflash" type="primary" icon="redo" :loading="btnLoading">刷新</a-button>
<a-input-search v-model="dateValue" style="width: 350px;" enter-button :maxLength="10" placeholder="请输入筛选日期(格式:YYYY-MM-DD)" @search="handleSearch()"></a-input-search>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleDetail(record)">详情</a>
</span>
</a-table>
</div>
<ims-productionpicking-modal ref="modalForm" @ok="modalFormOk"></ims-productionpicking-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ImsProductionpickingModal from './modules/ImsProductionpickingModal'
export default {
name: 'ImsProductionpickingList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ImsProductionpickingModal
},
data () {
return {
description: '生产领料管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'唯一序号',
align:"center",
dataIndex: 'queueId'
},
{
title:'交易时间',
align:"center",
dataIndex: 'trxDate'
},
{
title:'仓库编码',
align:"center",
dataIndex: 'storeId'
},
{
title:'ERP工单编码',
align:"center",
dataIndex: 'erpMo'
},
{
title:'物料编码',
align:"center",
dataIndex: 'mtrlId'
},
{
title:'数量',
align:"center",
dataIndex: 'quantity'
},
{
title:'备注',
align:"center",
dataIndex: 'remark'
},
{
title:'生产组织、发料组织默认相同',
align:"center",
dataIndex: 'orgId'
},
{
title:'ERP工单行号',
align:"center",
dataIndex: 'erpMoSeq'
},
{
title:'需求清单行号',
align:"center",
dataIndex: 'seq'
},
{
title:'行内码',
align:"center",
dataIndex: 'seqEntryCode'
},
{
title:'单据编码',
align:"center",
dataIndex: 'fbillno'
},
{
title:'明细信息行号',
align:"center",
dataIndex: 'fseq'
},
{
title:'创建人',
align:"center",
dataIndex: 'createBy'
},
{
title:'创建时间',
align:"center",
dataIndex: 'createTime'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/imsProductionpicking/list",
delete: "/ims/imsProductionpicking/delete",
deleteBatch: "/ims/imsProductionpicking/deleteBatch",
exportXlsUrl: "/ims/imsProductionpicking/exportXls",
importExcelUrl: "ims/imsProductionpicking/importExcel",
},
dictOptions:{},
dateValue:''
}
},
created() {
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
\ No newline at end of file
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button type="primary" icon="download" @click="handleExportXls('采购订单收料入库')">导出</a-button>
<a-button @click="handleReflash" type="primary" icon="redo" :loading="btnLoading">刷新</a-button>
<a-input-search v-model="dateValue" style="width: 350px;" enter-button :maxLength="10" placeholder="请输入筛选日期(格式:YYYY-MM-DD)" @search="handleSearch()"></a-input-search>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleDetail(record)">详情</a>
</span>
</a-table>
</div>
<ims-purchase-modal ref="modalForm" @ok="modalFormOk"></ims-purchase-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ImsPurchaseModal from './modules/ImsPurchaseModal'
export default {
name: 'ImsPurchaseList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ImsPurchaseModal
},
data () {
return {
description: '采购订单收料入库管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'唯一序号',
align:"center",
dataIndex: 'queueId'
},
{
title:'交易时间',
align:"center",
dataIndex: 'trxDate'
},
{
title:'仓库编码',
align:"center",
dataIndex: 'storeId'
},
{
title:'供应商编码',
align:"center",
dataIndex: 'supId'
},
{
title:'采购单号',
align:"center",
dataIndex: 'poId'
},
{
title:'采购单行号',
align:"center",
dataIndex: 'poSeq'
},
{
title:'物料编码',
align:"center",
dataIndex: 'mtrlId'
},
{
title:'数量',
align:"center",
dataIndex: 'quantity'
},
{
title:'备注',
align:"center",
dataIndex: 'remark'
},
{
title:'收料组织',
align:"center",
dataIndex: 'orgId'
},
{
title:'采购组织',
align:"center",
dataIndex: 'poOrgId'
},
{
title:'单据编码',
align:"center",
dataIndex: 'fbillno'
},
{
title:'创建人',
align:"center",
dataIndex: 'createBy'
},
{
title:'创建时间',
align:"center",
dataIndex: 'createTime'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/imsPurchase/list",
delete: "/imsPurchase/delete",
deleteBatch: "/imsPurchase/deleteBatch",
exportXlsUrl: "/imsPurchase/exportXls",
importExcelUrl: "imsPurchase/importExcel",
},
dictOptions:{},
dateValue:''
}
},
created() {
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
\ No newline at end of file
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button type="primary" icon="download" @click="handleExportXls('ims_sales_store')">导出</a-button>
<a-button @click="handleReflash" type="primary" icon="redo" :loading="btnLoading">刷新</a-button>
<a-input-search v-model="dateValue" style="width: 350px;" enter-button :maxLength="10" placeholder="请输入筛选日期(格式:YYYY-MM-DD)" @search="handleSearch()"></a-input-search>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleDetail(record)">详情</a>
</span>
</a-table>
</div>
<ims-sales-store-modal ref="modalForm" @ok="modalFormOk"></ims-sales-store-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ImsSalesStoreModal from './modules/ImsSalesStoreModal'
export default {
name: 'ImsSalesStoreList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ImsSalesStoreModal
},
data () {
return {
description: 'ims_sales_store管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'唯一序号',
align:"center",
dataIndex: 'queueId'
},
{
title:'交易时间',
align:"center",
dataIndex: 'trxDate',
customRender:function (text) {
return !text?"":(text.length>10?text.substr(0,10):text)
}
},
{
title:'仓库编码',
align:"center",
dataIndex: 'storeId'
},
{
title:'发货通知单号',
align:"center",
dataIndex: 'auditId'
},
{
title:'销售单行号',
align:"center",
dataIndex: 'auditSeq'
},
{
title:'物料编码',
align:"center",
dataIndex: 'mtrlId'
},
{
title:'数量',
align:"center",
dataIndex: 'quantity'
},
{
title:'备注',
align:"center",
dataIndex: 'remark'
},
{
title:'单据编号',
align:"center",
dataIndex: 'fbillNo'
},
{
title:'创建人',
align:"center",
dataIndex: 'createBy'
},
{
title:'创建时间',
align:"center",
dataIndex: 'createTime'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/imsSalesStore/list",
delete: "/imsSalesStore/delete",
deleteBatch: "/imsSalesStore/deleteBatch",
exportXlsUrl: "/imsSalesStore/exportXls",
importExcelUrl: "/imsSalesStore/importExcel",
},
dictOptions:{},
dateValue:''
}
},
created() {
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
\ No newline at end of file
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button type="primary" icon="download" @click="handleExportXls('销售退货 --出货冲销收料类型')">导出</a-button>
<a-button @click="handleReflash" type="primary" icon="redo" :loading="btnLoading">刷新</a-button>
<a-input-search v-model="dateValue" style="width: 350px;" enter-button :maxLength="10" placeholder="请输入筛选日期(格式:YYYY-MM-DD)" @search="handleSearch()"></a-input-search>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleDetail(record)">详情</a>
</span>
</a-table>
</div>
<ims-salesreturn-modal ref="modalForm" @ok="modalFormOk"></ims-salesreturn-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ImsSalesreturnModal from './modules/ImsSalesreturnModal'
export default {
name: 'ImsSalesreturnList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ImsSalesreturnModal
},
data () {
return {
description: '销售退货 --出货冲销收料类型管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'唯一序号',
align:"center",
dataIndex: 'queueId'
},
{
title:'交易时间',
align:"center",
dataIndex: 'trxDate'
},
{
title:'仓库编码',
align:"center",
dataIndex: 'storeId'
},
{
title:'物料编码',
align:"center",
dataIndex: 'mtrlId'
},
{
title:'数量',
align:"center",
dataIndex: 'quantity'
},
{
title:'备注',
align:"center",
dataIndex: 'remark'
},
{
title:'库存组织',
align:"center",
dataIndex: 'orgId'
},
{
title:'销售订单',
align:"center",
dataIndex: 'soId'
},
{
title:'销售订单行号',
align:"center",
dataIndex: 'soSeq'
},
{
title:'单据编码',
align:"center",
dataIndex: 'fbillno'
},
{
title:'明细信息行号',
align:"center",
dataIndex: 'fseq'
},
{
title:'创建人',
align:"center",
dataIndex: 'createBy'
},
{
title:'创建时间',
align:"center",
dataIndex: 'createTime'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/imsSalesreturn/list",
delete: "/ims/imsSalesreturn/delete",
deleteBatch: "/ims/imsSalesreturn/deleteBatch",
exportXlsUrl: "/ims/imsSalesreturn/exportXls",
importExcelUrl: "ims/imsSalesreturn/importExcel",
},
dictOptions:{},
dateValue:''
}
},
created() {
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
\ No newline at end of file
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button type="primary" icon="download" @click="handleExportXls('ims仓库基本信息')">导出</a-button>
<a-button @click="handleReflash" type="primary" icon="redo" :loading="btnLoading">刷新</a-button>
<a-button @click="handleSync(selectedRowKeys)" type="primary" icon="sync" v-if="selectedRowKeys.length == 1" :loading="synLoading">同步数据</a-button>
<a-input-search v-model="dateValue" style="width: 350px;" enter-button :maxLength="10" placeholder="请输入筛选日期(格式:YYYY-MM-DD)" @search="handleSearch()"></a-input-search>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleDetail(record)">详情</a>
</span>
</a-table>
</div>
<ims-store-modal ref="modalForm" @ok="modalFormOk"></ims-store-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ImsStoreModal from './modules/ImsStoreModal'
export default {
name: 'ImsStoreList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ImsStoreModal
},
data () {
return {
description: 'ims仓库基本信息管理页面',
// 表头
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'仓库编码',
align:"center",
dataIndex: 'storeId'
},
{
title:'ERP仓库编码',
align:"center",
dataIndex: 'erpStoreId'
},
{
title:'仓库名称',
align:"center",
dataIndex: 'storeName'
},
{
title:'仓库类型(1良品仓2不良品仓3报废仓4待检仓)',
align:"center",
dataIndex: 'storeType'
},
{
title:'仓库类别(1大仓库2小仓库3产线暂存仓4虚拟仓)默认 1',
align:"center",
dataIndex: 'storeMd'
},
{
title:'属性类别(1物料类)',
align:"center",
dataIndex: 'pptType'
},
{
title:'禁用 Y- N',
align:"center",
dataIndex: 'disable'
},
{
title:'使用组织编码',
align:"center",
dataIndex: 'orgId'
},
{
title:'创建人',
align:"center",
dataIndex: 'createBy'
},
{
title:'创建时间',
align:"center",
dataIndex: 'createTime'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/imsStore/list",
delete: "/ims/imsStore/delete",
deleteBatch: "/ims/imsStore/deleteBatch",
exportXlsUrl: "/ims/imsStore/exportXls",
importExcelUrl: "ims/imsStore/importExcel",
syncUrl:'/imslog/synchronization'
},
dictOptions:{},
synLoading:false,
dateValue:''
}
},
created() {
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
\ No newline at end of file
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论