haoxuan
2024-04-24 47e51078a55706950c21b54ca49e64b7444cdb60
src/views/sales/salesDetails/index.vue
@@ -37,7 +37,7 @@
                    <el-button @click.stop="shipmentsClick(scope.row)" type="text" size="small">发货</el-button>
                  </template>
                  <template v-if="scope.row.status === 3">
                    <el-button @click.stop="confirmClick(scope.row)" type="text" size="small">确认完成</el-button>
                    <el-button @click.stop="confirmClick(scope.row)" type="text" size="small">发货完成</el-button>
                  </template>
                </template>
              </el-table-column>
@@ -236,8 +236,8 @@
      { label: "完成数量", prop: "finishAmount" },
      { label: "工单编号", prop: "workOrderId" },
      { label: "工单状态", prop: "workOrderStatus" },
      { label: "计划开始时间", prop: "startTime" },
      { label: "计划结束时间", prop: "endTime" }
      { label: "计划开始时间", prop: "startTime",min:130 },
      { label: "计划结束时间", prop: "endTime",min:130 }
    ]
    // 采购信息
    const purchaseColumn = [
@@ -682,6 +682,7 @@
          })
        this.loading = false
      }
      this.$forceUpdate()
    },
    getListValue(res) {
      if (this.TabsIndex == 0) {
@@ -785,7 +786,7 @@
      this.editShipmentsConfig.infomation.saleDetailID = row.id
      this.editShipmentsConfig.infomation.deliverType = row.deliverType ? row.deliverType : 1
      this.editShipmentsConfig.infomation.saleDetailNumber = row.number
      this.editShipmentsConfig.infomation.projectId = row.projectId
      // this.editShipmentsConfig.infomation.projectId = row.projectId
    },
    // 确认发货完成
    async confirmClick(row) {