|
@@ -1,115 +0,0 @@
|
|
-<!--客户管理-->
|
|
|
|
-<template>
|
|
|
|
- <div class="content">
|
|
|
|
- 客户管理编辑
|
|
|
|
- </div>
|
|
|
|
-</template>
|
|
|
|
-<script>
|
|
|
|
-// import xx
|
|
|
|
-// '@/model/houseSelfCollect/index'
|
|
|
|
-
|
|
|
|
-export default {
|
|
|
|
- components: {},
|
|
|
|
- watch: {},
|
|
|
|
- data() {
|
|
|
|
- return {
|
|
|
|
- searchKeyWord: '',
|
|
|
|
- customertList:{
|
|
|
|
- records:[
|
|
|
|
- {
|
|
|
|
- contractNo:"小王",
|
|
|
|
- goodsName:"17127741111",
|
|
|
|
- weight:"111111111",
|
|
|
|
- unitContractPrice:'312321312132321',
|
|
|
|
- packingMethod:"12213321231fsfssfd",
|
|
|
|
- status:"fsdfsdfsd"
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- currentPage: 1,
|
|
|
|
- pageSize: 10,
|
|
|
|
- deptBudgetTotal: 0,
|
|
|
|
- deptCircularPage: {},
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- methods: {
|
|
|
|
- find() {
|
|
|
|
- console.log('搜索')
|
|
|
|
- },
|
|
|
|
- getCustomer() {},
|
|
|
|
- createCustomer() {},
|
|
|
|
- handleSizeChange(val) {
|
|
|
|
- console.log(`每页 ${val} 条`)
|
|
|
|
- this.pageSize = val
|
|
|
|
- this.getList()
|
|
|
|
- },
|
|
|
|
- handleCurrentChange(val) {
|
|
|
|
- this.currentPage = val
|
|
|
|
- console.log(`当前页: ${val}`)
|
|
|
|
- this.getList()
|
|
|
|
- },
|
|
|
|
- handleExamine(row) {
|
|
|
|
- console.log(row)
|
|
|
|
- // this.$router.push({
|
|
|
|
- // name: 'purchaseContractExamine',
|
|
|
|
- // query: { id: row.id, status: row.status },
|
|
|
|
- // })
|
|
|
|
- },
|
|
|
|
- handleEdit(row) {
|
|
|
|
- console.log(row)
|
|
|
|
- this.$router.push({
|
|
|
|
- name: 'purchaseContractEdit',
|
|
|
|
- query: { id: row.id },
|
|
|
|
- })
|
|
|
|
- },
|
|
|
|
- handleDelete(row) {
|
|
|
|
- console.log(row)
|
|
|
|
- // var text = ''
|
|
|
|
- // if (row.deliverType == 1) {
|
|
|
|
- // text =
|
|
|
|
- // '删除该合同将同时永久删除合同对应的临时仓库相关数据,是否确定删除?'
|
|
|
|
- // } else {
|
|
|
|
- // text = '合同删除后不可恢复,是否继续删除?'
|
|
|
|
- // }
|
|
|
|
- // this.$confirm(text, '提示', {
|
|
|
|
- // confirmButtonText: '确定',
|
|
|
|
- // cancelButtonText: '取消',
|
|
|
|
- // type: 'warning',
|
|
|
|
- // })
|
|
|
|
- // .then(() => {
|
|
|
|
- // deletecontract({ id: row.id })
|
|
|
|
- // .toPromise()
|
|
|
|
- // .then((response) => {
|
|
|
|
- // this.$notify.success({
|
|
|
|
- // title: '成功',
|
|
|
|
- // message: '删除成功',
|
|
|
|
- // })
|
|
|
|
- // this.getList()
|
|
|
|
- // })
|
|
|
|
- // .catch((response) => {})
|
|
|
|
- // })
|
|
|
|
- // .catch(() => {
|
|
|
|
- // return false
|
|
|
|
- // })
|
|
|
|
- },
|
|
|
|
- getList(){}
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-</script>
|
|
|
|
-<style lang="scss" scoped>
|
|
|
|
-.content{
|
|
|
|
- padding: 20px;
|
|
|
|
-}
|
|
|
|
-.seach {
|
|
|
|
- display: flex;
|
|
|
|
- justify-content: space-between;
|
|
|
|
- align-items: center;
|
|
|
|
- .find {
|
|
|
|
- width: 32px;
|
|
|
|
- }
|
|
|
|
- .search-left {
|
|
|
|
- display: flex;
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-</style>
|
|
|