xiaoyong931011
2022-05-16 924a90bc1c4601bc51ceb0875858a093a97cde67
zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/pbxq-form.html
@@ -79,6 +79,11 @@
                                width="400">
                        </el-table-column>
                        <el-table-column
                                prop="projUse.source"
                                label="来源"
                                width="400">
                        </el-table-column>
                        <el-table-column
                                :formatter="hkPrice"
                                label="划扣金额"
                                width="100">
@@ -110,6 +115,16 @@
                </el-tab-pane>
            </el-tabs>
        </el-main>
        <el-footer style="margin: 15px; padding: 20px 50px;">
            <el-row type="flex">
                <el-col  :span="5">
                    <h1>客户签名:</h1>
                </el-col>
                <el-col  :span="10">
                    <img v-if="imageUrlTitle" :src="imageUrlTitle" style="max-width: 200px;">
                </el-col>
            </el-row>
        </el-footer>
    </el-container>
</div>
<script type="text/javascript" th:src="@{/js/plugin/LodopFuncs.js}"></script>
@@ -123,6 +138,7 @@
        el : "#app",
        data : {
            serviceOrderInfo : "",
            imageUrlTitle : "",
            tabName : "serviceOrder",
            tableData : [],
            bedList : [],
@@ -131,6 +147,7 @@
        created :function () {
            this.bedList = /*[[${cw}]]*/
            this.serviceOrderInfo = /*[[${obj}]]*/
                this.imageUrlTitle = this.serviceOrderInfo.signPic;
            this.tableData = this.serviceOrderInfo.serviceItems;
            this.plsList = /*[[${yls}]]*/
            console.log(this.plsList);
@@ -165,18 +182,16 @@
                    title: "打印服务单",
                    area: ['250px', '550px'],
                    maxmin: true,
                    content: [basePath + '/admin/redirect/hive/beautySalon/print-service?id=' + id]
                    content: [basePath + '/admin/projService/printOrder?id=' + id]
                });
            },
            toBack() {
                MTools.closeForm();
            },
            serviceTime(row, column) {
                console.log(column);
                console.log(row);
                // if (!column.bedState) {
                //     return "-";
                // }
                  if (!row.beginTime) {
                     return "-";
                 }
                var startTime = this.dateFormat(row.beginTime);
                var endTime = this.dateFormat(row.endTime);
                return startTime + " - " + endTime;
@@ -196,7 +211,7 @@
            title: "打印服务单",
            area: ['250px', '550px'],
            maxmin: true,
            content: [basePath + '/admin/redirect/hive/beautySalon/print-service?id=' + id]
            content: [basePath + '/admin/projService/printOrder?id=' + id]
        });
    }