Browse Source

【nev-pc】暂存

ag_report_nev
安虹睿 1 year ago
parent
commit
da76b10929
  1. 1
      fe/PC/src/mixins/TableMixins.js
  2. 16
      fe/PC/src/router/index.js
  3. 61
      fe/PC/src/utils/detailsTableColumns/index.js
  4. 63
      fe/PC/src/utils/tableColumns/index.js
  5. 59
      fe/PC/src/utils/tabsDesTions/index.js
  6. 309
      fe/PC/src/views/finishedProductManage/completDump/completDumpJob.vue
  7. 129
      fe/PC/src/views/finishedProductManage/completDump/completDumpNote.vue
  8. 108
      fe/PC/src/views/finishedProductManage/completDump/completDumpRequest.vue
  9. 3
      fe/PC/src/views/finishedProductManage/dismantle/customerDismantleJob.vue
  10. 3
      fe/PC/src/views/inventoryManage/InventoryQuery/InventoryBalance.vue

1
fe/PC/src/mixins/TableMixins.js

@ -114,6 +114,7 @@ export const tableMixins = {
},
//点击Table行内名称
inlineDialog(val) {
console.log(117,val)
// 打开抽屉后,点击其他信息,默认回到详情位置上,避免特殊需要重新点击获取接口的tag页面数据不更新
this.firstTabs = 'xq'
//打开抽屉

16
fe/PC/src/router/index.js

@ -206,6 +206,22 @@ export const constantRoutes = [
}
}]
},
{
path: '/',
component: Layout,
redirect: '/gridlayout',
hidden: true,
children: [{
path: 'completDumpRequest',
component: () => import('@/views/finishedProductManage/completDump/completDumpRequest.vue'),
name: 'completDumpRequest',
meta: {
keepAlive : true,
title: '完工转储申请',
icon: '完工转储申请',
}
}]
},
]
/**

61
fe/PC/src/utils/detailsTableColumns/index.js

@ -3407,7 +3407,6 @@ export const Kitting = [
{ label: _Public.remark, prop: "remark" },
]
// 空器具呼叫任务
export const callEmptyUtensilJob = [
{ label: "物品代码", prop: "itemCode", fixed: "left" },
@ -3446,4 +3445,64 @@ export const callEmptyUtensilJob = [
{ label: "创建时间", prop: 'creationTime', type: "dateTime" },
{ label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" },
{ label: "备注", prop: 'remark' },
]
// 完工转储申请
export const completDumpRequest = [
{ label: "退货申请单号",
prop: "number",
fixed: "left",
type: "name",
},
{ label: "状态", prop: "requestStatus",type: "tagFilter", filters: "requestStatus" },
{ label: "创建时间", prop: "creationTime",type:"dateTime" },
{ label: "发货单号", prop: "asnNumber" },
{ label: "订单号", prop: "poNumber" },
{ label: "供应商代码", prop: "supplierCode" },
{ label: "退货时间", prop: "returnTime", type:"dateTime" },
{ label: "操作员", prop: "worker" },
{ label: "备注", prop: 'remark' },
{ label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" },
{ label: "生效日期", prop: 'activeDate', type: "dateTime" },
{ label: "收货单号", prop: 'rpNumber' },
]
// 完工转储任务
export const completDumpJob = [
{ label: "退货申请单号",
prop: "number",
fixed: "left",
type: "name",
},
{ label: "状态", prop: "requestStatus",type: "tagFilter", filters: "requestStatus" },
{ label: "创建时间", prop: "creationTime",type:"dateTime" },
{ label: "发货单号", prop: "asnNumber" },
{ label: "订单号", prop: "poNumber" },
{ label: "供应商代码", prop: "supplierCode" },
{ label: "退货时间", prop: "returnTime", type:"dateTime" },
{ label: "操作员", prop: "worker" },
{ label: "备注", prop: 'remark' },
{ label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" },
{ label: "生效日期", prop: 'activeDate', type: "dateTime" },
{ label: "收货单号", prop: 'rpNumber' },
]
// 完工转储记录
export const completDumpNote = [
{ label: "退货申请单号",
prop: "number",
fixed: "left",
type: "name",
},
{ label: "状态", prop: "requestStatus",type: "tagFilter", filters: "requestStatus" },
{ label: "创建时间", prop: "creationTime",type:"dateTime" },
{ label: "发货单号", prop: "asnNumber" },
{ label: "订单号", prop: "poNumber" },
{ label: "供应商代码", prop: "supplierCode" },
{ label: "退货时间", prop: "returnTime", type:"dateTime" },
{ label: "操作员", prop: "worker" },
{ label: "备注", prop: 'remark' },
{ label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" },
{ label: "生效日期", prop: 'activeDate', type: "dateTime" },
{ label: "收货单号", prop: 'rpNumber' },
]

63
fe/PC/src/utils/tableColumns/index.js

@ -4093,6 +4093,69 @@ export const callEmptyUtensilJob = [
{ label: "优先级增量", prop: 'priorityIncrement' },
]
// 完工转储申请
export const completDumpRequest = [
{ label: "退货申请单号",
prop: "number",
fixed: "left",
type: "name",
width: orderWidth
},
{ label: "状态", prop: "requestStatus",type: "tagFilter", filters: "requestStatus" },
{ label: "创建时间", prop: "creationTime",type:"dateTime" },
{ label: "发货单号", prop: "asnNumber", width: orderWidth },
{ label: "订单号", prop: "poNumber",width: orderWidth },
{ label: "供应商代码", prop: "supplierCode" },
{ label: "退货时间", prop: "returnTime", type:"dateTime" },
{ label: "操作员", prop: "worker" },
{ label: "备注", prop: 'remark' },
{ label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" },
{ label: "生效日期", prop: 'activeDate', type: "dateTime" },
{ label: "收货单号", prop: 'rpNumber' },
]
// 完工转储任务
export const completDumpJob = [
{ label: "退货申请单号",
prop: "number",
fixed: "left",
type: "name",
width: orderWidth
},
{ label: "状态", prop: "requestStatus",type: "tagFilter", filters: "requestStatus" },
{ label: "创建时间", prop: "creationTime",type:"dateTime" },
{ label: "发货单号", prop: "asnNumber", width: orderWidth },
{ label: "订单号", prop: "poNumber",width: orderWidth },
{ label: "供应商代码", prop: "supplierCode" },
{ label: "退货时间", prop: "returnTime", type:"dateTime" },
{ label: "操作员", prop: "worker" },
{ label: "备注", prop: 'remark' },
{ label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" },
{ label: "生效日期", prop: 'activeDate', type: "dateTime" },
{ label: "收货单号", prop: 'rpNumber' },
]
// 完工转储记录
export const completDumpNote = [
{ label: "退货申请单号",
prop: "number",
fixed: "left",
type: "name",
width: orderWidth
},
{ label: "状态", prop: "requestStatus",type: "tagFilter", filters: "requestStatus" },
{ label: "创建时间", prop: "creationTime",type:"dateTime" },
{ label: "发货单号", prop: "asnNumber", width: orderWidth },
{ label: "订单号", prop: "poNumber",width: orderWidth },
{ label: "供应商代码", prop: "supplierCode" },
{ label: "退货时间", prop: "returnTime", type:"dateTime" },
{ label: "操作员", prop: "worker" },
{ label: "备注", prop: 'remark' },
{ label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" },
{ label: "生效日期", prop: 'activeDate', type: "dateTime" },
{ label: "收货单号", prop: 'rpNumber' },
]
// 字段说明
// showProp: true //隐藏该字段的高级筛选+列表排序
// sortable: false //隐藏该字段的列表排序

59
fe/PC/src/utils/tabsDesTions/index.js

@ -2958,3 +2958,62 @@ export const callEmptyUtensilJob = [
{ label: "优先级增量", prop: 'priorityIncrement' },
]
// 完工转储申请
export const completDumpRequest = [
{ label: "退货申请单号",
prop: "number",
fixed: "left",
type: "name",
},
{ label: "状态", prop: "requestStatus",type: "tagFilter", filters: "requestStatus" },
{ label: "创建时间", prop: "creationTime",type:"dateTime" },
{ label: "发货单号", prop: "asnNumber" },
{ label: "订单号", prop: "poNumber" },
{ label: "供应商代码", prop: "supplierCode" },
{ label: "退货时间", prop: "returnTime", type:"dateTime" },
{ label: "操作员", prop: "worker" },
{ label: "备注", prop: 'remark' },
{ label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" },
{ label: "生效日期", prop: 'activeDate', type: "dateTime" },
{ label: "收货单号", prop: 'rpNumber' },
]
// 完工转储任务
export const completDumpJob = [
{ label: "退货申请单号",
prop: "number",
fixed: "left",
type: "name",
},
{ label: "状态", prop: "requestStatus",type: "tagFilter", filters: "requestStatus" },
{ label: "创建时间", prop: "creationTime",type:"dateTime" },
{ label: "发货单号", prop: "asnNumber" },
{ label: "订单号", prop: "poNumber" },
{ label: "供应商代码", prop: "supplierCode" },
{ label: "退货时间", prop: "returnTime", type:"dateTime" },
{ label: "操作员", prop: "worker" },
{ label: "备注", prop: 'remark' },
{ label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" },
{ label: "生效日期", prop: 'activeDate', type: "dateTime" },
{ label: "收货单号", prop: 'rpNumber' },
]
// 完工转储记录
export const completDumpNote = [
{ label: "退货申请单号",
prop: "number",
fixed: "left",
type: "name",
},
{ label: "状态", prop: "requestStatus",type: "tagFilter", filters: "requestStatus" },
{ label: "创建时间", prop: "creationTime",type:"dateTime" },
{ label: "发货单号", prop: "asnNumber" },
{ label: "订单号", prop: "poNumber" },
{ label: "供应商代码", prop: "supplierCode" },
{ label: "退货时间", prop: "returnTime", type:"dateTime" },
{ label: "操作员", prop: "worker" },
{ label: "备注", prop: 'remark' },
{ label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" },
{ label: "生效日期", prop: 'activeDate', type: "dateTime" },
{ label: "收货单号", prop: 'rpNumber' },
]

309
fe/PC/src/views/finishedProductManage/completDump/completDumpJob.vue

@ -0,0 +1,309 @@
<template>
<div class="page-box" v-loading="Loading.appMainLoading">
<tablePagination
:currenButtonData="currenButtonData"
:tableData="tableData"
:tableLoading="Loading.tableLoading"
:tableColumns="tableColumns"
@rowDrop="rowDrop"
:totalCount="totalCount"
:multipleSelection="multipleSelection"
:MaxResultCount="PageListParams.MaxResultCount"
@topbutton="topbutton"
@inlineDialog="inlineDialog"
@sortChange="sortChange"
@alertoldSkipCount="alertoldSkipCount"
@alterResultCount="alterResultCount"
@handleSelectionChange="handleSelectionChange"
:currentPageProps="oldSkipCount"
:quicklySearchOption="quicklySearchOption"
@quicklySearchClick="quicklySearchClick"
@quicklySearchClear="quicklySearchClear"
:primarySearchOption="primarySearchOption"
@overallSearchFormClick="overallSearchFormClick"
:httpOverallSearchData="httpOverallSearchData"
>
</tablePagination>
<!-- 执行 -->
<handelFrom
:formTitle="formTitle"
:displayDialog.sync="displayDialog.handleFromDialog"
:CreateFormData="handleFormData"
:CreateForm="handleForm"
:Rules="editRules.handleRule"
:Options="editOptions"
:detailsTableColumns="handleDetailsTableColumns"
@FormSubmit="handleFormSubmit"
></handelFrom>
<curren-Drawer
:title="tableColumns"
:DrawerLoading="Loading.DrawerLoading"
:drawer="displayDialog.detailsDialog"
:propsData="propsData"
:tabsDesTions="tabsDesTions"
:Butttondata="[]"
@drawerShut="(val) => (displayDialog.detailsDialog = val)"
@drawerbutton="drawerbutton"
@close-value="closeValue"
:currenButtonData="currenButtonData"
:tableColumns="detailsTableColumns"
:totalCount="totalCountDetails"
:MaxResultCount="MaxResultCountDetails"
@alterResultCountDetails="alterResultCountDetails"
@alertoldSkipCountDetails="alertoldSkipCountDetails"
></curren-Drawer>
</div>
</template>
<script>
import { getDetailed, handle, accept, Invalid } from "@/api/wms-job"
import { tableMixins } from "@/mixins/TableMixins"
import { LoadingMixins } from "@/mixins/LoadingMixins"
import { drawerMixins } from "@/mixins/drawerMixins"
import { TableHeaderMixins } from "@/mixins/TableHeaderMixins"
import { mixins } from "@/mixins/mixins"
import detailsRules from '@/utils/rules';
export default {
name: "completDumpJob",
mixins: [
tableMixins,
LoadingMixins,
drawerMixins,
TableHeaderMixins,
mixins,
],
computed: {
editDialog: {
get: function () {
return this.displayDialog.newDialog || this.displayDialog.editDialog;
},
},
hideButton: function () {
return function (val) {
let data = true
val.forEach(key => {
if (this.propsData.jobStatus == key) {
data = false
}
})
return data
}
},
},
data () {
return {
URL: 'wms/store/purchase-return-job',
//
currenButtonData: [
this.defaultFieldSettingBtn(),//
this.defaultFreshBtn(),//
this.defaultFilterBtn(),//
],
DrawerButtonData: [
{
type: 'primary',
icon: 'el-icon-circle-check',
label: '承接',
name: "accept",
hide: () => { return this.hideButton([1]) },
size: 'mini'
},
{
type: 'warning',
icon: 'el-icon-circle-check',
label: '执行',
name: "handle",
hide: () => { return this.hideButton([2]) },
size: 'mini'
},
{
type: 'danger',
icon: 'el-icon-delete-solid',
label: '作废',
name: "invalid",
hide: () => { return this.hideButton([1,2]) },
size: 'mini'
}
],
handleDetailsTableColumns: [
{
label: "箱标签",
prop: "handledPackingCode",
},
{ label: "物品代码", prop: "itemCode", },
{ label: "物品名称", prop: "itemName" },
{ type: "objectInput", valueType: Number, rules: detailsRules.numberInput, label: "收货数量", prop: "handledQty", showProp: "qty", },
{ label: "包装数量", prop: "stdPackQty", },
{ type: "input", rules: detailsRules.detailsRules, label: "实际库位", prop: "handledLocationCode", },
{ label: "推荐库位", prop: "recommendLocationCode", },
{ label: "包装单位", prop: "stdPackUom", },
{ type: "object", label: "收货单位", prop: "handledQty", showProp: "uom", },
{ label: "订单号", prop: "poNumber", },
{ label: "订单行", prop: "poLine", },
{ label: "备注", prop: 'remark', },
],
editOptions: {
},
handleFormData: {
"id": null,
"creationTime": null,
"lastModificationTime": null,
"remark": null,
"concurrencyStamp": null,
"company": null,
"number": null,
"upStreamJobNumber": null,
"arriveNoticeNumber": null,
"purchaseReceiptNumber": null,
"asnNumber": null,
"poNumber": null,
"supplierCode": null,
"jobType": 1,
"jobStatus": 1,
"priority": 0,
"priorityIncrement": 0,
"wlgCode": "123",
"isAutoComplete": true,
"details": [],
"acceptTime": null,
"completeTime": null
},
childTableData: [
{
"id": null,
"creationTime": null,
"lastModificationTime": null,
"remark": null,
"concurrencyStamp": null,
"masterID": null,
"packingCode": null,
"containerCode": null,
"item": {
"id": null,
"name": null,
"desc1": null,
"desc2": null
},
"itemCode": null,
"batch": {
"supplierBatch": null,
"produceDate": null
},
"lot": null,
"stdPack": {
"packUom": null,
"packQty": 0
},
"recommendLocationCode": null,
"recomendQty": {
"uom": null,
"qty": 0
},
"handledLocationCode": null,
"handledQty": {
"uom": null,
"qty": 0
}
}
],
handleForm: [
{ type: "input", label: "任务编号", prop: "number", colSpan: 12, disabled: "true" },
{ type: "input", label: "到货编号", prop: "arriveNoticeNumber", colSpan: 12, disabled: "true" },
{ type: "select", label: "任务类型", prop: "jobType", options: "taskType", colSpan: 12, disabled: "true" },
{ type: "select", label: "任务状态", prop: "jobStatus", options: "jobStatus", colSpan: 12, disabled: "true" },
{ type: "input", label: "优先级", prop: "priority", colSpan: 12, disabled: "true" },
{ type: "input", label: "工作组", prop: "wlgCode", colSpan: 12, disabled: "true" },
{ type: "input", label: "订单号", prop: "poNumber", colSpan: 12, },
{ type: "dateTime", label: "接收时间", prop: "acceptTime", colSpan: 12, },
{ type: "input", label: "备注", prop: "remark", colSpan: 12, },
],
editRules: {
handleRule: {
number: [{ required: true, trigger: ["blur", "change"], message: "不可为空" }],
jobType: [{ required: true, trigger: "blur", message: "不可为空" }],
poNumber: [{ required: true, trigger: "blur", message: "不可为空" }],
jobStatus: [{ required: true, trigger: "blur", message: "不可为空" }],
priority: [{ required: true, trigger: "blur", message: "不可为空" }],
}
},
};
},
mounted () {
this.paging();
},
methods: {
// //
drawerbutton (val) {
if (val == 'accept') {
let data = {
id: this.propsData.id
}
this.Loading.appMainLoading = true
accept(this.URL, data).then(res => {
this.$successMsg('已承接任务!')
this.Loading.appMainLoading = false
getDetailed(this.propsData.id, this.URL).then(res => {
this.propsData = res
// this.displayDialog.detailsDialog = true;
})
this.paging();
}).catch(err => {
this.Loading.appMainLoading = false
})
} else if (val == 'handle') {
this.Loading.appMainLoading = true
let propsData = JSON.parse(JSON.stringify(this.propsData));
this.$listAssign(this.handleFormData, propsData)
this.handleFormData.details = []
// let data = JSON.parse(JSON.stringify(...this.childTableData))
propsData.details.forEach(item => {
let data = JSON.parse(JSON.stringify(...this.childTableData))
this.$listAssign(data, item)
this.handleFormData.details.push(data)
// delete item.arriveNumber
// delete item.supplierPack
// delete item.convertRate
})
this.Loading.appMainLoading = false
this.formTitle = "执行" + this.$route.meta.title;
this.displayDialog.handleFromDialog = true
}else if(val == 'invalid'){
let data = {
id: this.propsData.id
}
this.Loading.appMainLoading = true
Invalid(this.URL, data).then(res=>{
this.displayDialog.detailsDialog = false
this.$successMsg('已作废任务!')
this.paging()
this.Loading.appMainLoading = false
}).catch(err=>{
this.Loading.appMainLoading = false
})
}
},
handleFormSubmit (val) {
return new Promise((resolve, reject) => {
let data = {
id: this.propsData.id
}
handle(this.handleFormData, data, this.URL).then(res => {
this.displayDialog.handleFromDialog = false;
this.$successMsg('已生成采购退货记录!')
getDetailed(this.propsData.id, this.URL).then(res => {
this.propsData = res
// this.displayDialog.detailsDialog = true;
})
this.paging()
this.FormRemove(val)
resolve()
}).catch(err => {
reject();
})
})
}
}
};
</script>
<style lang="scss" scoped>
@import "../../../styles/mainbasicData.scss";
</style>

129
fe/PC/src/views/finishedProductManage/completDump/completDumpNote.vue

@ -0,0 +1,129 @@
<template>
<div class="page-box" v-loading="Loading.appMainLoading">
<tablePagination
:currenButtonData="currenButtonData"
:tableData="tableData"
:tableLoading="Loading.tableLoading"
:tableColumns="tableColumns"
@rowDrop="rowDrop"
:totalCount="totalCount"
:multipleSelection="multipleSelection"
:MaxResultCount="PageListParams.MaxResultCount"
@topbutton="topbutton"
@inlineDialog="inlineDialog"
@sortChange="sortChange"
@alertoldSkipCount="alertoldSkipCount"
@alterResultCount="alterResultCount"
@handleSelectionChange="handleSelectionChange"
:currentPageProps="oldSkipCount"
:quicklySearchOption="quicklySearchOption"
@quicklySearchClick="quicklySearchClick"
@quicklySearchClear="quicklySearchClear"
:primarySearchOption="primarySearchOption"
@overallSearchFormClick="overallSearchFormClick"
:httpOverallSearchData="httpOverallSearchData"
>
</tablePagination>
<!-- 抽屉 -->
<curren-Drawer
:title="tableColumns"
:DrawerLoading="Loading.DrawerLoading"
:drawer="displayDialog.detailsDialog"
:propsData="propsData"
:tabsDesTions="tabsDesTions"
:Butttondata="DrawerButtonData"
@drawerShut="(val) => (displayDialog.detailsDialog = val)"
@close-value="closeValue"
@drawerbutton="drawerbutton"
:tableColumns="detailsTableColumns"
:totalCount="totalCountDetails"
:MaxResultCount="MaxResultCountDetails"
@alterResultCountDetails="alterResultCountDetails"
@alertoldSkipCountDetails="alertoldSkipCountDetails"
></curren-Drawer>
</div>
</template>
<script>
import { getPageListWip,getOneSupplierInfoByCode } from "@/api/wms-api"
import { tableMixins } from "@/mixins/TableMixins"
import { LoadingMixins } from "@/mixins/LoadingMixins"
import { drawerMixins } from "@/mixins/drawerMixins"
import { TableHeaderMixins } from "@/mixins/TableHeaderMixins"
import { mixins } from "@/mixins/mixins"
import {initPrintAllData} from "@/mixins/printMixin"
export default {
name: "completDumpNote",
mixins: [
tableMixins,
LoadingMixins,
drawerMixins,
TableHeaderMixins,
mixins,
],
data () {
return {
URL: 'wms/store/purchase-return-note',
//
currenButtonData: [
//
this.defaultExportBtn({
url:"wms/store/purchase-return-note/export-after-puton"
}),
this.defaultFieldSettingBtn(),//
this.defaultFreshBtn(),//
this.defaultFilterBtn(),//
],
DrawerButtonData: [
{
type: 'info',
icon: 'el-icon-printer',
label: '打印',
hide: false,
name: "print",
size: 'mini'
},
],
};
},
mounted () {
this.paging();
},
methods: {
//
paging(callback) {
this.Loading.tableLoading = true;
this.PageListParams.SkipCount = (this.oldSkipCount - 1) * this.PageListParams.MaxResultCount,
getPageListWip(this.PageListParams, 'wms/store/purchase-return-note/list-after-puton')
.then(res => {
this.tableData = res.items
this.totalCount = res.totalCount
this.pagingCallback(callback)
})
.catch(err => {
this.Loading.tableLoading = false
})
},
//
drawerbutton (val) {
//
if(val == 'print'){
if((this.propsData.supplierCode) && (!this.propsData.supplierShortName)){
getOneSupplierInfoByCode(this.propsData.supplierCode).then(res => {
if(res){this.propsData.supplierShortName = res.shortName || res.name}
let data = initPrintAllData(this.tableDataDetails,'thd.rdlx','PurReturnReason');
this.Print(data)
}).catch(err => {
console.log(err)
})
}else{
let data = initPrintAllData(this.tableDataDetails,'thd.rdlx','PurReturnReason');
this.Print(data)
}
}
},
}
};
</script>
<style lang="scss" scoped>
@import "../../../styles/mainbasicData.scss";
</style>

108
fe/PC/src/views/finishedProductManage/completDump/completDumpRequest.vue

@ -0,0 +1,108 @@
<template>
<div class="page-box" v-loading="Loading.appMainLoading">
<tablePagination
:currenButtonData="currenButtonData"
:tableData="tableData"
:tableLoading="Loading.tableLoading"
:tableColumns="tableColumns"
@rowDrop="rowDrop"
:totalCount="totalCount"
:multipleSelection="multipleSelection"
:MaxResultCount="PageListParams.MaxResultCount"
@topbutton="topbutton"
@inlineDialog="inlineDialog"
@sortChange="sortChange"
@alertoldSkipCount="alertoldSkipCount"
@alterResultCount="alterResultCount"
@handleSelectionChange="handleSelectionChange"
:currentPageProps="oldSkipCount"
:quicklySearchOption="quicklySearchOption"
@quicklySearchClick="quicklySearchClick"
@quicklySearchClear="quicklySearchClear"
:primarySearchOption="primarySearchOption"
@overallSearchFormClick="overallSearchFormClick"
:httpOverallSearchData="httpOverallSearchData"
>
</tablePagination>
<!-- 新导入 disabledMethod 导入方式禁用 disabledIsAllowPartImport 是否局部导入禁用-->
<!-- methodValue 导入方式默认选项 是否局部导入 默认选项 -->
<importFile
:loading="Loading.importLoading"
:show="displayDialog.importDialog"
:URL="URL"
:disabledMethod = {method1:false,method2:false,method3:false}
:disabledIsAllowPartImport = {isAllowPartImport1:false,isAllowPartImport2:false}
isAllowPartImportValue="1"
@importClick="postImportMergeClick(arguments)"
@postImportDown="importDown"
></importFile>
<curren-Drawer
:title="tableColumns"
:DrawerLoading="Loading.DrawerLoading"
:drawer="displayDialog.detailsDialog"
:propsData="propsData"
:tabsDesTions="tabsDesTions"
:Butttondata="DrawerButtonData"
@drawerbutton="drawerbutton"
@drawerShut="(val) => (displayDialog.detailsDialog = val)"
@close-value="closeValue"
:tableColumns="detailsTableColumns"
:totalCount="totalCountDetails"
:MaxResultCount="MaxResultCountDetails"
@alterResultCountDetails="alterResultCountDetails"
@alertoldSkipCountDetails="alertoldSkipCountDetails"
></curren-Drawer>
</div>
</template>
<script>
import { tableMixins } from "@/mixins/TableMixins"
import { LoadingMixins } from "@/mixins/LoadingMixins"
import { drawerMixins } from "@/mixins/drawerMixins"
import { TableHeaderMixins } from "@/mixins/TableHeaderMixins"
import { mixins } from "@/mixins/mixins"
import { requestData } from "@/utils/processButtonData"
export default {
name: "completDumpRequest",
mixins: [
tableMixins,
LoadingMixins,
drawerMixins,
TableHeaderMixins,
mixins,
],
computed: {
hideButton: function () {
return function (val) {
let data = true
val.forEach(key => {
if (this.propsData.requestStatus == key) {
data = false
}
})
return data
}
},
},
data () {
return {
URL: 'wms/store/purchase-return-request',
//
currenButtonData: [
this.defaultImportBtn(),//
this.defaultFieldSettingBtn(),//
this.defaultFreshBtn(),//
this.defaultFilterBtn(),//
],
DrawerButtonData: [
...requestData(this)
],
};
},
mounted () {
this.paging();
},
};
</script>
<style lang="scss" scoped>
@import "../../../styles/mainbasicData.scss";
</style>

3
fe/PC/src/views/finishedProductManage/dismantle/customerDismantleJob.vue

@ -86,7 +86,8 @@ export default {
detailURL: 'wms/store/product-recycle-note/note-and-back-flush',
//
currenButtonData: [
this.defaultAddBtn(),//
// this.defaultAddBtn(),//
//
this.defaultExportBtn({
url:"wms/store/product-recycle-note/export-note-and-back-flush"

3
fe/PC/src/views/inventoryManage/InventoryQuery/InventoryBalance.vue

@ -102,7 +102,7 @@ export default {
data () {
return {
showTableBaseFromFE:['configuration'],
// URL: 'wms/inventory/inventory-balance',
URL: 'wms/inventory/inventory-balance',
listURL:"wms/inventory/inventory-balance/get-list",
//
currenButtonData: [
@ -183,6 +183,7 @@ export default {
type: 'warning'
}).then(() => {
this.Loading.appMainLoading = true
console.log(186, this.propsData.id)
inventoryBalanceActive({id: this.propsData.id}).then(res => {
this.$successMsg('启用成功!')
this.Loading.appMainLoading = false

Loading…
Cancel
Save