Helius
2021-01-12 15e19113558e46aaf8f7263a66730fc01aadf603
zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/orderXq-form.html
@@ -139,7 +139,7 @@
                </el-tab-pane>
                <el-tab-pane label="业绩设置" name="second">
                    <el-row>
                        <el-button size="mini" type="primary">保存</el-button>
                        <el-button size="mini" type="primary" @click="saveAchieve">保存</el-button>
                    </el-row>
                    <el-table
                            :data="achieveItems"
@@ -336,6 +336,18 @@
            calOrderTotalFormatter(row, column) {
                return row.count * row.price;
            },
            saveAchieve() {
                let _this = this;
                AjaxProxy.requst({
                    app: _this,
                    data: _this.achieveItems,
                    contentType: 'application/json',
                    url: basePath + '/admin/achieve/add',
                    callback: function (data) {
                        _this.$message.success(data.info);
                    }
                });
            },
            shareAchieve(index, row) {
                var row2 = JSON.parse(JSON.stringify(row));
                this.achieveItems.push(row2);