dengjunjie
2024-11-20 0d2f7d905975c1f5d39f70689760b070cef31349
项目代码/WMS/WIDESEA_WMSClient/src/extension/inbound/inboundOrder.js
@@ -81,14 +81,14 @@
      if (this.currentAction == 'Add') {
        this.detailOptions.columns.forEach(x => {
          if (x.field == 'materielCode' || x.field == 'batchNo' || x.field == 'orderQuantity') {
          if (x.field == 'materielCode' || x.field == 'batchNo' || x.field == 'orderQuantity'||x.field=='locationCode') {
            x.readonly = false
          }
        });
      } else {
        this.detailOptions.columns.forEach(x => {
          if (x.field == 'materielCode' || x.field == 'batchNo' || x.field == 'orderQuantity') {
            x.readonly = row.orderStatus > 0
          if (x.field == 'materielCode' || x.field == 'batchNo' || x.field == 'orderQuantity'||x.field=='locationCode') {
            x.readonly =true// row.orderStatus > 0
          }
        });
      }