н¨Îļþ¼Ð/WMS/src/extension/outbound/outboundOrder.js
@@ -87,11 +87,12 @@
      //(3)this.editFormFields.字段='xxx';
      //如果需要给下拉框设置默认值,请遍历this.editFormOptions找到字段配置对应data属性的key值
      //看不懂就把输出看:console.log(this.editFormOptions)
      this.editFormOptions.forEach((editForm) => {
      this.editFormOptions.forEach((editForm) => {//全部设置为只读
        editForm.forEach((x) => {
          x.readonly = true
        })
      })
      //当出库类型(out_type)为"20"(盘点单)且仓库编号(warehouse_no)不为"001"时:只显示"添加行"和"自定义按钮"这两个按钮,其他时候就隐藏
      this.detailOptions.buttons.forEach((btn) => {
        if (row.out_type == "20" && row.warehouse_no != "001") {
          btn.hidden = btn.name != '添加行' && btn.name != '自定义按钮'