From fe0793665e147d7e7a6e8b55efb6bc1dd82d856d Mon Sep 17 00:00:00 2001 From: chenjianan Date: Wed, 20 Mar 2019 12:09:35 +0800 Subject: [PATCH 01/28] fix bug --- src/icons/svg/PurchaseSituationSearch.svg | 1 + src/views/Inventory/PickingList/index.vue | 179 ++++++++---------- .../PurchaseSituationSearch/index.vue | 3 +- 3 files changed, 76 insertions(+), 107 deletions(-) create mode 100644 src/icons/svg/PurchaseSituationSearch.svg diff --git a/src/icons/svg/PurchaseSituationSearch.svg b/src/icons/svg/PurchaseSituationSearch.svg new file mode 100644 index 00000000..a0560fb7 --- /dev/null +++ b/src/icons/svg/PurchaseSituationSearch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/views/Inventory/PickingList/index.vue b/src/views/Inventory/PickingList/index.vue index 17957901..0ec32336 100644 --- a/src/views/Inventory/PickingList/index.vue +++ b/src/views/Inventory/PickingList/index.vue @@ -8,26 +8,15 @@ - - + + - - + -
+
- - + + - + - + - + - + @@ -114,10 +93,10 @@ {{ scope.row.备注 }} - + @@ -148,22 +127,12 @@ :label="item.label" :value="item.value"/> - 查询
+ 查询 - - + + - + @@ -184,17 +153,17 @@ {{ scope.row.零件名称 }} - + - + - + @@ -214,18 +183,18 @@ {{ scope.row.零件图号 }} - + - + -
+
- - + + - + - + - + @@ -277,22 +236,22 @@ {{ scope.row.机床图号 }} - + - + - + - + @@ -302,18 +261,18 @@ {{ scope.row.备注 }} - + - + -
+
- - + + - + - + - + - + - + - + -
+
{ - if (response.data[0].result === '1') { - this.$message.success('增加成功') - this.searchListinfor() - } else { - this.$message.error('增加失败') - } + this.$confirm('确认创建新的领料单?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', + type: 'warning' + }).then(() => { + addList(this.picikingPeople).then(response => { + if (response.data[0].result === '1') { + this.$message.success('增加成功') + this.searchListinfor() + } else { + this.$message.error('增加失败') + } + }) + }).catch(() => { + this.$message('已取消操作') }) }, // 删除领料单 @@ -1035,5 +993,16 @@ export default { diff --git a/src/views/PurchasingCenter/PurchaseSituationSearch/index.vue b/src/views/PurchasingCenter/PurchaseSituationSearch/index.vue index 8aa07dd5..179ec660 100644 --- a/src/views/PurchasingCenter/PurchaseSituationSearch/index.vue +++ b/src/views/PurchasingCenter/PurchaseSituationSearch/index.vue @@ -210,6 +210,7 @@ export default { }, created() { this.fetchData() + this.searchTable() }, methods: { fetchData() { @@ -267,7 +268,6 @@ export default { this.searchTable2() }, searchTable1() { // 查询标准件和外购件 - this.total1 = 0 let check1, check2 this.machineNumberValue ? check1 = 1 : check1 = 0 this.groupNumberValue ? check2 = 1 : check2 = 0 @@ -277,7 +277,6 @@ export default { }) }, searchTable2() { // 查询基本件 - this.total2 = 0 let check1, check2 this.machineNumberValue ? check1 = 1 : check1 = 0 this.groupNumberValue ? check2 = 1 : check2 = 0 From ab1fb142ee61649d5b959c9bd046eb6825c38899 Mon Sep 17 00:00:00 2001 From: chenjianan Date: Wed, 20 Mar 2019 19:10:02 +0800 Subject: [PATCH 02/28] fix bug --- src/views/Inventory/PickingList/index.vue | 83 ++++++++++------------- 1 file changed, 37 insertions(+), 46 deletions(-) diff --git a/src/views/Inventory/PickingList/index.vue b/src/views/Inventory/PickingList/index.vue index 0ec32336..3e01026d 100644 --- a/src/views/Inventory/PickingList/index.vue +++ b/src/views/Inventory/PickingList/index.vue @@ -95,8 +95,8 @@ @@ -211,24 +211,14 @@ {{ scope.row.物料名称 }} - + - + - - - - - - @@ -241,12 +231,22 @@ {{ scope.row.组号 }} - + - + + + + + + + @@ -256,11 +256,6 @@ {{ scope.row.待出库数量 }} - - - - - - - + - + + + + + + + @@ -334,6 +339,11 @@ {{ scope.row.待出库数量 }} + + + + + diff --git a/src/views/WorkshopProcurement/InvoiceSettlementApprove1/index.vue b/src/views/WorkshopProcurement/InvoiceSettlementApprove1/index.vue new file mode 100644 index 00000000..9d1d1cbf --- /dev/null +++ b/src/views/WorkshopProcurement/InvoiceSettlementApprove1/index.vue @@ -0,0 +1,281 @@ + + + + + diff --git a/src/views/WorkshopProcurement/OfflineContractRequestFund1/index.vue b/src/views/WorkshopProcurement/OfflineContractRequestFund1/index.vue index b2052f4d..b5c2367b 100644 --- a/src/views/WorkshopProcurement/OfflineContractRequestFund1/index.vue +++ b/src/views/WorkshopProcurement/OfflineContractRequestFund1/index.vue @@ -14,6 +14,14 @@ range-separator="~" start-placeholder="开始日期" end-placeholder="结束日期"/> + 供应商: + + + - +