| | |
| | | </template> |
| | | </TableCommonView> |
| | | <!-- 新建/编辑 --> |
| | | <AddSalesLeadDialog v-if="editConfig.visible" :edit-sales-lead-config="editConfig" /> |
| | | <AddSalesReturnDialog v-if="editConfig.visible" :edit-common-config="editConfig" /> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | 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 AddSalesReturnDialog from "@/views/sales/salesReturn/AddSalesReturnDialog" |
| | | |
| | | export default { |
| | | name: "SalesReturn", |
| | |
| | | PublicFunctionBtnView, |
| | | PagerView, |
| | | TableCommonView, |
| | | AddSalesLeadDialog |
| | | AddSalesReturnDialog |
| | | }, |
| | | computed: { |
| | | searchCommonHeight() { |
| | |
| | | { value: "2", label: "中止" }, |
| | | { value: "3", label: "结束" }, |
| | | { value: "4", label: "已入库" }, |
| | | { value: "4", label: "未入库" } |
| | | { value: "5", label: "未入库" } |
| | | ], |
| | | searchOptions: [], |
| | | operatesList: [ |
| | |
| | | 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: "" |
| | | salesReturnOrderNo: "THD20230521-11", |
| | | selSourceOrder: "1", |
| | | returnWarehouse: "1", |
| | | salesHead: "5", |
| | | returnDate: "", |
| | | state: "", |
| | | returnReason: "" |
| | | } |
| | | }, |
| | | // 编辑 |
| | |
| | | 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: "", |
| | | salesReturnOrderNo: "THD20230521-11", |
| | | selSourceOrder: "", |
| | | returnWarehouse: "", |
| | | salesHead: "", |
| | | returnDate: "", |
| | | state: "", |
| | | returnReason: "" |
| | | } |
| | | } |
| | | } |