南骏 池
2025-05-29 c5fa3af292602f5b2086b6aac86555a707515591
H5/Js/IPQC_SJ/Add.js
@@ -2,6 +2,31 @@
    el: '#app',
    data: function () {
        return {
            showZr: false,
            waterOptions: [
                { value: '常温水', text: '常温水' },
                { value: '0', text: '0℃' },
                { value: '5', text: '5℃' },
                { value: '15', text: '15℃' },
                { value: '35', text: '35℃' },
                { value: '55', text: '55℃' },
                { value: '75', text: '75℃' },
                { value: '100', text: '100℃' }
            ],
            flowOptions: [
                { value: '100', text: '100ml' },
                { value: '200', text: '200ml' },
                { value: '300', text: '300ml' },
                { value: '400', text: '400ml' },
                { value: '500', text: '500ml' },
                { value: '600', text: '600ml' },
                { value: '700', text: '700ml' },
                { value: '800', text: '800ml' },
                { value: '900', text: '900ml' },
                { value: '1000', text: '1000ml' }
            ],
            selectedWater: [],// 已选水温值
            selectedFlow: [],   // 已选流量值
            isLoading: false,
            userInfo: {
                "loginGuid": '',
@@ -85,6 +110,18 @@
                .replace(/(\..*)\./g, '$1')               // 2. 禁止多个小数点
                .replace(/^\./g, '');    
        },
        openZrPopup() {
            this.showZr = true;
        },
        closeZrPopup() {
            this.showZr = false;
            this.selectedWater = [];  // 关闭时清空选择
            this.selectedFlow = [];   // 关闭时清空选择
        },
        //针对没有上下限值的数据,只需选择合格或不合格.按钮触发
        handleQualified(isQualified) {
            var input = "";