loulijun2021
2023-10-27 2fd9231d7768c1955579430a70d3c34f7d9bfa96
src/views/produceManager/workOrder.vue
@@ -2368,6 +2368,7 @@
      this.form.paydate = ''
      this.form.creatuser = ''
      this.form.sourceorder = ''
      this.form.saleordercode = ''
      this.form.creatuser = ''
      this.form.ordertype = ''
      this.getMesOrderSearch()
@@ -2738,8 +2739,8 @@
      // const number = Math.random() * Math.random()
      // this.number = number === 0 ? (10 + Math.random()) : number
      // console.log(number)
      this.formApprove.saleOrderCode = saleOrderCode
      console.log(this.formApprove.saleOrderCode, 321)
      this.formApprove.saleOrderCode = this.formApprove.saleOrderCode !== '' ? this.formApprove.saleOrderCode : saleOrderCode
      const data2 = {
        username: getCookie('admin'),
        mesordercode: wo_code || this.dialogForm.mesordercode
@@ -3125,6 +3126,7 @@
    },
    //  行点击事件
    async rowClick(row, event, column) {
      this.formApprove.saleOrderCode = row.saleOrderCode
      this.radioSelected = row.wo_code ? row.wo_code : this.radioSelected
      const { data: res } = await SearchWorkStep({ wo_code: this.radioSelected, storg_code: this.$store.state.settings.orgType === 'W' ? (this.switchButton ? '' : getCookie('stu_torgcode')) : '' })
      this.tableDataDetail = res