yangfeng
2023-10-25 48adbb5e7759f33efb0a97c8baf22aaebba7987a
src/views/sales/salesReturn/index.vue
@@ -141,7 +141,8 @@
        { label: "销售负责人", prop: "member_name" }
        // { label: "修改时间", prop: "modifyTime", isTime: true, min: 130 }
      ],
      showCol: ["销售退货单编号", "客户名称", "退货日期", "状态", "退入仓库", "应退款", "已退款", "销售负责人"]
      showCol: ["销售退货单编号", "客户名称", "退货日期", "状态", "退入仓库", "应退款", "已退款", "销售负责人"],
      products: []
    }
  },
  created() {
@@ -190,7 +191,7 @@
      let params = {}
      if (this.addConfig.id) {
        params = {
          sourceID: this.addConfig.id,
          sourceId: this.addConfig.id,
          sourceType: 1,
          page: this.pagerOptions.currPage,
          pageSize: this.pagerOptions.pageSize
@@ -243,14 +244,14 @@
    addBtnClick() {
      this.editConfig.visible = true
      this.editConfig.title = "新建"
      this.editConfig.infomation = { currency: "人民币" }
      this.editConfig.infomation = { currency: "人民币", salesDetailNumber: "", client_name: "" }
    },
    // 编辑
    handleClick(row) {
      console.log(row)
      this.editConfig.visible = true
      this.editConfig.title = "编辑"
      this.editConfig.infomation = { ...row, currency: "人民币" }
      this.editConfig.infomation = { ...row, currency: "人民币", salesDetailNumber: row.source.number }
    },
    // 删除
    delClick(rowID) {