Commit 78dc49e6 by 朱继来

调整字段

parent 27cc125c
......@@ -238,8 +238,8 @@ class InquiryItemsModel extends Model
"update_time"=>time() ,
];
if (isset($b['no_quote']) && $b['no_quote'] == 'on') { // 无需报价,询价状态变为已确定
$insertArr['no_quote'] = 1;
if (isset($b['is_quote']) && $b['is_quote'] == 'on') { // 无需报价,询价状态变为已确定
$insertArr['is_quote'] = -1;
$insertArr['status'] = 5;
}
......@@ -334,10 +334,10 @@ class InquiryItemsModel extends Model
// 无需报价没勾选,则默认为待报价
if (isset($b['is_quote']) && $b['is_quote'] == 'on') {
$updateArr['no_quote'] = 1;
$updateArr['is_quote'] = -1;
$updateArr['status'] = 5;
} else {
$updateArr['no_quote'] = -1;
$updateArr['is_quote'] = 1;
$updateArr['status'] = 1;
}
......
......@@ -186,7 +186,7 @@ class InquiryModel extends Model
}
}
$v['no_quote_val'] = $v['no_quote'] == 1 ? '是' : '否';
$v['is_quote_val'] = $v['is_quote'] == 1 ? '是' : '否';
}
$data = $list['data'];
if (@$input["is_export"] == 1) { #如果是导出
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment