From e34c2e67208bd63e320a4504ce8cf40a83ba7cbb Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期五, 07 七月 2023 18:48:09 +0800 Subject: [PATCH] 销售模块剩余部分新建页面 --- src/views/sales/subOrder/AddSubOrderDialog.vue | 66 ++++++++++++++++++++++++++------- 1 files changed, 52 insertions(+), 14 deletions(-) diff --git a/src/views/sales/subOrder/AddSubOrderDialog.vue b/src/views/sales/subOrder/AddSubOrderDialog.vue index fd6c74e..4e198db 100644 --- a/src/views/sales/subOrder/AddSubOrderDialog.vue +++ b/src/views/sales/subOrder/AddSubOrderDialog.vue @@ -59,8 +59,21 @@ <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> @@ -187,6 +200,7 @@ { value: "7", label: "閿�鍞�荤洃" } ], discount: "2", + currencyOptions: [], discountOptions: [ { value: "1", label: "鐧惧垎姣旈檷浠�" }, { value: "2", label: "鐩存帴闄嶄环" } @@ -196,23 +210,47 @@ { 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 }, -- Gitblit v1.8.0