1
huangxiaoqiang
8 小时以前 a1f7a7a68d23f7b9de7c4237bf167fa4808fb20d
ÏîÄ¿´úÂë/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/Dt_BillGroupStock.jsx
@@ -173,37 +173,37 @@
        render: (h, { row, column, index }) => {
          return (
            <div>
              <el-button onClick={($e) => { }} type="primary">
              <el-button
                onClick={($e) => {
                  ;(row.remark = '其他出库'), this.linkData(row)
                }}
                type="primary"
              >
                å…¶ä»–出库
              </el-button>
              <el-button onClick={($e) => {
               }} type="success" >
              <el-button
                onClick={($e) => {
                  ;(row.remark = '调拨出库'), this.linkData(row)
                }}
                type="success"
              >
                è°ƒæ‹¨å‡ºåº“
              </el-button>
              <el-button onClick={($e) => {
                    // this.http
                    //   .post(`/api/Task/OutBoundTaskAsync?palletCode=${row.palletCode}`, {}, '正在生成任务')
                    //   .then((res) => {
                    //     //示例:调用后台接口
                    //     if (res.status) {
                    //       this.$Message.success(row.palletCode + '出库成功')
                    //       this.refresh()
                    //     } else {
                    //       this.$Message.error(res.message) //错误提示
                    //       this.refresh()
                    //     }
                    //   })
                    this.$refs.gridBody.open(row.palletCode);
                }} type="warning">
              <el-button
                onClick={($e) => {
                  this.$refs.gridBody.open(row.palletCode)
                }}
                type="warning"
              >
                ç›˜ç‚¹å‡ºåº“
              </el-button>
            </div>
          )
        }
      })
      // this.columns.push({
      //   title: "操作",
      //   field: "操作",
@@ -236,7 +236,11 @@
          btn.hidden = true
        }
      })
      this.boxButtons.forEach((btn) => {
        if (btn.name == '保 å­˜') {
          btn.hidden = true
        }
      })
      this.columns.forEach((column) => {
        if (column.field == 'floor') {
          const floorMap = {
@@ -302,6 +306,7 @@
    modelOpenAfter(row) {
      const isAdd = this.currentAction == 'Add' //判断是否为新建操作
      //隐藏明细表按钮
      // boxButtons
      this.detailOptions.buttons.forEach((btn) => {
        if (btn.name == '添加行') {
          btn.hidden = true
@@ -309,6 +314,7 @@
          //btn.readonly=true;
        }
      })
      const isDel = this.currentAction == 'Add' //判断是否为新建操作
      //隐藏明细表按钮
      this.detailOptions.buttons.forEach((btn) => {