From 5e10fe06e80c7d146cbb5eb8f7b3e1e447a80b88 Mon Sep 17 00:00:00 2001 From: haoyahui <2032914783@qq.com> Date: 星期五, 17 十一月 2023 17:07:53 +0800 Subject: [PATCH] 部门物品:物品分发,物品报废静态。调拨管理联调,price由元改为分,仓库管理库管员 --- admin-web/src/views/stock/transfer/transferApplication/index.vue | 55 +++++++++++++++---------------------------------------- 1 files changed, 15 insertions(+), 40 deletions(-) diff --git a/admin-web/src/views/stock/transfer/transferApplication/index.vue b/admin-web/src/views/stock/transfer/transferApplication/index.vue index 64f853c..497b784 100644 --- a/admin-web/src/views/stock/transfer/transferApplication/index.vue +++ b/admin-web/src/views/stock/transfer/transferApplication/index.vue @@ -62,9 +62,7 @@ <div class="box"> <span class="span-two">鐢宠璋冩嫧鏃堕棿锛�</span>{{ item.createTime | formatTime }} </div> - <div class="box"> - <span class="span-two">鎺ユ敹鏃堕棿锛�</span>{{ item.inTime | formatTime }} - </div> + <div class="box"><span class="span-two">鎺ユ敹鏃堕棿锛�</span>{{ item.inTime | formatTime }}</div> </div> <div class="one-hed"> <div class="box"><span class="span-two">璋冩嫧鏈烘瀯锛�</span>{{ item.outAgencyName }}</div> @@ -158,24 +156,6 @@ defaultValue: '', }, { - type: 'cascader', - dataIndex: 'outAgencyId', - label: '璋冩嫧鏈烘瀯', - placeholder: '璇烽�夋嫨', - optionsConfig: { url: commonsApi.cascader_tree_fin_tenant, props: null }, - defaultValue: '', - options: [], - }, - { - type: 'cascader', - dataIndex: 'inAgencyId', - label: '鎺ユ敹鏈烘瀯', - placeholder: '璇烽�夋嫨', - optionsConfig: { url: commonsApi.cascader_tree_fin_tenant, props: null }, - defaultValue: '', - options: [], - }, - { type: 'select', dataIndex: 'states', label: '鐘舵��', @@ -208,14 +188,13 @@ defaultValue: '', }, ], - filterFrom:{ - } + filterFrom: {}, }; }, created() { this.filterFrom = { - operatorId:this.userInfo.id - } + inAgencyId: this.userInfo.tenantId, + }; this.fetchData(); this.items.map((v) => { if (v.label == '鐘舵��') { @@ -238,33 +217,29 @@ console.log(this.list); }); }, - + // 鍏ュ簱 handleIncome(row) { - this.$confirm(`鎮ㄧ‘瀹� 鍗曞彿锛�${row.businessFormCode} 璋冩嫧鍑哄簱鍚�?`, '璋冩嫧鍑哄簱').then(() => { - transfeIncome({ id: row.id }) - .then((res) => { - this.$message.success('璋冩嫧鍑哄簱鎴愬姛锛�'); - this.search(1); - }) + this.$confirm(`鎮ㄧ‘瀹� 鍗曞彿锛�${row.businessFormCode} 鎺ユ敹鍏ュ簱鍚�?`, '鎺ユ敹鍏ュ簱').then(() => { + transfeIncome({ id: row.id }).then((res) => { + this.$message.success('鎺ユ敹鍏ュ簱鎴愬姛锛�'); + this.search(1); + }); }); }, // 瀵煎嚭 handleExport(row) { - transferExport({id:row.id}).then(res=>{ - - }) + transferExport({ id: row.id }).then((res) => {}); }, // 鎾ら攢 handleRevoke(row) { this.$confirm(`鎮ㄧ‘瀹氭挙閿�鍗曞彿涓�"${row.businessFormCode}" 鐨勬暟鎹悧?`, '鎾ら攢').then(() => { - transferUpdStatus({ id: row.id }) - .then((res) => { - this.$message.success('鎾ら攢鎴愬姛锛�'); - this.search(1); - }) + transferUpdStatus({ id: row.id }).then((res) => { + this.$message.success('鎾ら攢鎴愬姛锛�'); + this.search(1); + }); }); }, fifterForm(params) { -- Gitblit v1.9.1