| | |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="附件" prop=""> |
| | | <template slot="label"> |
| | | <div style="display: flex; float: right"> |
| | | <div style="font-size: 16px"> |
| | | <i class="el-icon-warning-outline" title="最多上传20个附件,最大限制5MB"></i> |
| | | </div> |
| | | <span style="margin-left: 5px">附件</span> |
| | | </div> |
| | | </template> |
| | | <div class="annex-view"> |
| | | <div @click="addAnnexClick">添加</div> |
| | | <div @click="addAnnexClick"> |
| | | <div style="display: flex; float: right"> |
| | | <div style="font-size: 16px"><i class="el-icon-paperclip"></i></div> |
| | | <span>添加</span> |
| | | </div> |
| | | </div> |
| | | <div class="setFormat" @click="setFormatClick">设置允许上传的文件格式</div> |
| | | </div> |
| | | </el-form-item> |
| | |
| | | { value: "7", label: "销售总监" } |
| | | ], |
| | | discount: "2", |
| | | currencyOptions: [], |
| | | discountOptions: [ |
| | | { value: "1", label: "百分比降价" }, |
| | | { value: "2", label: "直接降价" } |
| | |
| | | { value: "1", label: "增加" }, |
| | | { value: "2", label: "减少" } |
| | | ], // 调整 |
| | | productTableList: { |
| | | tableData: [ |
| | | { |
| | | id: "1", |
| | | productNumber: "123", |
| | | productName: "", |
| | | startDate: "", |
| | | endDate: "2016-05-02", |
| | | number: "", |
| | | address: "" |
| | | } |
| | | ] |
| | | productTableList: {}, |
| | | showSummary: { |
| | | show: true, |
| | | total: false, |
| | | sumProp: ["other1", "other7"], |
| | | mergeNumber: 7 |
| | | } |
| | | } |
| | | }, |
| | | created() {}, |
| | | created() { |
| | | this.setTableForm() |
| | | }, |
| | | methods: { |
| | | setTableForm() { |
| | | this.productTableList = { |
| | | tableData: [ |
| | | { |
| | | id: "1", |
| | | productName: "上海有限公司", |
| | | other0: "ZDYBD03-1", |
| | | other1: "12", |
| | | other2: "", |
| | | other6: "3.00", |
| | | other7: "2.00" |
| | | } |
| | | ], |
| | | tableColumn: [ |
| | | { label: "#", prop: "id", width: 40 }, |
| | | { label: "产品名称", prop: "productName", input: true, isRequird: true }, |
| | | { label: "产品编号", prop: "other0" }, |
| | | { label: "计量单位", prop: "other2" }, |
| | | { label: "规格编号", prop: "other3" }, |
| | | { label: "源单类型", prop: "other4" }, |
| | | { label: "合同信息", prop: "other5" }, |
| | | { label: "数量", prop: "other1", input: true, isRequird: true }, |
| | | { label: "含税单价", prop: "other6", input: true }, |
| | | { label: "价税合计", prop: "other7", input: true }, |
| | | { label: "描述", prop: "other8" } |
| | | ] |
| | | } |
| | | }, |
| | | handleClose() { |
| | | this.editConfig.visible = false |
| | | }, |