Commit 75336c9a69fa3c4baa31054cb40b540d0fc52f6e
1 parent
0281517b
没有上游订单号的单据 不用回传
Showing
2 changed files
with
2 additions
and
2 deletions
ant-design-vue-jeecg/src/views/system/receipt/ReceiptHeaderList.vue
... | ... | @@ -175,7 +175,7 @@ |
175 | 175 | </template> |
176 | 176 | |
177 | 177 | <span slot="action" slot-scope="text, record"> |
178 | - <a-popconfirm v-has="'receiptHeader:back'" v-show="record.lastStatus == 800" title="确定回传吗?" @confirm="() => hanleBack(record)"> | |
178 | + <a-popconfirm v-has="'receiptHeader:back'" v-show="record.lastStatus == 800 && record.referCode != null" title="确定回传吗?" @confirm="() => hanleBack(record)"> | |
179 | 179 | <a><a-button type="default">回传</a-button></a> |
180 | 180 | </a-popconfirm> |
181 | 181 | <a-popconfirm v-has="'receiptHeader:crossDocking'" v-show="record.lastStatus == 0" title="确定越库吗?" @confirm="() => hanleCross(record)"> |
... | ... |
ant-design-vue-jeecg/src/views/system/shipment/ShipmentHeaderList.vue
... | ... | @@ -214,7 +214,7 @@ |
214 | 214 | <span slot="action" slot-scope="text, record"> |
215 | 215 | <a v-if="record.firstStatus == '0' && flowOff == '1'" @click="createAudit(record)"><a-button type="primary">提交审核</a-button><a-divider type="vertical"/></a> |
216 | 216 | <a v-if="record.nextAuditor == username && flowOff == '1' " @click="audit(record)"><a-button type="primary">审核</a-button><a-divider type="vertical"/></a> |
217 | - <a-popconfirm v-has="'shipmentHeader:back'" v-if="record.lastStatus == 800" title="确定回传吗?" @confirm="() => hanleBack(record)"> | |
217 | + <a-popconfirm v-has="'shipmentHeader:back'" v-if="record.lastStatus == 800 && record.referCode != null" title="确定回传吗?" @confirm="() => hanleBack(record)"> | |
218 | 218 | <a><a-button type="default">回传</a-button></a> |
219 | 219 | </a-popconfirm> |
220 | 220 | <a v-if="((record.firstStatus >= 15 && record.firstStatus != '20' && record.lastStatus < 800)) |
... | ... |