Browse Source

2026-04-29

【关闭】按钮的校验先去掉
master
fengyuan_yang 2 months ago
parent
commit
23e7bd0283
  1. 16
      src/views/modules/qc/inboundNotification.vue
  2. 8
      src/views/modules/qc/outboundNotification.vue

16
src/views/modules/qc/inboundNotification.vue

@ -673,6 +673,14 @@
show-overflow-tooltip show-overflow-tooltip
label="备注"> label="备注">
</el-table-column> </el-table-column>
<el-table-column
prop="jobRemark"
header-align="center"
align="left"
min-width="150"
show-overflow-tooltip
label="任务备注">
</el-table-column>
</el-table> </el-table>
<!-- 分页--> <!-- 分页-->
<el-pagination <el-pagination
@ -1686,10 +1694,10 @@
// //
this.currentRow = JSON.parse(JSON.stringify(row)) this.currentRow = JSON.parse(JSON.stringify(row))
if (this.currentRow.orderType === '采购入库' || this.currentRow.orderType === '销售退货') {
this.$message.warning('该类型单据不能编辑!')
return
}
// if (this.currentRow.orderType === '' || this.currentRow.orderType === '退') {
// this.$message.warning('')
// return
// }
closeInboundNotification(row).then(({data}) => { closeInboundNotification(row).then(({data}) => {
if (data && data.code === 0) { if (data && data.code === 0) {
this.getDataList() this.getDataList()

8
src/views/modules/qc/outboundNotification.vue

@ -1741,10 +1741,10 @@
// //
this.currentRow = JSON.parse(JSON.stringify(row)) this.currentRow = JSON.parse(JSON.stringify(row))
if (this.currentRow.orderType === '销售出库') {
this.$message.warning('销售出库单据不能编辑!')
return
}
// if (this.currentRow.orderType === '') {
// this.$message.warning('')
// return
// }
closeOutboundNotification(row).then(({data}) => { closeOutboundNotification(row).then(({data}) => {
if (data && data.code === 0) { if (data && data.code === 0) {
this.getDataList() this.getDataList()

Loading…
Cancel
Save