Fixiaobai
2023-11-15 791f4f0f88eb534b1fc9a875fa71d94bd62e696b
src/views/plan/customerorder/index.vue
@@ -445,7 +445,7 @@
          {
            minWidth: '100',
            width: '100px',
            prop: 'customerOrderNo',
            prop: 'contractNo',
            label: '合同编号',
            sort: true,
            isTrue: true,
@@ -841,7 +841,7 @@
    }
    if (this.permissions.customerorder_submit_oa) {
      this.table.toolbar.push({
        text: '提交审核',
        text: '提交OA审核',
        type: 'primary',
        fun: this.auditCustomerOrder,
        disabled: false,
@@ -1113,13 +1113,13 @@
    },
    // 作废
    cancelHandle(row) {
      this.$confirm('是否确认作废销售订单号为' + row.customerOrderNo + '提示', {
      this.$confirm('是否确认作废销售订单号为' + row.id + '提示', {
        confirmButtonText: '确定',
        cancelButtonText: '取消',
        closeOnClickModal: false,
        type: 'warning'
      }).then(() => {
        dropByContractNo(row.customerOrderNo).then((res) => {
        dropByContractNo({id:row.id}).then((res) => {
          if (res.data.code === 0) {
            this.$message.success('作废成功')
            this.getData()