yangfeng
2023-07-07 e34c2e67208bd63e320a4504ce8cf40a83ba7cbb
src/views/sales/refundForm/index.vue
@@ -15,7 +15,7 @@
      </template>
    </TableCommonView>
    <!-- 新建/编辑 -->
    <AddSalesLeadDialog v-if="editConfig.visible" :edit-sales-lead-config="editConfig" />
    <AddRefundFormDialog v-if="editConfig.visible" :edit-common-config="editConfig" />
  </div>
</template>
@@ -24,7 +24,7 @@
import PublicFunctionBtnView from "@/components/makepager/PublicFunctionBtnView"
import PagerView from "@/components/makepager/PagerView"
import TableCommonView from "@/components/makepager/TableCommonView"
import AddSalesLeadDialog from "@/views/custom/salesLead/AddSalesLeadDialog"
import AddRefundFormDialog from "@/views/sales/refundForm/AddRefundFormDialog"
export default {
  name: "RefundForm",
@@ -34,7 +34,7 @@
    PublicFunctionBtnView,
    PagerView,
    TableCommonView,
    AddSalesLeadDialog
    AddRefundFormDialog
  },
  computed: {
    searchCommonHeight() {
@@ -111,20 +111,18 @@
      this.editConfig.title = "新建"
      this.editConfig.infomation = {
        customName: "",
        saleLeadNumber: "LEA50",
        contactName: "",
        contactDuties: "",
        phoneNumber: "",
        businessStatus: "新建",
        businessSource: "1",
        owner: "",
        position: "",
        map: "",
        country: "1",
        province: "1",
        city: "1",
        region: "1",
        address: ""
        refundOrderNo: "TKD20230521-12",
        selSourceOrder: "1",
        salesHead: "5",
        refundDate: "",
        paymentMethod: "1",
        account: "1",
        whetherInvoicing: "1",
        refundReason: "",
        approvalWorkflow: "",
        approvalSteps: "",
        approvalPerson: "",
        approvalOpinion: ""
      }
    },
    // 编辑
@@ -133,21 +131,19 @@
      this.editConfig.visible = true
      this.editConfig.title = "编辑"
      this.editConfig.infomation = {
        customName: row.customName,
        saleLeadNumber: row.saleLeadNumber,
        contactName: row.contactName,
        contactDuties: row.contactDuties,
        phoneNumber: row.phoneNumber,
        businessStatus: "新建",
        businessSource: row.businessSource,
        owner: row.owner,
        position: "",
        map: "",
        country: "1",
        province: "1",
        city: "1",
        region: "1",
        address: ""
        customName: "",
        refundOrderNo: "TKD20230521-12",
        selSourceOrder: "",
        salesHead: "",
        refundDate: "",
        paymentMethod: "",
        account: "",
        whetherInvoicing: "",
        refundReason: "",
        approvalWorkflow: "",
        approvalSteps: "",
        approvalPerson: "",
        approvalOpinion: ""
      }
    }
  }