1
huangxiaoqiang
15 小时以前 af5847927931d3f491d7be5e0178cff3c37ac6f9
ÏîÄ¿´úÂë/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/Dt_BillGroupStock.jsx
@@ -26,28 +26,28 @@
  methods: {
    //下面这些方法可以保留也可以删除
    onInit() {
      this.detailOptions.buttons.unshift({
        name: '其他出库', //按钮名称
        icon: 'el-icon-document', //按钮图标vue2版本见iview文档icon,vue3版本见element ui文档icon(注意不是element puls文档)
        type: 'primary',
        onClick: function () {
          this.$confirm('是否其他出库', "警告你正在使用其他出库", {
            confirmButtonText: '确定',
            cancelButtonText: '取消',
            type: 'warning',
            center: true
          }).then(() => {
            this.http.post(`/api/Task/OtherOutBoundTaskAsync`, row, "正在完成任务").then((res) => {
              //示例:调用后台接口
              if (res.status) {
                this.$Message.success('任务完成')
              } else {
                this.$Message.error(res.message) //错误提示
              }
            })
          })
        }
      });
      // this.detailOptions.buttons.unshift({
      //   name: '其他出库', //按钮名称
      //   icon: 'el-icon-document', //按钮图标vue2版本见iview文档icon,vue3版本见element ui文档icon(注意不是element puls文档)
      //   type: 'primary',
      //   onClick: function () {
      //     this.$confirm('是否其他出库', "警告你正在使用其他出库", {
      //       confirmButtonText: '确定',
      //       cancelButtonText: '取消',
      //       type: 'warning',
      //       center: true
      //     }).then(() => {
      //       this.http.post(`/api/Task/OtherOutBoundTaskAsync`, row, "正在完成任务").then((res) => {
      //         //示例:调用后台接口
      //         if (res.status) {
      //           this.$Message.success('任务完成')
      //         } else {
      //           this.$Message.error(res.message) //错误提示
      //         }
      //       })
      //     })
      //   }
      // });
      this.boxButtons.push({
        name: '其他出库', //按钮名称
        icon: 'el-icon-document', //按钮图标:组件示例->图标
@@ -84,7 +84,7 @@
            type: 'warning',
            center: true
          }).then(() => {
            this.http.post(`/api/Task/OtherOutBoundTaskAsync`, this.$refs.detail.rowData, "正在完成任务").then((res) => {
            this.http.post(`/api/Task/HandAllocateOutBoundTaskAsync`, this.$refs.detail.rowData, "正在完成任务").then((res) => {
              if (res.status) {
                this.$Message.success(res.message)
              } else {