|
|
|
@ -404,7 +404,7 @@ |
|
|
|
label="操作"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-link style="cursor: pointer" @click="inboundDetailModal(scope.row)">入库明细</el-link> |
|
|
|
<el-link v-if="(currentRow.orderStatus === '草稿' || currentRow.orderStatus === '编辑中') && !hasActualInboundQty" style="cursor: pointer; margin-left: 10px;" type="warning" @click="labelImportModal(scope.row)">标签导入</el-link> |
|
|
|
<el-link v-if="currentRow.orderStatus === '待入库'" style="cursor: pointer; margin-left: 10px;" type="warning" @click="labelImportModal(scope.row)">标签导入</el-link> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
@ -1540,7 +1540,7 @@ |
|
|
|
updateModal (row) { |
|
|
|
// 先更新当前行数据,确保使用的是点击行的数据 |
|
|
|
this.currentRow = JSON.parse(JSON.stringify(row)) |
|
|
|
|
|
|
|
|
|
|
|
if (this.currentRow.orderType === '采购入库' || this.currentRow.orderType === '销售退货') { |
|
|
|
this.$message.warning('该类型单据不能编辑!') |
|
|
|
return |
|
|
|
@ -1683,7 +1683,7 @@ |
|
|
|
closeModal (row) { |
|
|
|
// 先更新当前行数据 |
|
|
|
this.currentRow = JSON.parse(JSON.stringify(row)) |
|
|
|
|
|
|
|
|
|
|
|
if (this.currentRow.orderType === '采购入库' || this.currentRow.orderType === '销售退货') { |
|
|
|
this.$message.warning('该类型单据不能编辑!') |
|
|
|
return |
|
|
|
@ -1702,7 +1702,7 @@ |
|
|
|
issueModal (row) { |
|
|
|
// 先更新当前行数据 |
|
|
|
this.currentRow = JSON.parse(JSON.stringify(row)) |
|
|
|
|
|
|
|
|
|
|
|
if (this.currentRow.orderType === '采购入库' || this.currentRow.orderType === '销售退货') { |
|
|
|
this.$message.warning('该类型单据不能编辑!') |
|
|
|
return |
|
|
|
|