jiazx0107@163.com
2023-11-04 43ce77a85d8297a53dc25430fff10ead57296167
igds-web/src/main/resources/static/admin/inout/in-check.js
@@ -362,7 +362,8 @@
            title: '备注说明',
            align: 'center',
            edit: 'text'
        }]]
        }]],
        limit: this.curCheckItems.length //显示的数量
    });
    $("thead tr").css({
@@ -490,6 +491,11 @@
//保存提交
function submit() {
    console.log(curCheckData)
    if (!curCheckData.sampleUser) {
        layer.alert("请先扦样!!");
        return;
    }
    if (curCheckData.checkStatus == "NONE" || curCheckData.checkStatus == "NONE2") {
        layer.alert("请确认化验结果!!");
        return;
@@ -500,6 +506,10 @@
    }
    if (!curCheckData.foodLevel) {
        layer.alert("请确认粮食等级!!");
        return;
    }
    if (!curCheckData.foodType) {
        layer.alert("请确认粮食性质!!");
        return;
    }
    if (!curCheckData.price) {
@@ -617,7 +627,7 @@
        }, {
            field: 'registerTime',
            title: '登记时间',
            width: '15%',
            width: '13%',
            style: 'font-weight: bold'
        }, {
            field: 'sampleStatus',
@@ -642,12 +652,26 @@
        }, {
            field: 'sampleTime',
            title: '扦样时间',
            width: '15%',
            width: '13%',
            style: 'font-weight: bold'
        }, {
            field: 'foodType',
            title: '粮食性质',
            width: '9%',
            templet: function (item) {
                var result = item.foodType;
                $.each(listFoodType, function (index, data) {
                    if (item.foodType == data.code) {
                        result = data.name;
                        return true;
                    }
                });
                return result == null ? "" : result;
            }
        }, {
            field: 'foodVariety',
            title: '粮食品种',
            width: '11%',
            width: '9%',
            templet: function (item) {
                var result = item.foodVariety;
                $.each(listFoodVariety, function (index, data) {
@@ -661,7 +685,7 @@
        }, {
            field: 'depotId',
            title: '装卸仓库',
            width: '11%',
            width: '10%',
            templet: function (item) {
                var result = item.depotId;
                $.each(listDepot, function (index, data) {