Commit d8b0cee454e71bd99ce0e4584f719fc97dc00c4b
Merge branch 'develop' of http://172.16.29.40:8010/wms/wms4 into develop
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,7 +420,7 @@ export default { | ||
420 | } | 420 | } |
421 | var ids = ""; | 421 | var ids = ""; |
422 | for (var a = 0; a < this.selectedRowKeys.length; a++) { | 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 | ids += this.selectedRowKeys[a] + ","; | 424 | ids += this.selectedRowKeys[a] + ","; |
425 | } | 425 | } |
426 | } | 426 | } |
ant-design-vue-jeecg/src/views/system/receipt/ReceiptHeaderList.vue
@@ -67,7 +67,7 @@ | @@ -67,7 +67,7 @@ | ||
67 | </a-select> | 67 | </a-select> |
68 | </a-form-item> | 68 | </a-form-item> |
69 | </a-col> | 69 | </a-col> |
70 | - <template v-if="toggleSearchStatus"> | 70 | + <template v-show="toggleSearchStatus"> |
71 | <a-col :xl="12" :lg="14" :md="16" :sm="24"> | 71 | <a-col :xl="12" :lg="14" :md="16" :sm="24"> |
72 | <a-form-item label="创建日期"> | 72 | <a-form-item label="创建日期"> |
73 | <j-date :show-date="true" date-format="YYYY-MM-DD" placeholder="请选择开始时间" | 73 | <j-date :show-date="true" date-format="YYYY-MM-DD" placeholder="请选择开始时间" |
@@ -175,29 +175,29 @@ | @@ -175,29 +175,29 @@ | ||
175 | </template> | 175 | </template> |
176 | 176 | ||
177 | <span slot="action" slot-scope="text, record"> | 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 | <a><a-button type="default">回传</a-button></a> | 179 | <a><a-button type="default">回传</a-button></a> |
180 | </a-popconfirm> | 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 | <a><a-button type="primary">越库</a-button></a> | 182 | <a><a-button type="primary">越库</a-button></a> |
183 | <a-divider type="vertical"/> | 183 | <a-divider type="vertical"/> |
184 | </a-popconfirm> | 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 | <a-button type="primary">组盘</a-button> | 186 | <a-button type="primary">组盘</a-button> |
187 | </a> | 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 | <a class="ant-dropdown-link"><a-divider type="vertical"/>更多 <a-icon type="down"/></a> | 192 | <a class="ant-dropdown-link"><a-divider type="vertical"/>更多 <a-icon type="down"/></a> |
193 | <a-menu slot="overlay"> | 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 | <a @click="openProcess(record)" type="primary">审核进度</a> | 195 | <a @click="openProcess(record)" type="primary">审核进度</a> |
196 | </a-menu-item> | 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 | <a @click="handleEdit(record)">编辑</a> | 198 | <a @click="handleEdit(record)">编辑</a> |
199 | </a-menu-item> | 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 | <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)"> | 201 | <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)"> |
202 | <a>删除</a> | 202 | <a>删除</a> |
203 | </a-popconfirm> | 203 | </a-popconfirm> |
ant-design-vue-jeecg/src/views/system/shipment/ShipmentContainerHeaderList.vue
@@ -423,7 +423,7 @@ export default { | @@ -423,7 +423,7 @@ export default { | ||
423 | } | 423 | } |
424 | var ids = '' | 424 | var ids = '' |
425 | for (var a = 0; a < this.selectedRowKeys.length; a++) { | 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 | ids += this.selectedRowKeys[a] + ',' | 427 | ids += this.selectedRowKeys[a] + ',' |
428 | } | 428 | } |
429 | } | 429 | } |