| | |
| | | :model="editConfig.infomation" |
| | | :rules="rules" |
| | | label-position="right" |
| | | label-width="308px" |
| | | label-width="150px" |
| | | size="mini" |
| | | > |
| | | <!-- 信息 --> |
| | |
| | | createContract, |
| | | updateSupplier, |
| | | getIndustryList, |
| | | getSupplierTypeList, |
| | | deleteContract |
| | | getSupplierTypeList |
| | | // previewContract |
| | | } from "@/api/supplierManage/supplier" |
| | | import EditDropdownDialog from "@/views/other/commonDialog/EditDropdownDialog" |
| | |
| | | computed: {}, |
| | | data() { |
| | | return { |
| | | dialogWidth: "80%", |
| | | dialogWidth: "60%", |
| | | editConfig: this.addCommonConfig, |
| | | rules: { |
| | | name: [{ required: true, message: "请输入", trigger: "blur" }], |
| | |
| | | }, |
| | | // 删除合同 |
| | | delContractClick() { |
| | | deleteContract({ |
| | | id: this.file_id |
| | | }).then((res) => { |
| | | console.log(res) |
| | | this.$message.success(res.msg) |
| | | this.file_id = 0 |
| | | }) |
| | | // deleteContract({ |
| | | // id: this.file_id |
| | | // }).then((res) => { |
| | | // console.log(res) |
| | | // this.$message.success(res.msg) |
| | | this.file_id = 0 |
| | | // }) |
| | | }, |
| | | // 预览合同 |
| | | async previewClick() { |