diff --git a/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue b/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue index 2edd2e49..ff79ffe8 100644 --- a/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue +++ b/vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue @@ -35,7 +35,7 @@ @click="handleCreateBills()" >生成出库单(支持批量) - - { this.$axios - .gets("/api/settleaccount/wmsjitoutput/WmsJitOutPutAudit", params) + .posts("/api/settleaccount/wmsjitoutput/WmsJitOutPutAudit", params) .then((response) => { const index = this.list.indexOf(row); this.$notify({ title: "成功", - message: "生成成功", + message: "操作成功", type: "success", duration: 2000, }); @@ -953,7 +957,7 @@ export default { }); }, //出库单 - handleCreateBills(row){ + handleCreateBills(row) { if (this.multipleSelection.length == 0) { this.$message({ message: "至少选择一行!", @@ -975,14 +979,21 @@ export default { }); myalert = "选中项"; } + this.listBillQuery.guids = params; + this.listBillQuery.version = this.JobversionValue; + console.log("出库单条件:" + JSON.stringify(this.listBillQuery)); this.$confirm("是否确认出库" + myalert + "?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning", }) .then(() => { + alert(this.JobversionValue); this.$axios - .gets("/api/settleaccount/wmsjitoutput/WmsJitOutPut", params) + .posts( + "/api/settleaccount/wmsjitoutput/WmsJitOutPut", + this.listBillQuery + ) .then((response) => { const index = this.list.indexOf(row); this.$notify({ @@ -991,7 +1002,7 @@ export default { type: "success", duration: 2000, }); - console.log(response); + console.log(response); this.getList(); }); }) @@ -1422,7 +1433,7 @@ export default { getList() { this.listLoading = true; //导入界面中超链接过来的参数 - this.listQuery.name = "大众发票与结算核对明细表"; + this.listQuery.name = "准时化结算核对明细"; this.listQuery.type = this.JobversionValue; this.$axios .posts("/api/settleaccount/Job/list", this.listQuery) diff --git a/vue/src/views/ux/billManage/vwOutOrder/detail.vue b/vue/src/views/ux/billManage/vwOutOrder/detail.vue index 41322532..f64c24b9 100644 --- a/vue/src/views/ux/billManage/vwOutOrder/detail.vue +++ b/vue/src/views/ux/billManage/vwOutOrder/detail.vue @@ -152,13 +152,14 @@ export default { Filters: [ { logic: 0, - column: "", + column: "Enabled", action: 0, - value: "", + value: "true", }, //默认查询可用的 ], SkipCount: 0, - MaxResultCount: 15 + MaxResultCount: 15, + billNum: "", }, listOutPutQuery: { version: "", @@ -170,7 +171,7 @@ export default { formTitle: "", drawer: false, showExcelImport: false, - tableHeight: document.documentElement.clientHeight - 260, + tableHeight: document.documentElement.clientHeight - 210, isEdit: false, }; }, @@ -218,6 +219,7 @@ export default { tempsTabs.push({ label: "零件描述", prop: "materialDesc", width: 250 }); tempsTabs.push({ label: "物料组", prop: "materialGroup", width: 220 }); tempsTabs.push({ label: "数量", prop: "wmsBillNum", width: 100 }); + tempsTabs.push({ label: "状态", prop: "state", width: 100 }); return tempsTabs; }, }, @@ -400,15 +402,7 @@ export default { } else { this.listQuery.SkipCount = (this.page - 1) * 15; } - this.listQuery.Filters = []; - let filter = { - logic: 0, - column: "billNum", - action: 0, - value: this.customerInfo.parentId, - }; - this.listQuery.Filters.push(filter); - //this.listQuery.ParentId = this.customerInfo.parentId; + this.listQuery.billNum = this.customerInfo.parentId; console.log("查询条件:" + JSON.stringify(this.listQuery)); this.$axios .posts( diff --git a/vue/src/views/ux/billManage/vwOutOrder/index.vue b/vue/src/views/ux/billManage/vwOutOrder/index.vue index cd7f23ba..ab32ba22 100644 --- a/vue/src/views/ux/billManage/vwOutOrder/index.vue +++ b/vue/src/views/ux/billManage/vwOutOrder/index.vue @@ -234,8 +234,8 @@ export default { } return moment(date).format("YYYY-MM-DD HH:mm:ss"); } - if (column.property == "documentStatus") { - return { 0: "新建", 1: "进行中", 5: "完成", 9: "取消" }[ + if (column.property == "state") { + return { 0: "已提交", 1: "已出库", 2: "不能出库" }[ row[column.property] ]; } diff --git a/vue/static/tableFieldForSearch.json b/vue/static/tableFieldForSearch.json index f86d9b2e..31f598ab 100644 --- a/vue/static/tableFieldForSearch.json +++ b/vue/static/tableFieldForSearch.json @@ -2910,11 +2910,11 @@ { "fieldId": 3, "formType": "text", - "name": "单据号", + "name": "零件号", "type": 1, "value": "", "fieldType": 1, - "fieldName": "wmsBillNum", + "fieldName": "materialCode", "setting": [] }, {