Commit 75acf1b5e508ae8349c64818f3ab1c188a76cc8e
1 parent
df2f5cfe
批量取消组盘bug修复,入库单页面刷新问题
Showing
3 changed files
with
13 additions
and
13 deletions
ant-design-vue-jeecg/src/views/system/receipt/ReceiptContainerHeaderList.vue
... | ... | @@ -420,7 +420,7 @@ export default { |
420 | 420 | } |
421 | 421 | var ids = ""; |
422 | 422 | for (var a = 0; a < this.selectedRowKeys.length; a++) { |
423 | - if (this.selectionRows[a] != null && this.selectionRows[a].status == 0) { | |
423 | + if (this.selectedRowKeys[a] != null && typeof this.selectedRowKeys[a] == "number") { | |
424 | 424 | ids += this.selectedRowKeys[a] + ","; |
425 | 425 | } |
426 | 426 | } |
... | ... |
ant-design-vue-jeecg/src/views/system/receipt/ReceiptHeaderList.vue
... | ... | @@ -67,7 +67,7 @@ |
67 | 67 | </a-select> |
68 | 68 | </a-form-item> |
69 | 69 | </a-col> |
70 | - <template v-if="toggleSearchStatus"> | |
70 | + <template v-show="toggleSearchStatus"> | |
71 | 71 | <a-col :xl="12" :lg="14" :md="16" :sm="24"> |
72 | 72 | <a-form-item label="创建日期"> |
73 | 73 | <j-date :show-date="true" date-format="YYYY-MM-DD" placeholder="请选择开始时间" |
... | ... | @@ -175,29 +175,29 @@ |
175 | 175 | </template> |
176 | 176 | |
177 | 177 | <span slot="action" slot-scope="text, record"> |
178 | - <a-popconfirm v-has="'receiptHeader:back'" v-if="record.lastStatus == 800" title="确定回传吗?" @confirm="() => hanleBack(record)"> | |
178 | + <a-popconfirm v-has="'receiptHeader:back'" v-show="record.lastStatus == 800" title="确定回传吗?" @confirm="() => hanleBack(record)"> | |
179 | 179 | <a><a-button type="default">回传</a-button></a> |
180 | 180 | </a-popconfirm> |
181 | - <a-popconfirm v-has="'receiptHeader:crossDocking'" v-if="record.lastStatus == 0" title="确定越库吗?" @confirm="() => hanleCross(record)"> | |
181 | + <a-popconfirm v-has="'receiptHeader:crossDocking'" v-show="record.lastStatus == 0" title="确定越库吗?" @confirm="() => hanleCross(record)"> | |
182 | 182 | <a><a-button type="primary">越库</a-button></a> |
183 | 183 | <a-divider type="vertical"/> |
184 | 184 | </a-popconfirm> |
185 | - <a v-if="(record.lastStatus < 800 && record.firstStatus >= 15 && record.firstStatus != '20') || (flowOff == '0' && record.lastStatus < 800) " @click="receive(record)" v-has="'receiptHeader:receive'"> | |
185 | + <a v-show="(record.lastStatus < 800 && record.firstStatus >= 15 && record.firstStatus != '20') || (flowOff == '0' && record.lastStatus < 800) " @click="receive(record)" v-has="'receiptHeader:receive'"> | |
186 | 186 | <a-button type="primary">组盘</a-button> |
187 | 187 | </a> |
188 | - <a v-if="record.firstStatus == '0' && flowOff == '1'" @click="createAudit(record)"><a-button type="primary">提交审核</a-button><a-divider type="vertical"/></a> | |
189 | - <a v-if="record.nextAuditor == username && flowOff == '1'" @click="audit(record)"><a-button type="primary">审核</a-button><a-divider type="vertical"/></a> | |
190 | - <a v-if="record.lastStatus == 850" @click="viewReason(record)"><a-button type="danger">原因</a-button><a-divider type="vertical"/></a> | |
191 | - <a-dropdown v-if="(record.firstStatus > 0 && record.firstStatus <= 20 && flowOff=='1') || (record.firstStatus == 0 && record.lastStatus == 0 && record.referCode == null)"> | |
188 | + <a v-show="record.firstStatus == '0' && flowOff == '1'" @click="createAudit(record)"><a-button type="primary">提交审核</a-button><a-divider type="vertical"/></a> | |
189 | + <a v-show="record.nextAuditor == username && flowOff == '1'" @click="audit(record)"><a-button type="primary">审核</a-button><a-divider type="vertical"/></a> | |
190 | + <a v-show="record.lastStatus == 850" @click="viewReason(record)"><a-button type="danger">原因</a-button><a-divider type="vertical"/></a> | |
191 | + <a-dropdown v-show="(record.firstStatus > 0 && record.firstStatus <= 20 && flowOff=='1') || (record.firstStatus == 0 && record.lastStatus == 0 && record.referCode == null)"> | |
192 | 192 | <a class="ant-dropdown-link"><a-divider type="vertical"/>更多 <a-icon type="down"/></a> |
193 | 193 | <a-menu slot="overlay"> |
194 | - <a-menu-item v-if="record.firstStatus > 0 && record.firstStatus <= 20 && flowOff=='1'"> | |
194 | + <a-menu-item v-show="record.firstStatus > 0 && record.firstStatus <= 20 && flowOff=='1'"> | |
195 | 195 | <a @click="openProcess(record)" type="primary">审核进度</a> |
196 | 196 | </a-menu-item> |
197 | - <a-menu-item v-has="'receiptHeader:edit'" v-if="record.firstStatus == 0 && record.lastStatus == 0 && record.referCode == null"> | |
197 | + <a-menu-item v-has="'receiptHeader:edit'" v-show="record.firstStatus == 0 && record.lastStatus == 0 && record.referCode == null"> | |
198 | 198 | <a @click="handleEdit(record)">编辑</a> |
199 | 199 | </a-menu-item> |
200 | - <a-menu-item v-has="'receiptHeader:delete'" v-if="record.firstStatus == 0 && record.lastStatus == 0 && record.referCode == null"> | |
200 | + <a-menu-item v-has="'receiptHeader:delete'" v-show="record.firstStatus == 0 && record.lastStatus == 0 && record.referCode == null"> | |
201 | 201 | <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)"> |
202 | 202 | <a>删除</a> |
203 | 203 | </a-popconfirm> |
... | ... |
ant-design-vue-jeecg/src/views/system/shipment/ShipmentContainerHeaderList.vue
... | ... | @@ -423,7 +423,7 @@ export default { |
423 | 423 | } |
424 | 424 | var ids = '' |
425 | 425 | for (var a = 0; a < this.selectedRowKeys.length; a++) { |
426 | - if (this.selectionRows[a] != null && this.selectionRows[a].status == 0) { | |
426 | + if (this.selectedRowKeys[a] != null && typeof this.selectedRowKeys[a] == "number") { | |
427 | 427 | ids += this.selectedRowKeys[a] + ',' |
428 | 428 | } |
429 | 429 | } |
... | ... |