wangxinhui
2025-05-13 ad4d32dc4e162ba7fb71cd3bc213f1d71c964551
´úÂë¹ÜÀí/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/proOutboundOrderDetail.vue
@@ -2,6 +2,7 @@
  <div>
    <vol-box
      v-model="dialogFormVisible"
      :on-model-close="closeCustomModel"
      :lazy="true"
      width="20%"
      :padding="15"
@@ -185,6 +186,7 @@
      formLabelWidth: '160px',
      formFields1: {
        LineCode: "",
        Grade: "0",
      },
      formRules1:[[
          {
@@ -201,7 +203,16 @@
            extra: {
              
            },
          }]],
          }],
          [
          {
            title: "是否优先",
            field: "Grade",
            data: [],
            required: false,
            type: "switch",
          },
        ]],
      form: {
        name: '',
        region: '',
@@ -472,17 +483,18 @@
      var keys = this.selection.map((item) => item.id); // èŽ·å–é€‰ä¸­è¡Œçš„id
      this.http
        .post("api/Task/OutProductTask?stationCode="+this.formFields1.LineCode, keys, "数据处理中")
        .post("api/Task/OutProductTask?stationCode="+this.formFields1.LineCode +"&grade="+this.formFields1.Grade, keys, "数据处理中")
        .then((x) => {
          if (!x.status) return this.$message.error(x.message);
          this.$message.success("操作成功");
          this.formFields1.LineCode="";
          this.formFields1.Grade="0";
          this.dialogFormVisible=false;
          this.$parent.refresh();
          this.showDetialBox = false;
          this.$emit("parentCall", ($vue) => {
            $vue.getData();
          });
          this.formFields1.LineCode="";
          this.dialogFormVisible=false;
          this.$parent.refresh();
        });
    },
    setCurrent(row) {
@@ -537,6 +549,12 @@
          }
        });
    },
    closeCustomModel() {
      this.formFields1.LineCode="";
      this.formFields1.Grade="0";
          this.dialogFormVisible=false;
          this.$parent.refresh();
    },
    getDictionary(row, column) {
      if (this.dictionaryList) {
        var item = this.dictionaryList.find((x) => x.dicNo == column.bindKey);