wanshenmean
5 小时以前 fcf0f53de620c6f3c6218e59dbdeff01fda4eb3b
Code/WMS/WIDESEA_WMSClient/src/extension/stock/stockInfo.jsx
@@ -1,11 +1,10 @@
//此js文件是用来自定义扩展业务代码,可以扩展一些自定义页面或者重新配置生成的代码
import RobotSelect from './extend/RobotSelect.vue';
let extension = {
  components: {
    //查询界面扩展组件
    gridHeader: '',
    gridBody: RobotSelect,
    gridBody: '',
    gridFooter: '',
    //新建、编辑弹出框扩展组件
    modelHeader: "",
@@ -26,11 +25,7 @@
        render: (h, { row, column, index }) => {
          return (
            <div>
              <el-button
                type="primary"
                size="small"
                onClick={($e) => { this.handleBind(row); }}
              >绑定</el-button>
              <el-button
                type="primary"
                size="small"
@@ -42,22 +37,12 @@
                style="margin-left: 8px"
                onClick={($e) => { this.handleOutbound(row); }}
              >出站</el-button>
              <el-button
                type="success"
                size="small"
                style="margin-left: 8px"
                onClick={($e) => { this.handleUnbind(row); }}
              >解绑</el-button>
            </div>
          );
        },
      });
    },
    // 托盘组盘操作
    handleBind(row) {
      this.$refs.gridBody.open('bind', row);
    },
    // 托盘进站操作
    async handleInbound(row) {
@@ -129,10 +114,6 @@
      }
    },
    // 托盘拆盘操作
    handleUnbind(row) {
      this.$refs.gridBody.open('unbind', row);
    },
    onInited() {
      // 框架初始化配置后