loulijun2021
2022-11-24 869922ac0aa2cc59062919e15e900ecb377be4be
src/views/scgl/scdd.vue
@@ -135,6 +135,7 @@
          :header-cell-style="this.$headerCellStyle"
          :cell-style="this.$cellStyle"
          @sort-change="sortChange"
          @row-click="rowClick"
        >
          <!--          <el-table-column-->
          <!--            type="selection"-->
@@ -149,8 +150,8 @@
                v-model="radioSelectedId"
                :label="row.id"
                style="color: transparent;padding-left: 10px;"
                @change.native="getCurrentRow(row.id)"
              />
              <!--              @change.native="getCurrentRow(row.id)"-->
            </template>
          </el-table-column>
          <el-table-column
@@ -587,6 +588,9 @@
    getCurrentRow(id) {
      this.radioSelectedId = id
    },
    rowClick(row) {
      this.radioSelectedId = row.id
    },
    // 订单关闭
    async orderClose() {
      if (this.radioSelectedId.length < 1) {
@@ -622,6 +626,10 @@
    },
    // 修改按钮
    edit(operation, row) {
      if (parseFloat(row.qty) === parseFloat(row.relse_qty)) {
        return this.$message.info('此工单已全部下达!')
      }
      this.operation = operation
      this.dialogVisible = true